choco.kernel.solver.search.restart
Class LubyRestartStrategy
java.lang.Object
choco.kernel.solver.search.restart.AbstractRestartStrategy
choco.kernel.solver.search.restart.LubyRestartStrategy
- All Implemented Interfaces:
- IPretty, UniversalRestartStrategy
public final class LubyRestartStrategy
- extends AbstractRestartStrategy
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LubyRestartStrategy
public LubyRestartStrategy(int scaleFactor,
int geometricalFactor)
setGeometricalFactor
public final void setGeometricalFactor(double geometricalFactor)
- Specified by:
setGeometricalFactor
in interface UniversalRestartStrategy
- Overrides:
setGeometricalFactor
in class AbstractRestartStrategy
getLasVegasCoef
protected final int getLasVegasCoef(int i)
getNextCutoff
public int getNextCutoff(int nbRestarts)
Copyright © 2012. All Rights Reserved.