org.sat4j.tools
Class DecisionLevelTracing
java.lang.Object
org.sat4j.tools.SearchListenerAdapter<ISolverService>
org.sat4j.tools.DecisionLevelTracing
- All Implemented Interfaces:
- Serializable, SearchListener<ISolverService>
public class DecisionLevelTracing
- extends SearchListenerAdapter<ISolverService>
- Since:
- 2.2
- See Also:
- Serialized Form
Method Summary |
void |
backjump(int backjumpLevel)
The solver is asked to backjump to a given decision level. |
void |
conflictFound(IConstr confl,
int dlevel,
int trailLevel)
a conflict has been found. |
void |
end(Lbool result)
End the search. |
void |
start()
Start the search. |
Methods inherited from class org.sat4j.tools.SearchListenerAdapter |
adding, assuming, backtracking, beginLoop, cleaning, conflictFound, delete, init, learn, propagating, restarting, solutionFound |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DecisionLevelTracing
public DecisionLevelTracing(IVisualizationTool visuTool)
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
- TODOdlevel
- TODOtrailLevel
- 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>
backjump
public void backjump(int backjumpLevel)
- Description copied from interface:
SearchListener
- The solver is asked to backjump to a given decision level.
- Specified by:
backjump
in interface SearchListener<ISolverService>
- Overrides:
backjump
in class SearchListenerAdapter<ISolverService>
Copyright © 2012 Centre de Recherche en Informatique de Lens (CRIL). All Rights Reserved.