|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectchoco.prop.VarEvent
choco.set.var.SetVarEvent
public class SetVarEvent
Created by IntelliJ IDEA. User: Hadrien Date: 6 juin 2004 Time: 14:21:13 To change this template use File | Settings | File Templates.
Field Summary | |
---|---|
static int |
ADDKER
|
static int |
BOUNDSEVENT
|
static int |
ENVEVENT
|
static int |
INSTSET
|
static int |
INSTSETEVENT
|
static int |
KEREVENT
|
static int |
REMENV
Constants for the eventType bitvector: index of bit for events on SetVars |
Fields inherited from class choco.prop.VarEvent |
---|
cause, EMPTYEVENT, eventType, logger, modifiedVar, NOCAUSE, NOEVENT |
Fields inherited from interface choco.prop.PropagationEvent |
---|
POPPING |
Constructor Summary | |
---|---|
SetVarEvent(AbstractVar var)
|
Method Summary | |
---|---|
void |
clear()
Clears the var: delegates to the basic events. |
protected void |
freeze()
freezes the state of the "delta domain": the set of values that are considered for removal from the domain. |
IntIterator |
getEnvEventIterator()
|
SetVar |
getIntVar()
|
IntIterator |
getKerEventIterator()
|
boolean |
getReleased()
|
void |
propagateEnveloppeEvents(int evtCause)
Propagates a set of value removals |
boolean |
propagateEvent()
Propagates the event through calls to the propagation engine. |
void |
propagateInstEvent(int evtCause)
Propagates the instantiation event |
void |
propagateKernelEvents(int evtCause)
Propagates a set of value removals |
protected boolean |
release()
|
java.lang.String |
toString()
useful for debugging |
Methods inherited from class choco.prop.VarEvent |
---|
getCause, getModifiedObject, getModifiedVar, getPriority, getProblem, isActive, isEnqueued, recordEventTypeAndCause |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int REMENV
public static final int ADDKER
public static final int INSTSET
public static final int ENVEVENT
public static final int KEREVENT
public static final int BOUNDSEVENT
public static final int INSTSETEVENT
Constructor Detail |
---|
public SetVarEvent(AbstractVar var)
Method Detail |
---|
public SetVar getIntVar()
public java.lang.String toString()
toString
in class java.lang.Object
public void clear()
clear
in interface PropagationEvent
clear
in class VarEvent
protected void freeze()
VarEvent
freeze
in class VarEvent
protected boolean release()
release
in class VarEvent
public boolean getReleased()
public IntIterator getEnvEventIterator()
public IntIterator getKerEventIterator()
public boolean propagateEvent() throws ContradictionException
propagateEvent
in interface PropagationEvent
propagateEvent
in class VarEvent
ContradictionException
public void propagateInstEvent(int evtCause) throws ContradictionException
ContradictionException
public void propagateKernelEvents(int evtCause) throws ContradictionException
ContradictionException
public void propagateEnveloppeEvents(int evtCause) throws ContradictionException
ContradictionException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |