Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
com.google.ortools.constraintsolver.IntTupleSet Class Reference

Public Member Functions

synchronized void delete ()
 
 IntTupleSet (int arity)
 
 IntTupleSet (IntTupleSet set)
 
void clear ()
 
int insert (int[] tuple)
 
int insert (long[] tuple)
 
int insert2 (long v0, long v1)
 
int insert3 (long v0, long v1, long v2)
 
int insert4 (long v0, long v1, long v2, long v3)
 
void insertAll (long[][] tuples)
 
void insertAll (int[][] tuples)
 
boolean contains (int[] tuple)
 
boolean contains (long[] tuple)
 
int numTuples ()
 
long value (int tuple_index, int pos_in_tuple)
 
int arity ()
 
int numDifferentValuesInColumn (int col)
 
IntTupleSet sortedByColumn (int col)
 
IntTupleSet sortedLexicographically ()
 

Protected Member Functions

 IntTupleSet (long cPtr, boolean cMemoryOwn)
 
void finalize ()
 

Static Protected Member Functions

static long getCPtr (IntTupleSet obj)
 
static long swigRelease (IntTupleSet obj)
 

Protected Attributes

transient boolean swigCMemOwn
 

Detailed Description

Definition at line 11 of file IntTupleSet.java.

Constructor & Destructor Documentation

◆ IntTupleSet() [1/3]

com.google.ortools.constraintsolver.IntTupleSet.IntTupleSet ( long cPtr,
boolean cMemoryOwn )
protected

Definition at line 15 of file IntTupleSet.java.

◆ IntTupleSet() [2/3]

com.google.ortools.constraintsolver.IntTupleSet.IntTupleSet ( int arity)

Definition at line 51 of file IntTupleSet.java.

◆ IntTupleSet() [3/3]

com.google.ortools.constraintsolver.IntTupleSet.IntTupleSet ( IntTupleSet set)

Definition at line 55 of file IntTupleSet.java.

Member Function Documentation

◆ arity()

int com.google.ortools.constraintsolver.IntTupleSet.arity ( )

Definition at line 107 of file IntTupleSet.java.

◆ clear()

void com.google.ortools.constraintsolver.IntTupleSet.clear ( )

Definition at line 59 of file IntTupleSet.java.

◆ contains() [1/2]

boolean com.google.ortools.constraintsolver.IntTupleSet.contains ( int[] tuple)

Definition at line 91 of file IntTupleSet.java.

◆ contains() [2/2]

boolean com.google.ortools.constraintsolver.IntTupleSet.contains ( long[] tuple)

Definition at line 95 of file IntTupleSet.java.

◆ delete()

synchronized void com.google.ortools.constraintsolver.IntTupleSet.delete ( )

Definition at line 41 of file IntTupleSet.java.

◆ finalize()

void com.google.ortools.constraintsolver.IntTupleSet.finalize ( )
protected

Definition at line 37 of file IntTupleSet.java.

◆ getCPtr()

static long com.google.ortools.constraintsolver.IntTupleSet.getCPtr ( IntTupleSet obj)
staticprotected

Definition at line 20 of file IntTupleSet.java.

◆ insert() [1/2]

int com.google.ortools.constraintsolver.IntTupleSet.insert ( int[] tuple)

Definition at line 63 of file IntTupleSet.java.

◆ insert() [2/2]

int com.google.ortools.constraintsolver.IntTupleSet.insert ( long[] tuple)

Definition at line 67 of file IntTupleSet.java.

◆ insert2()

int com.google.ortools.constraintsolver.IntTupleSet.insert2 ( long v0,
long v1 )

Definition at line 71 of file IntTupleSet.java.

◆ insert3()

int com.google.ortools.constraintsolver.IntTupleSet.insert3 ( long v0,
long v1,
long v2 )

Definition at line 75 of file IntTupleSet.java.

◆ insert4()

int com.google.ortools.constraintsolver.IntTupleSet.insert4 ( long v0,
long v1,
long v2,
long v3 )

Definition at line 79 of file IntTupleSet.java.

◆ insertAll() [1/2]

void com.google.ortools.constraintsolver.IntTupleSet.insertAll ( int tuples[][])

Definition at line 87 of file IntTupleSet.java.

◆ insertAll() [2/2]

void com.google.ortools.constraintsolver.IntTupleSet.insertAll ( long tuples[][])

Definition at line 83 of file IntTupleSet.java.

◆ numDifferentValuesInColumn()

int com.google.ortools.constraintsolver.IntTupleSet.numDifferentValuesInColumn ( int col)

Definition at line 111 of file IntTupleSet.java.

◆ numTuples()

int com.google.ortools.constraintsolver.IntTupleSet.numTuples ( )

Definition at line 99 of file IntTupleSet.java.

◆ sortedByColumn()

IntTupleSet com.google.ortools.constraintsolver.IntTupleSet.sortedByColumn ( int col)

Definition at line 115 of file IntTupleSet.java.

◆ sortedLexicographically()

IntTupleSet com.google.ortools.constraintsolver.IntTupleSet.sortedLexicographically ( )

Definition at line 119 of file IntTupleSet.java.

◆ swigRelease()

static long com.google.ortools.constraintsolver.IntTupleSet.swigRelease ( IntTupleSet obj)
staticprotected

Definition at line 24 of file IntTupleSet.java.

◆ value()

long com.google.ortools.constraintsolver.IntTupleSet.value ( int tuple_index,
int pos_in_tuple )

Definition at line 103 of file IntTupleSet.java.

Member Data Documentation

◆ swigCMemOwn

transient boolean com.google.ortools.constraintsolver.IntTupleSet.swigCMemOwn
protected

Definition at line 13 of file IntTupleSet.java.


The documentation for this class was generated from the following file: