choco.kernel.solver.search.restart
Class NoRestartStrategy
java.lang.Object
choco.kernel.solver.search.restart.NoRestartStrategy
- All Implemented Interfaces:
- IPretty, UniversalRestartStrategy
public final class NoRestartStrategy
- extends Object
- implements UniversalRestartStrategy
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NO_RESTART_NAME
public static final String NO_RESTART_NAME
- See Also:
- Constant Field Values
SINGLOTON
public static final NoRestartStrategy SINGLOTON
getGeometricalFactor
public double getGeometricalFactor()
- Specified by:
getGeometricalFactor
in interface UniversalRestartStrategy
getName
public String getName()
- Specified by:
getName
in interface UniversalRestartStrategy
getScaleFactor
public int getScaleFactor()
- Specified by:
getScaleFactor
in interface UniversalRestartStrategy
setGeometricalFactor
public void setGeometricalFactor(double geometricalFactor)
- Specified by:
setGeometricalFactor
in interface UniversalRestartStrategy
setScaleFactor
public void setScaleFactor(int scaleFactor)
- Specified by:
setScaleFactor
in interface UniversalRestartStrategy
pretty
public String pretty()
- Description copied from interface:
IPretty
- pretty printing of the object. This String is not constant and may depend on the context.
- Specified by:
pretty
in interface IPretty
- Returns:
- a readable string representation of the object
getNextCutoff
public int getNextCutoff(int nbRestarts)
- Specified by:
getNextCutoff
in interface UniversalRestartStrategy
Copyright © 2012. All Rights Reserved.