DotNet Reference
DotNet Reference
PathOperator.cs
Go to the documentation of this file.
21 internal PathOperator(global::System.IntPtr cPtr, bool cMemoryOwn) : base(operations_research_constraint_solverPINVOKE.PathOperator_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);
57 if (SwigDerivedClassHasMethod("Reset", swigMethodTypes1)) operations_research_constraint_solverPINVOKE.PathOperator_ResetSwigExplicitPathOperator(swigCPtr); else operations_research_constraint_solverPINVOKE.PathOperator_Reset(swigCPtr);
61 bool ret = (SwigDerivedClassHasMethod("MakeOneNeighbor", swigMethodTypes6) ? operations_research_constraint_solverPINVOKE.PathOperator_MakeOneNeighborSwigExplicitPathOperator(swigCPtr) : operations_research_constraint_solverPINVOKE.PathOperator_MakeOneNeighbor(swigCPtr));
66 bool ret = (SwigDerivedClassHasMethod("RestartAtPathStartOnSynchronize", swigMethodTypes8) ? operations_research_constraint_solverPINVOKE.PathOperator_RestartAtPathStartOnSynchronizeSwigExplicitPathOperator(swigCPtr) : operations_research_constraint_solverPINVOKE.PathOperator_RestartAtPathStartOnSynchronize(swigCPtr));
71 bool ret = (SwigDerivedClassHasMethod("OnSamePathAsPreviousBase", swigMethodTypes9) ? operations_research_constraint_solverPINVOKE.PathOperator_OnSamePathAsPreviousBaseSwigExplicitPathOperator(swigCPtr, base_index) : operations_research_constraint_solverPINVOKE.PathOperator_OnSamePathAsPreviousBase(swigCPtr, base_index));
76 long ret = (SwigDerivedClassHasMethod("GetBaseNodeRestartPosition", swigMethodTypes10) ? operations_research_constraint_solverPINVOKE.PathOperator_GetBaseNodeRestartPositionSwigExplicitPathOperator(swigCPtr, base_index) : operations_research_constraint_solverPINVOKE.PathOperator_GetBaseNodeRestartPosition(swigCPtr, base_index));
81 if (SwigDerivedClassHasMethod("SetNextBaseToIncrement", swigMethodTypes11)) operations_research_constraint_solverPINVOKE.PathOperator_SetNextBaseToIncrementSwigExplicitPathOperator(swigCPtr, base_index); else operations_research_constraint_solverPINVOKE.PathOperator_SetNextBaseToIncrement(swigCPtr, base_index);
85 bool ret = (SwigDerivedClassHasMethod("InitPosition", swigMethodTypes12) ? operations_research_constraint_solverPINVOKE.PathOperator_InitPositionSwigExplicitPathOperator(swigCPtr) : operations_research_constraint_solverPINVOKE.PathOperator_InitPosition(swigCPtr));
107 swigDelegate8 = new SwigDelegatePathOperator_8(SwigDirectorMethodRestartAtPathStartOnSynchronize);
116 operations_research_constraint_solverPINVOKE.PathOperator_director_connect(swigCPtr, swigDelegate0, swigDelegate1, swigDelegate2, swigDelegate3, swigDelegate4, swigDelegate5, swigDelegate6, swigDelegate7, swigDelegate8, swigDelegate9, swigDelegate10, swigDelegate11, swigDelegate12);
120 global::System.Reflection.MethodInfo methodInfo = this.GetType().GetMethod(methodName, global::System.Reflection.BindingFlags.Public | global::System.Reflection.BindingFlags.NonPublic | global::System.Reflection.BindingFlags.Instance, null, methodTypes, null);
214 private static global::System.Type[] swigMethodTypes9 = new global::System.Type[] { typeof(long) };
215 private static global::System.Type[] swigMethodTypes10 = new global::System.Type[] { typeof(int) };
static void PathOperator_SetNextBaseToIncrementSwigExplicitPathOperator(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2)
override void Dispose(bool disposing)
Definition: PathOperator.cs:29
delegate int LongToInt(long t)
static bool PathOperator_MakeOneNeighbor(global::System.Runtime.InteropServices.HandleRef jarg1)
virtual long GetBaseNodeRestartPosition(int base_index)
Definition: PathOperator.cs:75
static void PathOperator_director_connect(global::System.Runtime.InteropServices.HandleRef jarg1, PathOperator.SwigDelegatePathOperator_0 delegate0, PathOperator.SwigDelegatePathOperator_1 delegate1, PathOperator.SwigDelegatePathOperator_2 delegate2, PathOperator.SwigDelegatePathOperator_3 delegate3, PathOperator.SwigDelegatePathOperator_4 delegate4, PathOperator.SwigDelegatePathOperator_5 delegate5, PathOperator.SwigDelegatePathOperator_6 delegate6, PathOperator.SwigDelegatePathOperator_7 delegate7, PathOperator.SwigDelegatePathOperator_8 delegate8, PathOperator.SwigDelegatePathOperator_9 delegate9, PathOperator.SwigDelegatePathOperator_10 delegate10, PathOperator.SwigDelegatePathOperator_11 delegate11, PathOperator.SwigDelegatePathOperator_12 delegate12)
delegate void SwigDelegatePathOperator_5()
static bool PathOperator_InitPositionSwigExplicitPathOperator(global::System.Runtime.InteropServices.HandleRef jarg1)
delegate bool SwigDelegatePathOperator_7()
static long PathOperator_GetBaseNodeRestartPositionSwigExplicitPathOperator(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
virtual void SetNextBaseToIncrement(long base_index)
Definition: PathOperator.cs:80
virtual bool RestartAtPathStartOnSynchronize()
Definition: PathOperator.cs:65
delegate bool SwigDelegatePathOperator_8()
Definition: Assignment.cs:11
Definition: IntVarLocalSearchOperator.cs:18
delegate void SwigDelegatePathOperator_1()
delegate void SwigDelegatePathOperator_11(long base_index)
static void PathOperator_SetNextBaseToIncrement(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2)
virtual bool InitPosition()
Definition: PathOperator.cs:84
virtual bool IsIncremental()
Definition: IntVarLocalSearchOperatorTemplate.cs:47
delegate string SwigDelegatePathOperator_0()
static bool PathOperator_OnSamePathAsPreviousBase(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2)
static bool PathOperator_RestartAtPathStartOnSynchronize(global::System.Runtime.InteropServices.HandleRef jarg1)
delegate bool SwigDelegatePathOperator_12()
virtual new bool MakeOneNeighbor()
Definition: PathOperator.cs:60
virtual bool OnSamePathAsPreviousBase(long base_index)
Definition: PathOperator.cs:70
delegate bool SwigDelegatePathOperator_4()
static void PathOperator_Reset(global::System.Runtime.InteropServices.HandleRef jarg1)
Google.OrTools.ConstraintSolver.operations_research_constraint_solverPINVOKE.PathOperator_SWIGUpcast
static global::System.IntPtr PathOperator_SWIGUpcast(global::System.IntPtr jarg1)
override void Reset()
Definition: PathOperator.cs:56
delegate bool SwigDelegatePathOperator_2()
static long PathOperator_GetBaseNodeRestartPosition(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
delegate bool SwigDelegatePathOperator_9(long base_index)
static bool PathOperator_OnSamePathAsPreviousBaseSwigExplicitPathOperator(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2)
static bool PathOperator_RestartAtPathStartOnSynchronizeSwigExplicitPathOperator(global::System.Runtime.InteropServices.HandleRef jarg1)
virtual void OnStart()
Definition: IntVarLocalSearchOperatorTemplate.cs:95
static void PathOperator_ResetSwigExplicitPathOperator(global::System.Runtime.InteropServices.HandleRef jarg1)
static void delete_PathOperator(global::System.Runtime.InteropServices.HandleRef jarg1)
virtual string ToString()
Definition: BaseObject.cs:55
virtual bool HasFragments()
Definition: LocalSearchOperator.cs:59
delegate bool SwigDelegatePathOperator_3()
virtual bool MakeNeighbor()
Definition: PathOperator.cs:51
delegate bool SwigDelegatePathOperator_6()
static bool PathOperator_MakeNeighbor(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool PathOperator_MakeOneNeighborSwigExplicitPathOperator(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool PathOperator_InitPosition(global::System.Runtime.InteropServices.HandleRef jarg1)
override bool HoldsDelta()
Definition: IntVarLocalSearchOperatorTemplate.cs:42
delegate long SwigDelegatePathOperator_10(int base_index)