public interface IVariableMonitor<V extends Variable> extends ICause
Propagator
because it is not scheduled in the propagation engine.
However, it assumes that this
executes fast and low complexity operations.
Otherwise, it should be a propagator.
This also differs from IView
because it is not a specific variable, and can connect
two or more variables together. For instance, this can be used for logging issue.
Modifier and Type | Method and Description |
---|---|
void |
onUpdate(V var,
IEventType evt)
Operations to execute after updating the domain variable
|
void onUpdate(V var, IEventType evt) throws ContradictionException
var
- variable concernedevt
- modification eventContradictionException
Copyright © 2018. All rights reserved.