Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## ifs.model
Interface VariableListener

    public interface VariableListener

IFS variable listener.

Version:
  1.0
Author:
  Tomáš Müller
See Also:
  `Variable`

Method Summary
`void` | `valueRemoved(long iteration, Value value)` Called by the variable when a value is permanently removed from its domain
`void` | `variableAssigned(long iteration, Value value)` Called by the variable when a value is assigned to it
`void` | `variableUnassigned(long iteration, Value value)` Called by the variable when a value is unassigned from it

Method Detail

### variableAssigned

    void variableAssigned(long iteration,
                          Value value)

  Called by the variable when a value is assigned to it

  Parameters:
    `iteration` - current iteration
    `value` - assigned to the variable

### variableUnassigned

    void variableUnassigned(long iteration,
                            Value value)

  Called by the variable when a value is unassigned from it

  Parameters:
    `iteration` - current iteration
    `value` - unassigned from the variable

### valueRemoved

    void valueRemoved(long iteration,
                      Value value)

  Called by the variable when a value is permanently removed from its domain

  Parameters:
    `iteration` - current iteration
    `value` - removed from the variable's domain

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2005 Tomáš Müller