public class TuplesList extends LargeRelation
| Modifier and Type | Field and Description |
|---|---|
protected static Comparator<int[]> |
TCOMP |
protected int[][] |
tuplesIndexes |
| Constructor and Description |
|---|
TuplesList(Tuples tuples,
IntVar[] vars) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkTuple(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.
|
Tuples |
convert()
Convert this relation into 'Tuples'
|
int[] |
getTuple(int support) |
int[][] |
getTupleTable() |
boolean |
isConsistent(int[] tuple)
Test whether a tuple is consistent
|
validprotected final int[][] tuplesIndexes
protected static final Comparator<int[]> TCOMP
public int[] getTuple(int support)
public int[][] getTupleTable()
public boolean checkTuple(int[] tuple)
LargeRelationcheckTuple in class LargeRelationpublic boolean isConsistent(int[] tuple)
LargeRelationisConsistent in class LargeRelationpublic Tuples convert()
LargeRelationconvert in class LargeRelationCopyright © 2018. All rights reserved.