DotNet Reference
DotNet 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;
42 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
48 public IntTupleSet(int arity) : this(operations_research_constraint_solverPINVOKE.new_IntTupleSet__SWIG_0(arity), true) {
51 public IntTupleSet(IntTupleSet set) : this(operations_research_constraint_solverPINVOKE.new_IntTupleSet__SWIG_1(IntTupleSet.getCPtr(set)), true) {
52 if (operations_research_constraint_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_constraint_solverPINVOKE.SWIGPendingException.Retrieve();
60 int ret = operations_research_constraint_solverPINVOKE.IntTupleSet_Insert__SWIG_0(swigCPtr, tuple.Length, tuple );
65 int ret = operations_research_constraint_solverPINVOKE.IntTupleSet_Insert__SWIG_1(swigCPtr, tuple.Length, tuple );
75 int ret = operations_research_constraint_solverPINVOKE.IntTupleSet_Insert3(swigCPtr, v0, v1, v2);
80 int ret = operations_research_constraint_solverPINVOKE.IntTupleSet_Insert4(swigCPtr, v0, v1, v2, v3);
101 bool ret = operations_research_constraint_solverPINVOKE.IntTupleSet_Contains__SWIG_0(swigCPtr, tuple.Length, tuple );
106 bool ret = operations_research_constraint_solverPINVOKE.IntTupleSet_Contains__SWIG_1(swigCPtr, tuple.Length, tuple );
116 long ret = operations_research_constraint_solverPINVOKE.IntTupleSet_Value(swigCPtr, tuple_index, pos_in_tuple);
126 int ret = operations_research_constraint_solverPINVOKE.IntTupleSet_NumDifferentValuesInColumn(swigCPtr, col);
131 IntTupleSet ret = new IntTupleSet(operations_research_constraint_solverPINVOKE.IntTupleSet_SortedByColumn(swigCPtr, col), true);
136 IntTupleSet ret = new IntTupleSet(operations_research_constraint_solverPINVOKE.IntTupleSet_SortedLexicographically(swigCPtr), true);
void InsertAll(long[][] tuples)
Definition: IntTupleSet.cs:84
static void IntTupleSet_Clear(global::System.Runtime.InteropServices.HandleRef jarg1)
void InsertAll(int[][] tuples)
Definition: IntTupleSet.cs:92
int Insert2(long v0, long v1)
Definition: IntTupleSet.cs:69
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)
Definition: Assignment.cs:11
int NumDifferentValuesInColumn(int col)
Definition: IntTupleSet.cs:125
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:51
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:79
IntTupleSet SortedLexicographically()
Definition: IntTupleSet.cs:135
static int IntTupleSet_Arity(global::System.Runtime.InteropServices.HandleRef jarg1)
virtual void Dispose()
Definition: IntTupleSet.cs:35
int Insert3(long v0, long v1, long v2)
Definition: IntTupleSet.cs:74
IntTupleSet SortedByColumn(int col)
Definition: IntTupleSet.cs:130
bool Contains(long[] tuple)
Definition: IntTupleSet.cs:105
static int IntTupleSet_NumDifferentValuesInColumn(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
int Insert(long[] tuple)
Definition: IntTupleSet.cs:64
int Insert(int[] tuple)
Definition: IntTupleSet.cs:59
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:48
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:100
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:115