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.
|
LargeRelation |
duplicate() |
int[] |
getTuple(int support) |
int[][] |
getTupleTable() |
boolean |
isConsistent(int[] tuple)
Test whether a tuple is consistent
|
valid
protected final int[][] tuplesIndexes
protected static final Comparator<int[]> TCOMP
public int[] getTuple(int support)
public int[][] getTupleTable()
public boolean checkTuple(int[] tuple)
LargeRelation
checkTuple
in class LargeRelation
public boolean isConsistent(int[] tuple)
LargeRelation
isConsistent
in class LargeRelation
public LargeRelation duplicate()
duplicate
in class LargeRelation
Copyright © 2015. All rights reserved.