org.sat4j.tools
Class ConflictDepthTracing

java.lang.Object
  extended by org.sat4j.tools.SearchListenerAdapter<ISolverService>
      extended by org.sat4j.tools.ConflictDepthTracing
All Implemented Interfaces:
Serializable, SearchListener<ISolverService>

public class ConflictDepthTracing
extends SearchListenerAdapter<ISolverService>

Since:
2.2
See Also:
Serialized Form

Constructor Summary
ConflictDepthTracing(IVisualizationTool conflictDepthVisu, IVisualizationTool conflictDepthRestartVisu, IVisualizationTool conflictDepthCleanVisu)
           
 
Method Summary
 void cleaning()
          The solver is going to delete some learned clauses.
 void conflictFound(IConstr confl, int dlevel, int trailLevel)
          a conflict has been found.
 void end(Lbool result)
          End the search.
 void init(ISolverService solverService)
          Provide access to the solver's controllable interface.
 void restarting()
          The solver restarts the search.
 void start()
          Start the search.
 
Methods inherited from class org.sat4j.tools.SearchListenerAdapter
adding, assuming, backjump, backtracking, beginLoop, conflictFound, delete, learn, propagating, solutionFound
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConflictDepthTracing

public ConflictDepthTracing(IVisualizationTool conflictDepthVisu,
                            IVisualizationTool conflictDepthRestartVisu,
                            IVisualizationTool conflictDepthCleanVisu)
Method Detail

conflictFound

public void conflictFound(IConstr confl,
                          int dlevel,
                          int trailLevel)
Description copied from interface: SearchListener
a conflict has been found.

Specified by:
conflictFound in interface SearchListener<ISolverService>
Overrides:
conflictFound in class SearchListenerAdapter<ISolverService>
Parameters:
confl - TODO
dlevel - TODO
trailLevel - TODO

end

public void end(Lbool result)
Description copied from interface: SearchListener
End the search.

Specified by:
end in interface SearchListener<ISolverService>
Overrides:
end in class SearchListenerAdapter<ISolverService>
Parameters:
result - the result of the search.

start

public void start()
Description copied from interface: SearchListener
Start the search.

Specified by:
start in interface SearchListener<ISolverService>
Overrides:
start in class SearchListenerAdapter<ISolverService>

restarting

public void restarting()
Description copied from interface: SearchListener
The solver restarts the search.

Specified by:
restarting in interface SearchListener<ISolverService>
Overrides:
restarting in class SearchListenerAdapter<ISolverService>

init

public void init(ISolverService solverService)
Description copied from interface: SearchListener
Provide access to the solver's controllable interface.

Specified by:
init in interface SearchListener<ISolverService>
Overrides:
init in class SearchListenerAdapter<ISolverService>
Parameters:
solverService - a way to safely control the solver.

cleaning

public void cleaning()
Description copied from interface: SearchListener
The solver is going to delete some learned clauses.

Specified by:
cleaning in interface SearchListener<ISolverService>
Overrides:
cleaning in class SearchListenerAdapter<ISolverService>


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