org.sat4j.csp
Class EnumeratedDomain
java.lang.Object
org.sat4j.csp.EnumeratedDomain
- All Implemented Interfaces:
- Domain
public class EnumeratedDomain
- extends Object
- implements Domain
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EnumeratedDomain
public EnumeratedDomain(int[] values)
get
public int get(int i)
- Specified by:
get
in interface Domain
size
public int size()
- Specified by:
size
in interface Domain
iterator
public IteratorInt iterator()
- Specified by:
iterator
in interface Domain
pos
public int pos(int value)
- Specified by:
pos
in interface Domain
Copyright © 2010 Centre de Recherche en Informatique de Lens (CRIL). All Rights Reserved.