|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectomnics.event.SolverAdapter
omnics.expl.AbstractExplainer
omnics.expl.DefaultExplainer
public class DefaultExplainer
| Field Summary |
|---|
| Fields inherited from class omnics.expl.AbstractExplainer |
|---|
solver |
| Constructor Summary | |
|---|---|
DefaultExplainer()
|
|
| Method Summary | |
|---|---|
java.lang.String |
create()
Creates the explanation. |
Explanation |
getExplanation()
Returns the current explanation node which coresponds to the current solution. |
void |
nogoodFound(FilterEvent event)
Called when a nogood is found. |
void |
setExplanation(Explanation explanation)
Sets the current explanation node. |
void |
solutionExtended(SolverEvent event)
Starts a new explanation for the current solution. |
void |
solutionRestored(SolverEvent event)
Restores the explanation corresponding to the current solution. |
void |
solverStarted(SolverEvent event)
Starts a new explanation. |
void |
valueRemoved(EliminationEvent event)
A value was removed. |
| Methods inherited from class omnics.expl.AbstractExplainer |
|---|
explain, explain, explain, getSolver, setSolver |
| Methods inherited from class omnics.event.SolverAdapter |
|---|
problemFiltered, solutionFound, solverFinished, solverPaused, solverResumed |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultExplainer()
| Method Detail |
|---|
public Explanation getExplanation()
public void setExplanation(Explanation explanation)
public void solverStarted(SolverEvent event)
solverStarted in interface SolverListenersolverStarted in class SolverAdapterpublic void solutionExtended(SolverEvent event)
solutionExtended in interface SolverListenersolutionExtended in class SolverAdapterpublic void solutionRestored(SolverEvent event)
solutionRestored in interface SolverListenersolutionRestored in class SolverAdapterpublic void valueRemoved(EliminationEvent event)
valueRemoved in interface SolverListenervalueRemoved in class SolverAdapterpublic void nogoodFound(FilterEvent event)
SolverListener
nogoodFound in interface SolverListenernogoodFound in class SolverAdapterpublic java.lang.String create()
Explainer
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||