Interface IUniverseVariable


public interface IUniverseVariable
The IUniverseVariable represents a variable in a constraint problem.
  • Method Details

    • getName

      String getName()
      Gives the name of this variable.
      Returns:
      The name of this variable.
    • getId

      int getId()
      Gives the (internal) identifier of this variable.
      Returns:
      The (internal) identifier of this variable.
    • getDomain

      IUniverseDomain getDomain()
      Gives the domain of this variable.
      Returns:
      The domain of this variable.
    • getConstraints

      List<IUniverseConstraint> getConstraints()
      Gives the constraints containing this variable.
      Returns:
      The constraints of this variable.