| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sat4j.minisat.restarts.LubyRestarts
public final class LubyRestarts
Luby series
| Constructor Summary | |
|---|---|
LubyRestarts()
 | 
|
LubyRestarts(int factor)
 | 
|
| Method Summary | |
|---|---|
 int | 
getFactor()
 | 
 void | 
init(SearchParams params)
Hook method called just before the search starts.  | 
static int | 
luby(int i)
 | 
 long | 
nextRestartNumberOfConflict()
Ask for the next restart in number of conflicts.  | 
 void | 
onRestart()
Hook method called when a restart occurs (once the solver has backtracked to top decision level).  | 
 void | 
setFactor(int factor)
 | 
 String | 
toString()
 | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Constructor Detail | 
|---|
public LubyRestarts()
public LubyRestarts(int factor)
factor - the factor used for the Luby series.| Method Detail | 
|---|
public static final int luby(int i)
public final void setFactor(int factor)
public int getFactor()
public void init(SearchParams params)
RestartStrategy
init in interface RestartStrategyparams - the user's search parameters.public long nextRestartNumberOfConflict()
RestartStrategy
nextRestartNumberOfConflict in interface RestartStrategypublic void onRestart()
RestartStrategy
onRestart in interface RestartStrategypublic String toString()
toString in class Object
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||