choco.kernel.solver.search.restart
Class NoRestartStrategy

java.lang.Object
  extended by choco.kernel.solver.search.restart.NoRestartStrategy
All Implemented Interfaces:
IPretty, UniversalRestartStrategy

public final class NoRestartStrategy
extends Object
implements UniversalRestartStrategy


Field Summary
static String NO_RESTART_NAME
           
static NoRestartStrategy SINGLOTON
           
 
Method Summary
 double getGeometricalFactor()
           
 String getName()
           
 int getNextCutoff(int nbRestarts)
           
 int getScaleFactor()
           
 String pretty()
          pretty printing of the object.
 void setGeometricalFactor(double geometricalFactor)
           
 void setScaleFactor(int scaleFactor)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NO_RESTART_NAME

public static final String NO_RESTART_NAME
See Also:
Constant Field Values

SINGLOTON

public static final NoRestartStrategy SINGLOTON
Method Detail

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.