DotNet Reference
.Net Reference
IntTupleSet.cs
Go to the documentation of this file.
28 return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
47 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
52 public IntTupleSet(int arity) : this(operations_research_constraint_solverPINVOKE.new_IntTupleSet__SWIG_0(arity), true) {
55 public IntTupleSet(IntTupleSet set) : this(operations_research_constraint_solverPINVOKE.new_IntTupleSet__SWIG_1(IntTupleSet.getCPtr(set)), true) {
56 if (operations_research_constraint_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_constraint_solverPINVOKE.SWIGPendingException.Retrieve();
64 int ret = operations_research_constraint_solverPINVOKE.IntTupleSet_Insert__SWIG_0(swigCPtr, tuple.Length, tuple );
69 int ret = operations_research_constraint_solverPINVOKE.IntTupleSet_Insert__SWIG_1(swigCPtr, tuple.Length, tuple );
79 int ret = operations_research_constraint_solverPINVOKE.IntTupleSet_Insert3(swigCPtr, v0, v1, v2);
84 int ret = operations_research_constraint_solverPINVOKE.IntTupleSet_Insert4(swigCPtr, v0, v1, v2, v3);
105 bool ret = operations_research_constraint_solverPINVOKE.IntTupleSet_Contains__SWIG_0(swigCPtr, tuple.Length, tuple );
110 bool ret = operations_research_constraint_solverPINVOKE.IntTupleSet_Contains__SWIG_1(swigCPtr, tuple.Length, tuple );
120 long ret = operations_research_constraint_solverPINVOKE.IntTupleSet_Value(swigCPtr, tuple_index, pos_in_tuple);
130 int ret = operations_research_constraint_solverPINVOKE.IntTupleSet_NumDifferentValuesInColumn(swigCPtr, col);
135 IntTupleSet ret = new IntTupleSet(operations_research_constraint_solverPINVOKE.IntTupleSet_SortedByColumn(swigCPtr, col), true);
140 IntTupleSet ret = new IntTupleSet(operations_research_constraint_solverPINVOKE.IntTupleSet_SortedLexicographically(swigCPtr), true);
void InsertAll(long[][] tuples)
Definition: IntTupleSet.cs:88
static void IntTupleSet_Clear(global::System.Runtime.InteropServices.HandleRef jarg1)
void InsertAll(int[][] tuples)
Definition: IntTupleSet.cs:96
virtual void Dispose(bool disposing)
Definition: IntTupleSet.cs:40
int Insert2(long v0, long v1)
Definition: IntTupleSet.cs:73
static int IntTupleSet_Insert2(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2, long jarg3)
static bool Pending
static global::System.IntPtr IntTupleSet_SortedByColumn(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
int NumDifferentValuesInColumn(int col)
Definition: IntTupleSet.cs:129
static int IntTupleSet_Insert3(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2, long jarg3, long jarg4)
static int IntTupleSet_Insert__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, int length2, int[] jarg2)
IntTupleSet(IntTupleSet set)
Definition: IntTupleSet.cs:55
static global::System.IntPtr IntTupleSet_SortedLexicographically(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool IntTupleSet_Contains__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, int length2, int[] jarg2)
int Insert4(long v0, long v1, long v2, long v3)
Definition: IntTupleSet.cs:83
IntTupleSet SortedLexicographically()
Definition: IntTupleSet.cs:139
static int IntTupleSet_Arity(global::System.Runtime.InteropServices.HandleRef jarg1)
int Insert3(long v0, long v1, long v2)
Definition: IntTupleSet.cs:78
IntTupleSet SortedByColumn(int col)
Definition: IntTupleSet.cs:134
bool Contains(long[] tuple)
Definition: IntTupleSet.cs:109
static int IntTupleSet_NumDifferentValuesInColumn(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
int Insert(long[] tuple)
Definition: IntTupleSet.cs:68
int Insert(int[] tuple)
Definition: IntTupleSet.cs:63
static void IntTupleSet_InsertAll__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, int len2_1, int[] len2_2, long[] jarg2)
static void IntTupleSet_InsertAll__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, int len2_1, int[] len2_2, int[] jarg2)
static void delete_IntTupleSet(global::System.Runtime.InteropServices.HandleRef jarg1)
static long IntTupleSet_Value(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3)
IntTupleSet(int arity)
Definition: IntTupleSet.cs:52
static int IntTupleSet_NumTuples(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.Exception Retrieve()
static int IntTupleSet_Insert__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, int length2, long[] jarg2)
bool swigCMemOwn
Definition: IntTupleSet.cs:20
bool Contains(int[] tuple)
Definition: IntTupleSet.cs:104
static int IntTupleSet_Insert4(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2, long jarg3, long jarg4, long jarg5)
static bool IntTupleSet_Contains__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, int length2, long[] jarg2)
long Value(int tuple_index, int pos_in_tuple)
Definition: IntTupleSet.cs:119