public class ConflictDepthTracing extends SearchListenerAdapter<ISolverService>
Constructor and Description |
---|
ConflictDepthTracing(IVisualizationTool conflictDepthVisu,
IVisualizationTool conflictDepthRestartVisu,
IVisualizationTool conflictDepthCleanVisu) |
Modifier and Type | Method and Description |
---|---|
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.
|
adding, assuming, backjump, backtracking, beginLoop, conflictFound, delete, learn, learnUnit, propagating, solutionFound
public ConflictDepthTracing(IVisualizationTool conflictDepthVisu, IVisualizationTool conflictDepthRestartVisu, IVisualizationTool conflictDepthCleanVisu)
public void conflictFound(IConstr confl, int dlevel, int trailLevel)
SearchListener
conflictFound
in interface SearchListener<ISolverService>
conflictFound
in class SearchListenerAdapter<ISolverService>
confl
- TODOdlevel
- TODOtrailLevel
- TODOpublic void end(Lbool result)
SearchListener
end
in interface SearchListener<ISolverService>
end
in class SearchListenerAdapter<ISolverService>
result
- the result of the search.public void start()
SearchListener
start
in interface SearchListener<ISolverService>
start
in class SearchListenerAdapter<ISolverService>
public void restarting()
SearchListener
restarting
in interface SearchListener<ISolverService>
restarting
in class SearchListenerAdapter<ISolverService>
public void init(ISolverService solverService)
SearchListener
init
in interface SearchListener<ISolverService>
init
in class SearchListenerAdapter<ISolverService>
solverService
- a way to safely control the solver.public void cleaning()
SearchListener
cleaning
in interface SearchListener<ISolverService>
cleaning
in class SearchListenerAdapter<ISolverService>
Copyright © 2013 Centre de Recherche en Informatique de Lens (CRIL). All Rights Reserved.