DotNet Reference
.Net Reference
IntVar.cs
Go to the documentation of this file.
21 internal IntVar(global::System.IntPtr cPtr, bool cMemoryOwn) : base(operations_research_constraint_solverPINVOKE.IntVar_SWIGUpcast(cPtr), cMemoryOwn) {
26 return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
36 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
69 if (operations_research_constraint_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_constraint_solverPINVOKE.SWIGPendingException.Retrieve();
77 operations_research_constraint_solverPINVOKE.IntVar_RemoveValues(swigCPtr, values.Length, values );
78 if (operations_research_constraint_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_constraint_solverPINVOKE.SWIGPendingException.Retrieve();
86 operations_research_constraint_solverPINVOKE.IntVar_WhenBound__SWIG_0(swigCPtr, Demon.getCPtr(d));
90 operations_research_constraint_solverPINVOKE.IntVar_WhenBound__SWIG_1(swigCPtr, StoreVoidToVoid(closure) );
94 operations_research_constraint_solverPINVOKE.IntVar_WhenDomain__SWIG_0(swigCPtr, Demon.getCPtr(d));
98 operations_research_constraint_solverPINVOKE.IntVar_WhenDomain__SWIG_1(swigCPtr, StoreVoidToVoid(closure) );
127 operations_research_constraint_solverPINVOKE.IntVar_Accept(swigCPtr, ModelVisitor.getCPtr(visitor));
131 global::System.IntPtr cPtr = operations_research_constraint_solverPINVOKE.IntVar_IsEqual(swigCPtr, constant);
137 global::System.IntPtr cPtr = operations_research_constraint_solverPINVOKE.IntVar_IsDifferent(swigCPtr, constant);
143 global::System.IntPtr cPtr = operations_research_constraint_solverPINVOKE.IntVar_IsGreaterOrEqual(swigCPtr, constant);
149 global::System.IntPtr cPtr = operations_research_constraint_solverPINVOKE.IntVar_IsLessOrEqual(swigCPtr, constant);
160 global::System.IntPtr cPtr = operations_research_constraint_solverPINVOKE.IntVar_GetDomain(swigCPtr);
161 IntVarIterator ret = (cPtr == global::System.IntPtr.Zero) ? null : new IntVarIterator(cPtr, false);
166 global::System.IntPtr cPtr = operations_research_constraint_solverPINVOKE.IntVar_GetHoles(swigCPtr);
167 IntVarIterator ret = (cPtr == global::System.IntPtr.Zero) ? null : new IntVarIterator(cPtr, false);
static global::System.IntPtr IntVar_IsLessOrEqual(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2)
static global::System.IntPtr IntVar_GetHoles(global::System.Runtime.InteropServices.HandleRef jarg1)
virtual void SetValues(long[] values)
Definition: IntVar.cs:81
override void Dispose(bool disposing)
Definition: IntVar.cs:29
virtual new IntVar IsDifferent(long constant)
Definition: IntVar.cs:136
virtual new IntVar IsEqual(long constant)
Definition: IntVar.cs:130
void WhenDomain(VoidToVoid closure)
Definition: IntVar.cs:97
static void IntVar_WhenBound__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void IntVar_RemoveInterval(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2, long jarg3)
virtual void RemoveValues(long[] values)
Definition: IntVar.cs:76
void WhenBound(VoidToVoid closure)
Definition: IntVar.cs:89
static void IntVar_SetValues(global::System.Runtime.InteropServices.HandleRef jarg1, int length2, long[] jarg2)
Definition: Demon.cs:18
static global::System.IntPtr IntVar_IsEqual(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2)
delegate void VoidToVoid()
virtual void WhenBound(Demon d)
Definition: IntVar.cs:85
static bool Pending
static void IntVar_RemoveValues(global::System.Runtime.InteropServices.HandleRef jarg1, int length2, long[] jarg2)
override void Accept(ModelVisitor visitor)
Definition: IntVar.cs:126
static void IntVar_RemoveValue(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2)
static void delete_IntVar(global::System.Runtime.InteropServices.HandleRef jarg1)
static void IntVar_Accept(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
Google.OrTools.ConstraintSolver.operations_research_constraint_solverPINVOKE.IntVar_IsGreaterOrEqual
static global::System.IntPtr IntVar_IsGreaterOrEqual(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2)
static bool IntVar_Contains(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2)
static long IntVar_Value(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr IntVar_IsDifferent(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2)
static global::System.IntPtr IntVar_SWIGUpcast(global::System.IntPtr jarg1)
virtual bool Contains(long v)
Definition: IntVar.cs:106
static global::System.IntPtr IntVar_Var(global::System.Runtime.InteropServices.HandleRef jarg1)
virtual void RemoveInterval(long l, long u)
Definition: IntVar.cs:72
virtual void RemoveValue(long v)
Definition: IntVar.cs:67
virtual new IntVar IsLessOrEqual(long constant)
Definition: IntVar.cs:148
static void IntVar_WhenBound__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, VoidToVoid jarg2)
static int IntVar_VarType(global::System.Runtime.InteropServices.HandleRef jarg1)
static long IntVar_OldMin(global::System.Runtime.InteropServices.HandleRef jarg1)
virtual void WhenDomain(Demon d)
Definition: IntVar.cs:93
static void IntVar_WhenDomain__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static int IntVar_Index(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.Exception Retrieve()
virtual new IntVar IsGreaterOrEqual(long constant)
Definition: IntVar.cs:142
static ulong IntVar_Size(global::System.Runtime.InteropServices.HandleRef jarg1)
static void IntVar_WhenDomain__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, VoidToVoid jarg2)
static long IntVar_OldMax(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool IntVar_IsVar(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr IntVar_GetDomain(global::System.Runtime.InteropServices.HandleRef jarg1)