DotNet Reference

DotNet Reference

RegularLimit.cs
Go to the documentation of this file.
1 //------------------------------------------------------------------------------
2 // <auto-generated />
3 //
4 // This file was automatically generated by SWIG (http://www.swig.org).
5 // Version 4.0.1
6 //
7 // Do not make changes to this file unless you know what you are doing--modify
8 // the SWIG interface file instead.
9 //------------------------------------------------------------------------------
10 
12 
13 using System;
14 using System.Runtime.InteropServices;
15 using System.Collections;
16 using System.Collections.Generic;
17 
18 public partial class RegularLimit : SearchLimit {
19  private global::System.Runtime.InteropServices.HandleRef swigCPtr;
20 
21  internal RegularLimit(global::System.IntPtr cPtr, bool cMemoryOwn) : base(operations_research_constraint_solverPINVOKE.RegularLimit_SWIGUpcast(cPtr), cMemoryOwn) {
22  swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
23  }
24 
25  internal static global::System.Runtime.InteropServices.HandleRef getCPtr(RegularLimit obj) {
26  return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
27  }
28 
29  protected override void Dispose(bool disposing) {
30  lock(this) {
31  if (swigCPtr.Handle != global::System.IntPtr.Zero) {
32  if (swigCMemOwn) {
33  swigCMemOwn = false;
35  }
36  swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
37  }
38  base.Dispose(disposing);
39  }
40  }
41 
42  public RegularLimit(Solver s, long time, long branches, long failures, long solutions, bool smart_time_check, bool cumulative) : this(operations_research_constraint_solverPINVOKE.new_RegularLimit(Solver.getCPtr(s), time, branches, failures, solutions, smart_time_check, cumulative), true) {
43  SwigDirectorConnect();
44  }
45 
46  public override void Copy(SearchLimit limit) {
47  if (SwigDerivedClassHasMethod("Copy", swigMethodTypes27)) operations_research_constraint_solverPINVOKE.RegularLimit_CopySwigExplicitRegularLimit(swigCPtr, SearchLimit.getCPtr(limit)); else operations_research_constraint_solverPINVOKE.RegularLimit_Copy(swigCPtr, SearchLimit.getCPtr(limit));
48  }
49 
50  public override SearchLimit MakeClone() {
51  global::System.IntPtr cPtr = (SwigDerivedClassHasMethod("MakeClone", swigMethodTypes28) ? operations_research_constraint_solverPINVOKE.RegularLimit_MakeCloneSwigExplicitRegularLimit(swigCPtr) : operations_research_constraint_solverPINVOKE.RegularLimit_MakeClone(swigCPtr));
52  SearchLimit ret = (cPtr == global::System.IntPtr.Zero) ? null : new SearchLimit(cPtr, false);
53  return ret;
54  }
55 
58  RegularLimit ret = (cPtr == global::System.IntPtr.Zero) ? null : new RegularLimit(cPtr, false);
59  return ret;
60  }
61 
62  public override bool Check() {
63  bool ret = (SwigDerivedClassHasMethod("Check", swigMethodTypes25) ? operations_research_constraint_solverPINVOKE.RegularLimit_CheckSwigExplicitRegularLimit(swigCPtr) : operations_research_constraint_solverPINVOKE.RegularLimit_Check(swigCPtr));
64  return ret;
65  }
66 
67  public override void Init() {
69  }
70 
71  public override void ExitSearch() {
73  }
74 
75  public void UpdateLimits(long time, long branches, long failures, long solutions) {
76  operations_research_constraint_solverPINVOKE.RegularLimit_UpdateLimits(swigCPtr, time, branches, failures, solutions);
77  }
78 
79  public long WallTime() {
81  return ret;
82  }
83 
84  public long Branches() {
86  return ret;
87  }
88 
89  public long Failures() {
91  return ret;
92  }
93 
94  public long Solutions() {
96  return ret;
97  }
98 
99  public override bool IsUncheckedSolutionLimitReached() {
101  return ret;
102  }
103 
104  public override int ProgressPercent() {
106  return ret;
107  }
108 
109  public override string ToString() {
110  string ret = (SwigDerivedClassHasMethod("ToString", swigMethodTypes0) ? operations_research_constraint_solverPINVOKE.RegularLimit_ToStringSwigExplicitRegularLimit(swigCPtr) : operations_research_constraint_solverPINVOKE.RegularLimit_ToString(swigCPtr));
111  return ret;
112  }
113 
114  public override void Accept(ModelVisitor visitor) {
115  if (SwigDerivedClassHasMethod("Accept", swigMethodTypes23)) operations_research_constraint_solverPINVOKE.RegularLimit_AcceptSwigExplicitRegularLimit(swigCPtr, ModelVisitor.getCPtr(visitor)); else operations_research_constraint_solverPINVOKE.RegularLimit_Accept(swigCPtr, ModelVisitor.getCPtr(visitor));
116  }
117 
118  private void SwigDirectorConnect() {
119  if (SwigDerivedClassHasMethod("ToString", swigMethodTypes0))
120  swigDelegate0 = new SwigDelegateRegularLimit_0(SwigDirectorMethodToString);
121  if (SwigDerivedClassHasMethod("EnterSearch", swigMethodTypes1))
122  swigDelegate1 = new SwigDelegateRegularLimit_1(SwigDirectorMethodEnterSearch);
123  if (SwigDerivedClassHasMethod("RestartSearch", swigMethodTypes2))
124  swigDelegate2 = new SwigDelegateRegularLimit_2(SwigDirectorMethodRestartSearch);
125  if (SwigDerivedClassHasMethod("ExitSearch", swigMethodTypes3))
126  swigDelegate3 = new SwigDelegateRegularLimit_3(SwigDirectorMethodExitSearch);
127  if (SwigDerivedClassHasMethod("BeginNextDecision", swigMethodTypes4))
128  swigDelegate4 = new SwigDelegateRegularLimit_4(SwigDirectorMethodBeginNextDecision);
129  if (SwigDerivedClassHasMethod("EndNextDecision", swigMethodTypes5))
130  swigDelegate5 = new SwigDelegateRegularLimit_5(SwigDirectorMethodEndNextDecision);
131  if (SwigDerivedClassHasMethod("ApplyDecision", swigMethodTypes6))
132  swigDelegate6 = new SwigDelegateRegularLimit_6(SwigDirectorMethodApplyDecision);
133  if (SwigDerivedClassHasMethod("RefuteDecision", swigMethodTypes7))
134  swigDelegate7 = new SwigDelegateRegularLimit_7(SwigDirectorMethodRefuteDecision);
135  if (SwigDerivedClassHasMethod("AfterDecision", swigMethodTypes8))
136  swigDelegate8 = new SwigDelegateRegularLimit_8(SwigDirectorMethodAfterDecision);
137  if (SwigDerivedClassHasMethod("BeginFail", swigMethodTypes9))
138  swigDelegate9 = new SwigDelegateRegularLimit_9(SwigDirectorMethodBeginFail);
139  if (SwigDerivedClassHasMethod("EndFail", swigMethodTypes10))
140  swigDelegate10 = new SwigDelegateRegularLimit_10(SwigDirectorMethodEndFail);
141  if (SwigDerivedClassHasMethod("BeginInitialPropagation", swigMethodTypes11))
142  swigDelegate11 = new SwigDelegateRegularLimit_11(SwigDirectorMethodBeginInitialPropagation);
143  if (SwigDerivedClassHasMethod("EndInitialPropagation", swigMethodTypes12))
144  swigDelegate12 = new SwigDelegateRegularLimit_12(SwigDirectorMethodEndInitialPropagation);
145  if (SwigDerivedClassHasMethod("AcceptSolution", swigMethodTypes13))
146  swigDelegate13 = new SwigDelegateRegularLimit_13(SwigDirectorMethodAcceptSolution);
147  if (SwigDerivedClassHasMethod("AtSolution", swigMethodTypes14))
148  swigDelegate14 = new SwigDelegateRegularLimit_14(SwigDirectorMethodAtSolution);
149  if (SwigDerivedClassHasMethod("NoMoreSolutions", swigMethodTypes15))
150  swigDelegate15 = new SwigDelegateRegularLimit_15(SwigDirectorMethodNoMoreSolutions);
151  if (SwigDerivedClassHasMethod("LocalOptimum", swigMethodTypes16))
152  swigDelegate16 = new SwigDelegateRegularLimit_16(SwigDirectorMethodLocalOptimum);
153  if (SwigDerivedClassHasMethod("AcceptDelta", swigMethodTypes17))
154  swigDelegate17 = new SwigDelegateRegularLimit_17(SwigDirectorMethodAcceptDelta);
155  if (SwigDerivedClassHasMethod("AcceptNeighbor", swigMethodTypes18))
156  swigDelegate18 = new SwigDelegateRegularLimit_18(SwigDirectorMethodAcceptNeighbor);
157  if (SwigDerivedClassHasMethod("AcceptUncheckedNeighbor", swigMethodTypes19))
158  swigDelegate19 = new SwigDelegateRegularLimit_19(SwigDirectorMethodAcceptUncheckedNeighbor);
159  if (SwigDerivedClassHasMethod("IsUncheckedSolutionLimitReached", swigMethodTypes20))
160  swigDelegate20 = new SwigDelegateRegularLimit_20(SwigDirectorMethodIsUncheckedSolutionLimitReached);
161  if (SwigDerivedClassHasMethod("PeriodicCheck", swigMethodTypes21))
162  swigDelegate21 = new SwigDelegateRegularLimit_21(SwigDirectorMethodPeriodicCheck);
163  if (SwigDerivedClassHasMethod("ProgressPercent", swigMethodTypes22))
164  swigDelegate22 = new SwigDelegateRegularLimit_22(SwigDirectorMethodProgressPercent);
165  if (SwigDerivedClassHasMethod("Accept", swigMethodTypes23))
166  swigDelegate23 = new SwigDelegateRegularLimit_23(SwigDirectorMethodAccept);
167  if (SwigDerivedClassHasMethod("Install", swigMethodTypes24))
168  swigDelegate24 = new SwigDelegateRegularLimit_24(SwigDirectorMethodInstall);
169  if (SwigDerivedClassHasMethod("Check", swigMethodTypes25))
170  swigDelegate25 = new SwigDelegateRegularLimit_25(SwigDirectorMethodCheck);
171  if (SwigDerivedClassHasMethod("Init", swigMethodTypes26))
172  swigDelegate26 = new SwigDelegateRegularLimit_26(SwigDirectorMethodInit);
173  if (SwigDerivedClassHasMethod("Copy", swigMethodTypes27))
174  swigDelegate27 = new SwigDelegateRegularLimit_27(SwigDirectorMethodCopy);
175  if (SwigDerivedClassHasMethod("MakeClone", swigMethodTypes28))
176  swigDelegate28 = new SwigDelegateRegularLimit_28(SwigDirectorMethodMakeClone);
177  operations_research_constraint_solverPINVOKE.RegularLimit_director_connect(swigCPtr, swigDelegate0, swigDelegate1, swigDelegate2, swigDelegate3, swigDelegate4, swigDelegate5, swigDelegate6, swigDelegate7, swigDelegate8, swigDelegate9, swigDelegate10, swigDelegate11, swigDelegate12, swigDelegate13, swigDelegate14, swigDelegate15, swigDelegate16, swigDelegate17, swigDelegate18, swigDelegate19, swigDelegate20, swigDelegate21, swigDelegate22, swigDelegate23, swigDelegate24, swigDelegate25, swigDelegate26, swigDelegate27, swigDelegate28);
178  }
179 
180  private bool SwigDerivedClassHasMethod(string methodName, global::System.Type[] methodTypes) {
181  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);
182  bool hasDerivedMethod = methodInfo.DeclaringType.IsSubclassOf(typeof(RegularLimit));
183  return hasDerivedMethod;
184  }
185 
186  private string SwigDirectorMethodToString() {
187  return ToString();
188  }
189 
190  private void SwigDirectorMethodEnterSearch() {
191  EnterSearch();
192  }
193 
194  private void SwigDirectorMethodRestartSearch() {
195  RestartSearch();
196  }
197 
198  private void SwigDirectorMethodExitSearch() {
199  ExitSearch();
200  }
201 
202  private void SwigDirectorMethodBeginNextDecision(global::System.IntPtr b) {
203  BeginNextDecision((b == global::System.IntPtr.Zero) ? null : new DecisionBuilder(b, false));
204  }
205 
206  private void SwigDirectorMethodEndNextDecision(global::System.IntPtr b, global::System.IntPtr d) {
207  EndNextDecision((b == global::System.IntPtr.Zero) ? null : new DecisionBuilder(b, false), (d == global::System.IntPtr.Zero) ? null : new Decision(d, false));
208  }
209 
210  private void SwigDirectorMethodApplyDecision(global::System.IntPtr d) {
211  ApplyDecision((d == global::System.IntPtr.Zero) ? null : new Decision(d, false));
212  }
213 
214  private void SwigDirectorMethodRefuteDecision(global::System.IntPtr d) {
215  RefuteDecision((d == global::System.IntPtr.Zero) ? null : new Decision(d, false));
216  }
217 
218  private void SwigDirectorMethodAfterDecision(global::System.IntPtr d, bool apply) {
219  AfterDecision((d == global::System.IntPtr.Zero) ? null : new Decision(d, false), apply);
220  }
221 
222  private void SwigDirectorMethodBeginFail() {
223  BeginFail();
224  }
225 
226  private void SwigDirectorMethodEndFail() {
227  EndFail();
228  }
229 
230  private void SwigDirectorMethodBeginInitialPropagation() {
232  }
233 
234  private void SwigDirectorMethodEndInitialPropagation() {
236  }
237 
238  private bool SwigDirectorMethodAcceptSolution() {
239  return AcceptSolution();
240  }
241 
242  private bool SwigDirectorMethodAtSolution() {
243  return AtSolution();
244  }
245 
246  private void SwigDirectorMethodNoMoreSolutions() {
247  NoMoreSolutions();
248  }
249 
250  private bool SwigDirectorMethodLocalOptimum() {
251  return LocalOptimum();
252  }
253 
254  private bool SwigDirectorMethodAcceptDelta(global::System.IntPtr delta, global::System.IntPtr deltadelta) {
255  return AcceptDelta((delta == global::System.IntPtr.Zero) ? null : new Assignment(delta, false), (deltadelta == global::System.IntPtr.Zero) ? null : new Assignment(deltadelta, false));
256  }
257 
258  private void SwigDirectorMethodAcceptNeighbor() {
259  AcceptNeighbor();
260  }
261 
262  private void SwigDirectorMethodAcceptUncheckedNeighbor() {
264  }
265 
266  private bool SwigDirectorMethodIsUncheckedSolutionLimitReached() {
268  }
269 
270  private void SwigDirectorMethodPeriodicCheck() {
271  PeriodicCheck();
272  }
273 
274  private int SwigDirectorMethodProgressPercent() {
275  return ProgressPercent();
276  }
277 
278  private void SwigDirectorMethodAccept(global::System.IntPtr visitor) {
279  Accept((visitor == global::System.IntPtr.Zero) ? null : new ModelVisitor(visitor, false));
280  }
281 
282  private void SwigDirectorMethodInstall() {
283  Install();
284  }
285 
286  private bool SwigDirectorMethodCheck() {
287  return Check();
288  }
289 
290  private void SwigDirectorMethodInit() {
291  Init();
292  }
293 
294  private void SwigDirectorMethodCopy(global::System.IntPtr limit) {
295  Copy((limit == global::System.IntPtr.Zero) ? null : new SearchLimit(limit, false));
296  }
297 
298  private global::System.IntPtr SwigDirectorMethodMakeClone() {
299  return SearchLimit.getCPtr(MakeClone()).Handle;
300  }
301 
302  public delegate string SwigDelegateRegularLimit_0();
303  public delegate void SwigDelegateRegularLimit_1();
304  public delegate void SwigDelegateRegularLimit_2();
305  public delegate void SwigDelegateRegularLimit_3();
306  public delegate void SwigDelegateRegularLimit_4(global::System.IntPtr b);
307  public delegate void SwigDelegateRegularLimit_5(global::System.IntPtr b, global::System.IntPtr d);
308  public delegate void SwigDelegateRegularLimit_6(global::System.IntPtr d);
309  public delegate void SwigDelegateRegularLimit_7(global::System.IntPtr d);
310  public delegate void SwigDelegateRegularLimit_8(global::System.IntPtr d, bool apply);
311  public delegate void SwigDelegateRegularLimit_9();
312  public delegate void SwigDelegateRegularLimit_10();
313  public delegate void SwigDelegateRegularLimit_11();
314  public delegate void SwigDelegateRegularLimit_12();
315  public delegate bool SwigDelegateRegularLimit_13();
316  public delegate bool SwigDelegateRegularLimit_14();
317  public delegate void SwigDelegateRegularLimit_15();
318  public delegate bool SwigDelegateRegularLimit_16();
319  public delegate bool SwigDelegateRegularLimit_17(global::System.IntPtr delta, global::System.IntPtr deltadelta);
320  public delegate void SwigDelegateRegularLimit_18();
321  public delegate void SwigDelegateRegularLimit_19();
322  public delegate bool SwigDelegateRegularLimit_20();
323  public delegate void SwigDelegateRegularLimit_21();
324  public delegate int SwigDelegateRegularLimit_22();
325  public delegate void SwigDelegateRegularLimit_23(global::System.IntPtr visitor);
326  public delegate void SwigDelegateRegularLimit_24();
327  public delegate bool SwigDelegateRegularLimit_25();
328  public delegate void SwigDelegateRegularLimit_26();
329  public delegate void SwigDelegateRegularLimit_27(global::System.IntPtr limit);
330  public delegate global::System.IntPtr SwigDelegateRegularLimit_28();
331 
332  private SwigDelegateRegularLimit_0 swigDelegate0;
333  private SwigDelegateRegularLimit_1 swigDelegate1;
334  private SwigDelegateRegularLimit_2 swigDelegate2;
335  private SwigDelegateRegularLimit_3 swigDelegate3;
336  private SwigDelegateRegularLimit_4 swigDelegate4;
337  private SwigDelegateRegularLimit_5 swigDelegate5;
338  private SwigDelegateRegularLimit_6 swigDelegate6;
339  private SwigDelegateRegularLimit_7 swigDelegate7;
340  private SwigDelegateRegularLimit_8 swigDelegate8;
341  private SwigDelegateRegularLimit_9 swigDelegate9;
342  private SwigDelegateRegularLimit_10 swigDelegate10;
343  private SwigDelegateRegularLimit_11 swigDelegate11;
344  private SwigDelegateRegularLimit_12 swigDelegate12;
345  private SwigDelegateRegularLimit_13 swigDelegate13;
346  private SwigDelegateRegularLimit_14 swigDelegate14;
347  private SwigDelegateRegularLimit_15 swigDelegate15;
348  private SwigDelegateRegularLimit_16 swigDelegate16;
349  private SwigDelegateRegularLimit_17 swigDelegate17;
350  private SwigDelegateRegularLimit_18 swigDelegate18;
351  private SwigDelegateRegularLimit_19 swigDelegate19;
352  private SwigDelegateRegularLimit_20 swigDelegate20;
353  private SwigDelegateRegularLimit_21 swigDelegate21;
354  private SwigDelegateRegularLimit_22 swigDelegate22;
355  private SwigDelegateRegularLimit_23 swigDelegate23;
356  private SwigDelegateRegularLimit_24 swigDelegate24;
357  private SwigDelegateRegularLimit_25 swigDelegate25;
358  private SwigDelegateRegularLimit_26 swigDelegate26;
359  private SwigDelegateRegularLimit_27 swigDelegate27;
360  private SwigDelegateRegularLimit_28 swigDelegate28;
361 
362  private static global::System.Type[] swigMethodTypes0 = new global::System.Type[] { };
363  private static global::System.Type[] swigMethodTypes1 = new global::System.Type[] { };
364  private static global::System.Type[] swigMethodTypes2 = new global::System.Type[] { };
365  private static global::System.Type[] swigMethodTypes3 = new global::System.Type[] { };
366  private static global::System.Type[] swigMethodTypes4 = new global::System.Type[] { typeof(DecisionBuilder) };
367  private static global::System.Type[] swigMethodTypes5 = new global::System.Type[] { typeof(DecisionBuilder), typeof(Decision) };
368  private static global::System.Type[] swigMethodTypes6 = new global::System.Type[] { typeof(Decision) };
369  private static global::System.Type[] swigMethodTypes7 = new global::System.Type[] { typeof(Decision) };
370  private static global::System.Type[] swigMethodTypes8 = new global::System.Type[] { typeof(Decision), typeof(bool) };
371  private static global::System.Type[] swigMethodTypes9 = new global::System.Type[] { };
372  private static global::System.Type[] swigMethodTypes10 = new global::System.Type[] { };
373  private static global::System.Type[] swigMethodTypes11 = new global::System.Type[] { };
374  private static global::System.Type[] swigMethodTypes12 = new global::System.Type[] { };
375  private static global::System.Type[] swigMethodTypes13 = new global::System.Type[] { };
376  private static global::System.Type[] swigMethodTypes14 = new global::System.Type[] { };
377  private static global::System.Type[] swigMethodTypes15 = new global::System.Type[] { };
378  private static global::System.Type[] swigMethodTypes16 = new global::System.Type[] { };
379  private static global::System.Type[] swigMethodTypes17 = new global::System.Type[] { typeof(Assignment), typeof(Assignment) };
380  private static global::System.Type[] swigMethodTypes18 = new global::System.Type[] { };
381  private static global::System.Type[] swigMethodTypes19 = new global::System.Type[] { };
382  private static global::System.Type[] swigMethodTypes20 = new global::System.Type[] { };
383  private static global::System.Type[] swigMethodTypes21 = new global::System.Type[] { };
384  private static global::System.Type[] swigMethodTypes22 = new global::System.Type[] { };
385  private static global::System.Type[] swigMethodTypes23 = new global::System.Type[] { typeof(ModelVisitor) };
386  private static global::System.Type[] swigMethodTypes24 = new global::System.Type[] { };
387  private static global::System.Type[] swigMethodTypes25 = new global::System.Type[] { };
388  private static global::System.Type[] swigMethodTypes26 = new global::System.Type[] { };
389  private static global::System.Type[] swigMethodTypes27 = new global::System.Type[] { typeof(SearchLimit) };
390  private static global::System.Type[] swigMethodTypes28 = new global::System.Type[] { };
391 }
392 
393 }
virtual bool AtSolution()
delegate void SwigDelegateRegularLimit_8(global::System.IntPtr d, bool apply)
delegate void SwigDelegateRegularLimit_5(global::System.IntPtr b, global::System.IntPtr d)
virtual void EndNextDecision(DecisionBuilder b, Decision d)
virtual void BeginFail()
long WallTime()
Definition: RegularLimit.cs:79
delegate void SwigDelegateRegularLimit_1()
override bool IsUncheckedSolutionLimitReached()
Definition: RegularLimit.cs:99
override void ExitSearch()
Definition: RegularLimit.cs:71
virtual void Install()
delegate void SwigDelegateRegularLimit_7(global::System.IntPtr d)
delegate bool SwigDelegateRegularLimit_20()
delegate string SwigDelegateRegularLimit_0()
static void RegularLimit_InitSwigExplicitRegularLimit(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr RegularLimit_SWIGUpcast(global::System.IntPtr jarg1)
void UpdateLimits(long time, long branches, long failures, long solutions)
Definition: RegularLimit.cs:75
virtual bool AcceptSolution()
static string RegularLimit_ToStringSwigExplicitRegularLimit(global::System.Runtime.InteropServices.HandleRef jarg1)
static void delete_RegularLimit(global::System.Runtime.InteropServices.HandleRef jarg1)
static void RegularLimit_Copy(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static bool RegularLimit_IsUncheckedSolutionLimitReached(global::System.Runtime.InteropServices.HandleRef jarg1)
Definition: Assignment.cs:11
Definition: SearchLimit.cs:18
override void BeginNextDecision(DecisionBuilder b)
Definition: SearchLimit.cs:74
virtual void AcceptNeighbor()
long Solutions()
Definition: RegularLimit.cs:94
delegate void SwigDelegateRegularLimit_21()
static long RegularLimit_WallTime(global::System.Runtime.InteropServices.HandleRef jarg1)
delegate void SwigDelegateRegularLimit_24()
delegate void SwigDelegateRegularLimit_11()
Definition: ModelVisitor.cs:18
delegate bool SwigDelegateRegularLimit_14()
virtual void AfterDecision(Decision d, bool apply)
Definition: RegularLimit.cs:18
static void RegularLimit_Init(global::System.Runtime.InteropServices.HandleRef jarg1)
virtual void AcceptUncheckedNeighbor()
delegate bool SwigDelegateRegularLimit_17(global::System.IntPtr delta, global::System.IntPtr deltadelta)
virtual bool LocalOptimum()
static bool RegularLimit_IsUncheckedSolutionLimitReachedSwigExplicitRegularLimit(global::System.Runtime.InteropServices.HandleRef jarg1)
delegate void SwigDelegateRegularLimit_10()
delegate void SwigDelegateRegularLimit_6(global::System.IntPtr d)
static string RegularLimit_ToString(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool RegularLimit_Check(global::System.Runtime.InteropServices.HandleRef jarg1)
override bool Check()
Definition: RegularLimit.cs:62
virtual void EndInitialPropagation()
delegate void SwigDelegateRegularLimit_23(global::System.IntPtr visitor)
static void RegularLimit_director_connect(global::System.Runtime.InteropServices.HandleRef jarg1, RegularLimit.SwigDelegateRegularLimit_0 delegate0, RegularLimit.SwigDelegateRegularLimit_1 delegate1, RegularLimit.SwigDelegateRegularLimit_2 delegate2, RegularLimit.SwigDelegateRegularLimit_3 delegate3, RegularLimit.SwigDelegateRegularLimit_4 delegate4, RegularLimit.SwigDelegateRegularLimit_5 delegate5, RegularLimit.SwigDelegateRegularLimit_6 delegate6, RegularLimit.SwigDelegateRegularLimit_7 delegate7, RegularLimit.SwigDelegateRegularLimit_8 delegate8, RegularLimit.SwigDelegateRegularLimit_9 delegate9, RegularLimit.SwigDelegateRegularLimit_10 delegate10, RegularLimit.SwigDelegateRegularLimit_11 delegate11, RegularLimit.SwigDelegateRegularLimit_12 delegate12, RegularLimit.SwigDelegateRegularLimit_13 delegate13, RegularLimit.SwigDelegateRegularLimit_14 delegate14, RegularLimit.SwigDelegateRegularLimit_15 delegate15, RegularLimit.SwigDelegateRegularLimit_16 delegate16, RegularLimit.SwigDelegateRegularLimit_17 delegate17, RegularLimit.SwigDelegateRegularLimit_18 delegate18, RegularLimit.SwigDelegateRegularLimit_19 delegate19, RegularLimit.SwigDelegateRegularLimit_20 delegate20, RegularLimit.SwigDelegateRegularLimit_21 delegate21, RegularLimit.SwigDelegateRegularLimit_22 delegate22, RegularLimit.SwigDelegateRegularLimit_23 delegate23, RegularLimit.SwigDelegateRegularLimit_24 delegate24, RegularLimit.SwigDelegateRegularLimit_25 delegate25, RegularLimit.SwigDelegateRegularLimit_26 delegate26, RegularLimit.SwigDelegateRegularLimit_27 delegate27, RegularLimit.SwigDelegateRegularLimit_28 delegate28)
delegate void SwigDelegateRegularLimit_18()
virtual void RestartSearch()
delegate void SwigDelegateRegularLimit_15()
override void Accept(ModelVisitor visitor)
static bool RegularLimit_CheckSwigExplicitRegularLimit(global::System.Runtime.InteropServices.HandleRef jarg1)
static void RegularLimit_ExitSearchSwigExplicitRegularLimit(global::System.Runtime.InteropServices.HandleRef jarg1)
delegate void SwigDelegateRegularLimit_12()
bool swigCMemOwn
Definition: BaseObject.cs:20
virtual void EndFail()
static int RegularLimit_ProgressPercentSwigExplicitRegularLimit(global::System.Runtime.InteropServices.HandleRef jarg1)
static void RegularLimit_UpdateLimits(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2, long jarg3, long jarg4, long jarg5)
virtual void NoMoreSolutions()
static void RegularLimit_AcceptSwigExplicitRegularLimit(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
virtual void BeginInitialPropagation()
static long RegularLimit_Branches(global::System.Runtime.InteropServices.HandleRef jarg1)
delegate bool SwigDelegateRegularLimit_16()
static global::System.IntPtr RegularLimit_MakeIdenticalClone(global::System.Runtime.InteropServices.HandleRef jarg1)
static void RegularLimit_ExitSearch(global::System.Runtime.InteropServices.HandleRef jarg1)
RegularLimit(Solver s, long time, long branches, long failures, long solutions, bool smart_time_check, bool cumulative)
Definition: RegularLimit.cs:42
static long RegularLimit_Failures(global::System.Runtime.InteropServices.HandleRef jarg1)
RegularLimit MakeIdenticalClone()
Definition: RegularLimit.cs:56
delegate void SwigDelegateRegularLimit_27(global::System.IntPtr limit)
delegate void SwigDelegateRegularLimit_3()
override void Dispose(bool disposing)
Definition: RegularLimit.cs:29
delegate void SwigDelegateRegularLimit_2()
delegate void SwigDelegateRegularLimit_9()
override void EnterSearch()
Definition: SearchLimit.cs:70
override void PeriodicCheck()
Definition: SearchLimit.cs:78
long Failures()
Definition: RegularLimit.cs:89
static global::System.IntPtr RegularLimit_MakeCloneSwigExplicitRegularLimit(global::System.Runtime.InteropServices.HandleRef jarg1)
static void RegularLimit_CopySwigExplicitRegularLimit(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
delegate int SwigDelegateRegularLimit_22()
static int RegularLimit_ProgressPercent(global::System.Runtime.InteropServices.HandleRef jarg1)
delegate void SwigDelegateRegularLimit_4(global::System.IntPtr b)
static void RegularLimit_Accept(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
override void RefuteDecision(Decision d)
Definition: SearchLimit.cs:82
delegate bool SwigDelegateRegularLimit_13()
long Branches()
Definition: RegularLimit.cs:84
virtual void ApplyDecision(Decision d)
virtual bool AcceptDelta(Assignment delta, Assignment deltadelta)
override SearchLimit MakeClone()
Definition: RegularLimit.cs:50
override int ProgressPercent()
delegate void SwigDelegateRegularLimit_19()
delegate void SwigDelegateRegularLimit_26()
override void Copy(SearchLimit limit)
Definition: RegularLimit.cs:46
override string ToString()
override void Init()
Definition: RegularLimit.cs:67
static long RegularLimit_Solutions(global::System.Runtime.InteropServices.HandleRef jarg1)
delegate bool SwigDelegateRegularLimit_25()
delegate global::System.IntPtr SwigDelegateRegularLimit_28()
static global::System.IntPtr RegularLimit_MakeClone(global::System.Runtime.InteropServices.HandleRef jarg1)