aima.search.csp
Class Domain

java.lang.Object
  extended by aima.search.csp.Domain

public class Domain
extends java.lang.Object


Constructor Summary
Domain(java.util.List<java.lang.String> variables)
           
 
Method Summary
 void add(java.lang.String variable, java.lang.Object value)
           
 void addToDomain(java.lang.String variable, java.util.List values)
           
 java.util.List<java.lang.Object> getDomainOf(java.lang.String variable)
           
 void remove(java.lang.String variable, java.lang.Object value)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Domain

public Domain(java.util.List<java.lang.String> variables)
Method Detail

getDomainOf

public java.util.List<java.lang.Object> getDomainOf(java.lang.String variable)

add

public void add(java.lang.String variable,
                java.lang.Object value)

addToDomain

public void addToDomain(java.lang.String variable,
                        java.util.List values)

remove

public void remove(java.lang.String variable,
                   java.lang.Object value)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object