|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectchoco.AbstractEntity
choco.prop.AbstractPropagationEngine
public abstract class AbstractPropagationEngine
An abstract class for all implementations of propagation engines.
Field Summary | |
---|---|
protected Entity |
contradictionCause
Storing the cause of the last contradiction. |
protected static java.util.logging.Logger |
logger
Reference to an object for logging trace statements related to propagation events (using the java.util.logging package) |
Fields inherited from class choco.AbstractEntity |
---|
hook, problem |
Constructor Summary | |
---|---|
AbstractPropagationEngine(AbstractProblem problem)
|
Method Summary | |
---|---|
Entity |
getContradictionCause()
Retrieving the cause of the last contradiction. |
EventQueue |
getNextActiveEventQueue()
Gets the next queue from which a var will be propagated. |
void |
setContradictionCause(Entity cause)
Store the cause of the last contradiction. |
void |
setNoContradictionCause()
Erase the cause of the last contradiction. |
Methods inherited from class choco.AbstractEntity |
---|
getProblem, pretty |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface choco.prop.PropagationEngine |
---|
checkCleanState, flushEvents, getVarEventQueue, postAddKer, postConstAwake, postInstInt, postInstSet, postRemEnv, postRemoveVal, postUpdateInf, postUpdateInf, postUpdateSup, postUpdateSup, raiseContradiction, raiseContradiction, registerEvent |
Methods inherited from interface choco.Entity |
---|
getProblem, pretty |
Field Detail |
---|
protected Entity contradictionCause
protected static java.util.logging.Logger logger
Constructor Detail |
---|
public AbstractPropagationEngine(AbstractProblem problem)
Method Detail |
---|
public void setNoContradictionCause()
setNoContradictionCause
in interface PropagationEngine
public void setContradictionCause(Entity cause)
setContradictionCause
in interface PropagationEngine
public Entity getContradictionCause()
getContradictionCause
in interface PropagationEngine
public EventQueue getNextActiveEventQueue()
getNextActiveEventQueue
in interface PropagationEngine
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |