Interface IVariableMonitor<V extends Variable>

  • All Superinterfaces:
    ICause
    All Known Implementing Classes:
    ActivityBased

    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.


    Since:
    14/11/11
    Author:
    Charles Prud'homme