agg.util.csp
Interface InstantiationHook

All Known Implementing Classes:
Constraint_Attribute, Constraint_InheritAttribute

public interface InstantiationHook

An interface for the realization of side effects which are to take place at instantiation/uninstantiation time of a CSP variable.

See Also:
Variable

Method Summary
 void instantiate(Variable var)
          This method is called whenever the variable I'm hooked to gets instantiated.
 void uninstantiate(Variable var)
          This method is called whenever the variable I'm hooked to gets uninstantiated, or when it is set to a new value.
 

Method Detail

instantiate

void instantiate(Variable var)
This method is called whenever the variable I'm hooked to gets instantiated. It is called after the new value has been set, with the variable as an argument.


uninstantiate

void uninstantiate(Variable var)
This method is called whenever the variable I'm hooked to gets uninstantiated, or when it is set to a new value. It is called before the value is re- or unset, with the variable as an argument.