Package org.jacop.constraints.table
Class ReversibleSparseBitSet
- java.lang.Object
-
- org.jacop.constraints.table.ReversibleSparseBitSet
-
public class ReversibleSparseBitSet extends java.lang.ObjectReversibleSparseBitSet implements the main data structure for table constraint.- Version:
- 4.8
-
-
Constructor Summary
Constructors Constructor Description ReversibleSparseBitSet()ReversibleSparseBitSet(Store store, IntVar[] x, int[][] tuple)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) voidaddToMask(long[] m)(package private) voidclearMask()(package private) voidinit(Store store, long[] w)(package private) intintersectIndex(long[] m)(package private) voidintersectWithMask()(package private) booleanisEmpty()(package private) intnoWords()(package private) voidreverseMask()private long[]setBit(int n, long[] a)java.lang.StringtoString()private booleanvalidTuple(IntVar[] x, int[] t)
-
-
-
Method Detail
-
init
void init(Store store, long[] w)
-
setBit
private long[] setBit(int n, long[] a)
-
validTuple
private boolean validTuple(IntVar[] x, int[] t)
-
isEmpty
boolean isEmpty()
-
clearMask
void clearMask()
-
reverseMask
void reverseMask()
-
addToMask
void addToMask(long[] m)
-
intersectWithMask
void intersectWithMask()
-
intersectIndex
int intersectIndex(long[] m)
-
noWords
int noWords()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-