Instantiates the domain of
this
to
value
. The instruction comes from
propagator
.
- If the domain of
this
is already instantiated to value
, nothing is done and the return value is false
, - If the domain of
this
is already instantiated to another value, then a ContradictionException
is thrown, - Otherwise, the domain of
this
is restricted to value
and the observers are notified and the return value is true
.
@param value instantiation value (int)
@param cause instantiation releaser
@return true if the instantiation is done, false otherwise
@throws ContradictionException if the domain become empty due to this action