DotNet Reference
.Net Reference
IntVarLocalSearchOperatorTemplate.cs
Go to the documentation of this file.
21 internal IntVarLocalSearchOperatorTemplate(global::System.IntPtr cPtr, bool cMemoryOwn) : base(operations_research_constraint_solverPINVOKE.IntVarLocalSearchOperatorTemplate_SWIGUpcast(cPtr), cMemoryOwn) {
25 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(IntVarLocalSearchOperatorTemplate obj) {
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);
43 bool ret = operations_research_constraint_solverPINVOKE.IntVarLocalSearchOperatorTemplate_HoldsDelta(swigCPtr);
48 bool ret = operations_research_constraint_solverPINVOKE.IntVarLocalSearchOperatorTemplate_IsIncremental(swigCPtr);
53 int ret = operations_research_constraint_solverPINVOKE.IntVarLocalSearchOperatorTemplate_Size(swigCPtr);
58 long ret = operations_research_constraint_solverPINVOKE.IntVarLocalSearchOperatorTemplate_Value(swigCPtr, index);
63 global::System.IntPtr cPtr = operations_research_constraint_solverPINVOKE.IntVarLocalSearchOperatorTemplate_Var(swigCPtr, index);
69 long ret = operations_research_constraint_solverPINVOKE.IntVarLocalSearchOperatorTemplate_OldValue(swigCPtr, index);
74 operations_research_constraint_solverPINVOKE.IntVarLocalSearchOperatorTemplate_SetValue(swigCPtr, index, value);
78 bool ret = operations_research_constraint_solverPINVOKE.IntVarLocalSearchOperatorTemplate_Activated(swigCPtr, index);
83 operations_research_constraint_solverPINVOKE.IntVarLocalSearchOperatorTemplate_Activate(swigCPtr, index);
87 operations_research_constraint_solverPINVOKE.IntVarLocalSearchOperatorTemplate_Deactivate(swigCPtr, index);
91 operations_research_constraint_solverPINVOKE.IntVarLocalSearchOperatorTemplate_AddVars(swigCPtr, IntVarVector.getCPtr(vars));
92 if (operations_research_constraint_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_constraint_solverPINVOKE.SWIGPendingException.Retrieve();
IntVar Var(long index)
Definition: IntVarLocalSearchOperatorTemplate.cs:62
static void IntVarLocalSearchOperatorTemplate_SetValue(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2, long jarg3)
override void Dispose(bool disposing)
Definition: IntVarLocalSearchOperatorTemplate.cs:29
static bool IntVarLocalSearchOperatorTemplate_HoldsDelta(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool Pending
bool Activated(long index)
Definition: IntVarLocalSearchOperatorTemplate.cs:77
long OldValue(long index)
Definition: IntVarLocalSearchOperatorTemplate.cs:68
void AddVars(IntVarVector vars)
Definition: IntVarLocalSearchOperatorTemplate.cs:90
virtual bool IsIncremental()
Definition: IntVarLocalSearchOperatorTemplate.cs:47
static void IntVarLocalSearchOperatorTemplate_AddVars(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static long IntVarLocalSearchOperatorTemplate_OldValue(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2)
static bool IntVarLocalSearchOperatorTemplate_Activated(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2)
int Size()
Definition: IntVarLocalSearchOperatorTemplate.cs:52
static void delete_IntVarLocalSearchOperatorTemplate(global::System.Runtime.InteropServices.HandleRef jarg1)
static int IntVarLocalSearchOperatorTemplate_Size(global::System.Runtime.InteropServices.HandleRef jarg1)
static void IntVarLocalSearchOperatorTemplate_Deactivate(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2)
Definition: IntVarLocalSearchOperatorTemplate.cs:18
long Value(long index)
Definition: IntVarLocalSearchOperatorTemplate.cs:57
static bool IntVarLocalSearchOperatorTemplate_IsIncremental(global::System.Runtime.InteropServices.HandleRef jarg1)
void Activate(long index)
Definition: IntVarLocalSearchOperatorTemplate.cs:82
void SetValue(long index, long value)
Definition: IntVarLocalSearchOperatorTemplate.cs:73
static void IntVarLocalSearchOperatorTemplate_OnStart(global::System.Runtime.InteropServices.HandleRef jarg1)
virtual void OnStart()
Definition: IntVarLocalSearchOperatorTemplate.cs:95
static global::System.IntPtr IntVarLocalSearchOperatorTemplate_SWIGUpcast(global::System.IntPtr jarg1)
static global::System.IntPtr IntVarLocalSearchOperatorTemplate_Var(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2)
static global::System.Exception Retrieve()
void Deactivate(long index)
Definition: IntVarLocalSearchOperatorTemplate.cs:86
static long IntVarLocalSearchOperatorTemplate_Value(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2)
override bool HoldsDelta()
Definition: IntVarLocalSearchOperatorTemplate.cs:42
static void IntVarLocalSearchOperatorTemplate_Activate(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2)