Class IntTupleSet

java.lang.Object
com.google.ortools.constraintsolver.IntTupleSet

public class IntTupleSet
extends java.lang.Object
  • Field Details

    • swigCMemOwn

      protected transient boolean swigCMemOwn
  • Constructor Details

    • IntTupleSet

      protected IntTupleSet​(long cPtr, boolean cMemoryOwn)
    • IntTupleSet

      public IntTupleSet​(int arity)
    • IntTupleSet

      public IntTupleSet​(IntTupleSet set)
  • Method Details

    • getCPtr

      protected static long getCPtr​(IntTupleSet obj)
    • finalize

      protected void finalize()
      Overrides:
      finalize in class java.lang.Object
    • delete

      public void delete()
    • clear

      public void clear()
    • insert

      public int insert​(int[] tuple)
    • insert

      public int insert​(long[] tuple)
    • insert2

      public int insert2​(long v0, long v1)
    • insert3

      public int insert3​(long v0, long v1, long v2)
    • insert4

      public int insert4​(long v0, long v1, long v2, long v3)
    • insertAll

      public void insertAll​(long[][] tuples)
    • insertAll

      public void insertAll​(int[][] tuples)
    • contains

      public boolean contains​(int[] tuple)
    • contains

      public boolean contains​(long[] tuple)
    • numTuples

      public int numTuples()
    • value

      public long value​(int tuple_index, int pos_in_tuple)
    • arity

      public int arity()
    • numDifferentValuesInColumn

      public int numDifferentValuesInColumn​(int col)
    • sortedByColumn

      public IntTupleSet sortedByColumn​(int col)
    • sortedLexicographically

      public IntTupleSet sortedLexicographically()