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;
29 protected override void Dispose(
bool disposing) {
31 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
36 swigCPtr =
new global::System.Runtime.InteropServices.HandleRef(
null, global::System.IntPtr.Zero);
38 base.Dispose(disposing);
43 private List<LongToInt> startEmptyPathCallbacks;
45 if (startEmptyPathCallbacks ==
null)
46 startEmptyPathCallbacks =
new List<LongToInt>();
47 startEmptyPathCallbacks.Add(path);
89 private void SwigDirectorConnect() {
90 if (SwigDerivedClassHasMethod(
"ToString", swigMethodTypes0))
92 if (SwigDerivedClassHasMethod(
"Reset", swigMethodTypes1))
94 if (SwigDerivedClassHasMethod(
"HasFragments", swigMethodTypes2))
96 if (SwigDerivedClassHasMethod(
"HoldsDelta", swigMethodTypes3))
98 if (SwigDerivedClassHasMethod(
"IsIncremental", swigMethodTypes4))
100 if (SwigDerivedClassHasMethod(
"OnStart", swigMethodTypes5))
102 if (SwigDerivedClassHasMethod(
"MakeOneNeighbor", swigMethodTypes6))
104 if (SwigDerivedClassHasMethod(
"MakeNeighbor", swigMethodTypes7))
106 if (SwigDerivedClassHasMethod(
"RestartAtPathStartOnSynchronize", swigMethodTypes8))
108 if (SwigDerivedClassHasMethod(
"OnSamePathAsPreviousBase", swigMethodTypes9))
110 if (SwigDerivedClassHasMethod(
"GetBaseNodeRestartPosition", swigMethodTypes10))
112 if (SwigDerivedClassHasMethod(
"SetNextBaseToIncrement", swigMethodTypes11))
114 if (SwigDerivedClassHasMethod(
"InitPosition", swigMethodTypes12))
116 operations_research_constraint_solverPINVOKE.
PathOperator_director_connect(swigCPtr, swigDelegate0, swigDelegate1, swigDelegate2, swigDelegate3, swigDelegate4, swigDelegate5, swigDelegate6, swigDelegate7, swigDelegate8, swigDelegate9, swigDelegate10, swigDelegate11, swigDelegate12);
119 private bool SwigDerivedClassHasMethod(
string methodName, global::System.Type[] methodTypes) {
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);
121 bool hasDerivedMethod = methodInfo.DeclaringType.IsSubclassOf(typeof(PathOperator));
122 return hasDerivedMethod;
125 private string SwigDirectorMethodToString() {
129 private void SwigDirectorMethodReset() {
133 private bool SwigDirectorMethodHasFragments() {
137 private bool SwigDirectorMethodHoldsDelta() {
141 private bool SwigDirectorMethodIsIncremental() {
145 private void SwigDirectorMethodOnStart() {
149 private bool SwigDirectorMethodMakeOneNeighbor() {
153 private bool SwigDirectorMethodMakeNeighbor() {
157 private bool SwigDirectorMethodRestartAtPathStartOnSynchronize() {
161 private bool SwigDirectorMethodOnSamePathAsPreviousBase(
long base_index) {
165 private long SwigDirectorMethodGetBaseNodeRestartPosition(
int base_index) {
169 private void SwigDirectorMethodSetNextBaseToIncrement(
long base_index) {
173 private bool SwigDirectorMethodInitPosition() {
205 private static global::System.Type[] swigMethodTypes0 =
new global::System.Type[] { };
206 private static global::System.Type[] swigMethodTypes1 =
new global::System.Type[] { };
207 private static global::System.Type[] swigMethodTypes2 =
new global::System.Type[] { };
208 private static global::System.Type[] swigMethodTypes3 =
new global::System.Type[] { };
209 private static global::System.Type[] swigMethodTypes4 =
new global::System.Type[] { };
210 private static global::System.Type[] swigMethodTypes5 =
new global::System.Type[] { };
211 private static global::System.Type[] swigMethodTypes6 =
new global::System.Type[] { };
212 private static global::System.Type[] swigMethodTypes7 =
new global::System.Type[] { };
213 private static global::System.Type[] swigMethodTypes8 =
new global::System.Type[] { };
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) };
216 private static global::System.Type[] swigMethodTypes11 =
new global::System.Type[] { typeof(
long) };
217 private static global::System.Type[] swigMethodTypes12 =
new global::System.Type[] { };