org.sat4j.minisat.restarts
Class ArminRestarts

java.lang.Object
  extended by org.sat4j.minisat.restarts.ArminRestarts
All Implemented Interfaces:
Serializable, RestartStrategy

public final class ArminRestarts
extends Object
implements RestartStrategy

Rapid restart strategy presented by Armin Biere during it's SAT 07 invited talk.

Author:
leberre
See Also:
Serialized Form

Constructor Summary
ArminRestarts()
           
 
Method Summary
 void init(SearchParams theParams)
          Hook method called just before the search starts.
 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).
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ArminRestarts

public ArminRestarts()
Method Detail

init

public void init(SearchParams theParams)
Description copied from interface: RestartStrategy
Hook method called just before the search starts.

Specified by:
init in interface RestartStrategy
Parameters:
theParams - the user's search parameters.

nextRestartNumberOfConflict

public long nextRestartNumberOfConflict()
Description copied from interface: RestartStrategy
Ask for the next restart in number of conflicts.

Specified by:
nextRestartNumberOfConflict in interface RestartStrategy
Returns:
the delay in conflicts before the next restart.

onRestart

public void onRestart()
Description copied from interface: RestartStrategy
Hook method called when a restart occurs (once the solver has backtracked to top decision level).

Specified by:
onRestart in interface RestartStrategy

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2010 Centre de Recherche en Informatique de Lens (CRIL). All Rights Reserved.