|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.sat4j.tools.TextOutputTracing<T>
public class TextOutputTracing<T>
Debugging Search Listener allowing to follow the search in a textual way.
Constructor Summary | |
---|---|
TextOutputTracing(Map<Integer,T> mapping)
|
Method Summary | |
---|---|
void |
adding(int p)
adding forced variable (conflict driven assignment) |
void |
assuming(int p)
decision variable |
void |
backjump(int backjumpLevel)
The solver is asked to backjump to a given decision level. |
void |
backtracking(int p)
backtrack on a decision variable |
void |
beginLoop()
starts a propagation |
void |
conflictFound(IConstr confl,
int dlevel,
int trailLevel)
a conflict has been found. |
void |
conflictFound(int p)
a conflict has been found while propagating values. |
void |
delete(int[] clause)
delete a clause |
void |
end(Lbool result)
End the search. |
void |
learn(IConstr clause)
learning a new clause |
void |
propagating(int p,
IConstr reason)
Unit propagation |
void |
restarting()
The solver restarts the search. |
void |
solutionFound()
a solution is found. |
void |
start()
Start the search. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TextOutputTracing(Map<Integer,T> mapping)
Method Detail |
---|
public void assuming(int p)
SearchListener
assuming
in interface SearchListener
public void propagating(int p, IConstr reason)
SearchListener
propagating
in interface SearchListener
reason
- TODOpublic void backtracking(int p)
SearchListener
backtracking
in interface SearchListener
public void adding(int p)
SearchListener
adding
in interface SearchListener
public void learn(IConstr clause)
SearchListener
learn
in interface SearchListener
public void delete(int[] clause)
SearchListener
delete
in interface SearchListener
public void conflictFound(IConstr confl, int dlevel, int trailLevel)
SearchListener
conflictFound
in interface SearchListener
confl
- TODOdlevel
- TODOtrailLevel
- TODOpublic void conflictFound(int p)
SearchListener
conflictFound
in interface SearchListener
p
- the conflicting value.public void solutionFound()
SearchListener
solutionFound
in interface SearchListener
public void beginLoop()
SearchListener
beginLoop
in interface SearchListener
public void start()
SearchListener
start
in interface SearchListener
public void end(Lbool result)
SearchListener
end
in interface SearchListener
result
- the result of the search.public void restarting()
SearchListener
restarting
in interface SearchListener
public void backjump(int backjumpLevel)
SearchListener
backjump
in interface SearchListener
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |