|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface RestartStrategy
Abstraction allowing to choose various restarts strategies.
| Method Summary | |
|---|---|
SearchParams |
getSearchParams()
|
void |
init(SearchParams params)
Hook method called just before the search starts. |
void |
newLearnedClause(Constr learned,
int trailLevel)
|
long |
nextRestartNumberOfConflict()
Deprecated. |
void |
onBackjumpToRootLevel()
Called when the solver backjumps to the root level. |
void |
onRestart()
Hook method called when a restart occurs (once the solver has backtracked to top decision level). |
boolean |
shouldRestart()
Ask the strategy if the solver should restart. |
| Methods inherited from interface org.sat4j.minisat.core.ConflictTimer |
|---|
newConflict, reset |
| Method Detail |
|---|
void init(SearchParams params)
params - the user's search parameters.@Deprecated long nextRestartNumberOfConflict()
boolean shouldRestart()
void onRestart()
void onBackjumpToRootLevel()
SearchParams getSearchParams()
void newLearnedClause(Constr learned,
int trailLevel)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||