Class TuplesLargeTable
- java.lang.Object
-
- org.chocosolver.solver.constraints.extension.nary.LargeRelation
-
- org.chocosolver.solver.constraints.extension.nary.TuplesLargeTable
-
public class TuplesLargeTable extends LargeRelation
- Since:
- 08/06/11
- Author:
- Charles Prud'homme
-
-
Constructor Summary
Constructors Constructor Description TuplesLargeTable(Tuples tuples, IntVar[] vars)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancheckTuple(int[] tuple)return true if tuple is feasible according to the definition of the relation. e.g if the relation is defined with infeasible tuples, it returns true if tuple is one of them.Tuplesconvert()Convert this relation into 'Tuples'booleanisConsistent(int[] tuple)Test whether a tuple is consistent-
Methods inherited from class org.chocosolver.solver.constraints.extension.nary.LargeRelation
valid
-
-
-
-
Method Detail
-
checkTuple
public boolean checkTuple(int[] tuple)
Description copied from class:LargeRelationreturn true if tuple is feasible according to the definition of the relation. e.g if the relation is defined with infeasible tuples, it returns true if tuple is one of them.- Specified by:
checkTuplein classLargeRelation
-
isConsistent
public boolean isConsistent(int[] tuple)
Description copied from class:LargeRelationTest whether a tuple is consistent- Specified by:
isConsistentin classLargeRelation- Returns:
- true if tuple is consistent.
-
convert
public Tuples convert()
Description copied from class:LargeRelationConvert this relation into 'Tuples'- Specified by:
convertin classLargeRelation- Returns:
-
-