Interface IVariableMonitor<V extends Variable>

  • All Superinterfaces:
    All Known Implementing Classes:

    public interface IVariableMonitor<V extends Variable>
    extends ICause
    A monitor for Variable, to observe variable modification (for integer variable : value removals, bounds modification or instantiation) and do something right after the modification.

    This differs from 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.

    Charles Prud'homme