# Uses of Class
edu.uky.ai.csp.kr.Variable

Packages that use Variable
Package | Description
--- | ---
edu.uky.ai.csp.kr | Contains the knowledge representation for constraint satisfaction problems that use simple binary equals and not equals constraints.

- ## Uses of Variable in edu.uky.ai.csp.kr

  Fields in edu.uky.ai.csp.kr declared as Variable
  Modifier and Type | Field | Description
  --- | --- | ---
  `Variable` | Constraint.`left` | The left hand side of the constraint
  `Variable` | Constraint.`right` | The right hand side of the constraint
  `Variable` | Domain.`variable` | The variable in question

  Fields in edu.uky.ai.csp.kr with type parameters of type Variable
  Modifier and Type | Field | Description
  --- | --- | ---
  `java.lang.Iterable<Variable>` | Problem.`variables` | A set of all the variables defined for this problem

  Methods in edu.uky.ai.csp.kr with parameters of type Variable
  Modifier and Type | Method | Description
  --- | --- | ---
  `void` | Problem.`addVariable​(Variable variable, Domain domain)` | Defines a new variable, along with all the possible values it can be assigned, for this problem.
  `Domain` | Problem.`getDomain​(Variable variable)` | Returns the set of possible values that a given variable can be assigned in the initial state of this problem.
  `Domain` | Solution.`getDomain​(Variable variable)` | Returns the domain (i.e.

  Constructors in edu.uky.ai.csp.kr with parameters of type Variable
  Constructor | Description
  --- | ---
  `Constraint​(Variable left, Variable right)` | Constructs a new constraint object.
  `Domain​(Variable variable, java.lang.Object[] values)` | Constructs a new domain object with a given set of possible values.
  `EqualsConstraint​(Variable left, Variable right)` | Constructs a new equals constraint object.
  `NotEqualsConstraint​(Variable left, Variable right)` | Constructs a new not equals constraint object.