15 using System.Collections;
16 using System.Collections.Generic;
19 private global::System.Runtime.InteropServices.HandleRef swigCPtr;
22 swigCPtr =
new global::System.Runtime.InteropServices.HandleRef(
this, cPtr);
25 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(
PathOperator obj) {
26 return (obj ==
null) ?
new global::System.Runtime.InteropServices.HandleRef(
null, global::System.IntPtr.Zero) : obj.swigCPtr;
35 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
40 swigCPtr =
new global::System.Runtime.InteropServices.HandleRef(
null, global::System.IntPtr.Zero);
42 global::System.GC.SuppressFinalize(
this);
48 private List<LongToInt> startEmptyPathCallbacks;
50 if (startEmptyPathCallbacks ==
null)
51 startEmptyPathCallbacks =
new List<LongToInt>();
52 startEmptyPathCallbacks.Add(path);
94 private void SwigDirectorConnect() {
95 if (SwigDerivedClassHasMethod(
"ToString", swigMethodTypes0))
97 if (SwigDerivedClassHasMethod(
"Reset", swigMethodTypes1))
99 if (SwigDerivedClassHasMethod(
"HasFragments", swigMethodTypes2))
101 if (SwigDerivedClassHasMethod(
"HoldsDelta", swigMethodTypes3))
103 if (SwigDerivedClassHasMethod(
"IsIncremental", swigMethodTypes4))
105 if (SwigDerivedClassHasMethod(
"OnStart", swigMethodTypes5))
107 if (SwigDerivedClassHasMethod(
"MakeOneNeighbor", swigMethodTypes6))
109 if (SwigDerivedClassHasMethod(
"MakeNeighbor", swigMethodTypes7))
111 if (SwigDerivedClassHasMethod(
"RestartAtPathStartOnSynchronize", swigMethodTypes8))
113 if (SwigDerivedClassHasMethod(
"OnSamePathAsPreviousBase", swigMethodTypes9))
115 if (SwigDerivedClassHasMethod(
"GetBaseNodeRestartPosition", swigMethodTypes10))
117 if (SwigDerivedClassHasMethod(
"SetNextBaseToIncrement", swigMethodTypes11))
119 if (SwigDerivedClassHasMethod(
"InitPosition", swigMethodTypes12))
121 operations_research_constraint_solverPINVOKE.
PathOperator_director_connect(swigCPtr, swigDelegate0, swigDelegate1, swigDelegate2, swigDelegate3, swigDelegate4, swigDelegate5, swigDelegate6, swigDelegate7, swigDelegate8, swigDelegate9, swigDelegate10, swigDelegate11, swigDelegate12);
124 private bool SwigDerivedClassHasMethod(
string methodName, global::System.Type[] methodTypes) {
125 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);
126 bool hasDerivedMethod = methodInfo.DeclaringType.IsSubclassOf(typeof(PathOperator));
127 return hasDerivedMethod;
130 private string SwigDirectorToString() {
134 private void SwigDirectorReset() {
138 private bool SwigDirectorHasFragments() {
142 private bool SwigDirectorHoldsDelta() {
146 private bool SwigDirectorIsIncremental() {
150 private void SwigDirectorOnStart() {
154 private bool SwigDirectorMakeOneNeighbor() {
158 private bool SwigDirectorMakeNeighbor() {
162 private bool SwigDirectorRestartAtPathStartOnSynchronize() {
166 private bool SwigDirectorOnSamePathAsPreviousBase(
long base_index) {
170 private long SwigDirectorGetBaseNodeRestartPosition(
int base_index) {
174 private void SwigDirectorSetNextBaseToIncrement(
long base_index) {
178 private bool SwigDirectorInitPosition() {
210 private static global::System.Type[] swigMethodTypes0 =
new global::System.Type[] { };
211 private static global::System.Type[] swigMethodTypes1 =
new global::System.Type[] { };
212 private static global::System.Type[] swigMethodTypes2 =
new global::System.Type[] { };
213 private static global::System.Type[] swigMethodTypes3 =
new global::System.Type[] { };
214 private static global::System.Type[] swigMethodTypes4 =
new global::System.Type[] { };
215 private static global::System.Type[] swigMethodTypes5 =
new global::System.Type[] { };
216 private static global::System.Type[] swigMethodTypes6 =
new global::System.Type[] { };
217 private static global::System.Type[] swigMethodTypes7 =
new global::System.Type[] { };
218 private static global::System.Type[] swigMethodTypes8 =
new global::System.Type[] { };
219 private static global::System.Type[] swigMethodTypes9 =
new global::System.Type[] { typeof(
long) };
220 private static global::System.Type[] swigMethodTypes10 =
new global::System.Type[] { typeof(
int) };
221 private static global::System.Type[] swigMethodTypes11 =
new global::System.Type[] { typeof(
long) };
222 private static global::System.Type[] swigMethodTypes12 =
new global::System.Type[] { };