public interface ChangeableConflictSet extends ConflictSet
Modifier and Type | Method and Description |
---|---|
boolean |
addActivation(Activation<?> activation)
This method is called by the Agenda when an activation changes state and becomes or is still enabled.
|
boolean |
removeActivation(Activation<?> activation)
This method is called by the Agenda when an activation changes state and becomes or is still disabled.
|
getConflictingActivations, getConflictResolver, getNextActivation, getNextActivations
boolean addActivation(Activation<?> activation)
add
may be called
multiple times on an Activation already in the conflict set!activation
- the activation that should be added to the conflict setboolean removeActivation(Activation<?> activation)
remove
may be called
on Activations that are not in the conflict set!activation
- the activation that should be removed from the conflict set