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, SWIGTYPE_p_absl__Duration time, long branches, long failures, long solutions, bool smart_time_check, bool cumulative) : this(operations_research_constraint_solverPINVOKE.new_RegularLimit(Solver.getCPtr(s), SWIGTYPE_p_absl__Duration.getCPtr(time), branches, failures, solutions, smart_time_check, cumulative), true) {
44  SwigDirectorConnect();
45  }
46 
47  public override void Copy(SearchLimit limit) {
48  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));
49  }
50 
51  public override SearchLimit MakeClone() {
52  global::System.IntPtr cPtr = (SwigDerivedClassHasMethod("MakeClone", swigMethodTypes28) ? operations_research_constraint_solverPINVOKE.RegularLimit_MakeCloneSwigExplicitRegularLimit(swigCPtr) : operations_research_constraint_solverPINVOKE.RegularLimit_MakeClone(swigCPtr));
53  SearchLimit ret = (cPtr == global::System.IntPtr.Zero) ? null : new SearchLimit(cPtr, false);
54  return ret;
55  }
56 
59  RegularLimit ret = (cPtr == global::System.IntPtr.Zero) ? null : new RegularLimit(cPtr, false);
60  return ret;
61  }
62 
63  public override bool Check() {
64  bool ret = (SwigDerivedClassHasMethod("Check", swigMethodTypes25) ? operations_research_constraint_solverPINVOKE.RegularLimit_CheckSwigExplicitRegularLimit(swigCPtr) : operations_research_constraint_solverPINVOKE.RegularLimit_Check(swigCPtr));
65  return ret;
66  }
67 
68  public override void Init() {
70  }
71 
72  public override void ExitSearch() {
74  }
75 
76  public void UpdateLimits(long time, long branches, long failures, long solutions) {
77  operations_research_constraint_solverPINVOKE.RegularLimit_UpdateLimits(swigCPtr, time, branches, failures, solutions);
78  }
79 
80  public long WallTime() {
82  return ret;
83  }
84 
85  public long Branches() {
87  return ret;
88  }
89 
90  public long Failures() {
92  return ret;
93  }
94 
95  public long Solutions() {
97  return ret;
98  }
99 
100  public override bool IsUncheckedSolutionLimitReached() {
102  return ret;
103  }
104 
105  public override int ProgressPercent() {
107  return ret;
108  }
109 
110  public override string ToString() {
111  string ret = (SwigDerivedClassHasMethod("ToString", swigMethodTypes0) ? operations_research_constraint_solverPINVOKE.RegularLimit_ToStringSwigExplicitRegularLimit(swigCPtr) : operations_research_constraint_solverPINVOKE.RegularLimit_ToString(swigCPtr));
112  return ret;
113  }
114 
115  public override void Accept(ModelVisitor visitor) {
116  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));
117  }
118 
119  private void SwigDirectorConnect() {
120  if (SwigDerivedClassHasMethod("ToString", swigMethodTypes0))
121  swigDelegate0 = new SwigDelegateRegularLimit_0(SwigDirectorMethodToString);
122  if (SwigDerivedClassHasMethod("EnterSearch", swigMethodTypes1))
123  swigDelegate1 = new SwigDelegateRegularLimit_1(SwigDirectorMethodEnterSearch);
124  if (SwigDerivedClassHasMethod("RestartSearch", swigMethodTypes2))
125  swigDelegate2 = new SwigDelegateRegularLimit_2(SwigDirectorMethodRestartSearch);
126  if (SwigDerivedClassHasMethod("ExitSearch", swigMethodTypes3))
127  swigDelegate3 = new SwigDelegateRegularLimit_3(SwigDirectorMethodExitSearch);
128  if (SwigDerivedClassHasMethod("BeginNextDecision", swigMethodTypes4))
129  swigDelegate4 = new SwigDelegateRegularLimit_4(SwigDirectorMethodBeginNextDecision);
130  if (SwigDerivedClassHasMethod("EndNextDecision", swigMethodTypes5))
131  swigDelegate5 = new SwigDelegateRegularLimit_5(SwigDirectorMethodEndNextDecision);
132  if (SwigDerivedClassHasMethod("ApplyDecision", swigMethodTypes6))
133  swigDelegate6 = new SwigDelegateRegularLimit_6(SwigDirectorMethodApplyDecision);
134  if (SwigDerivedClassHasMethod("RefuteDecision", swigMethodTypes7))
135  swigDelegate7 = new SwigDelegateRegularLimit_7(SwigDirectorMethodRefuteDecision);
136  if (SwigDerivedClassHasMethod("AfterDecision", swigMethodTypes8))
137  swigDelegate8 = new SwigDelegateRegularLimit_8(SwigDirectorMethodAfterDecision);
138  if (SwigDerivedClassHasMethod("BeginFail", swigMethodTypes9))
139  swigDelegate9 = new SwigDelegateRegularLimit_9(SwigDirectorMethodBeginFail);
140  if (SwigDerivedClassHasMethod("EndFail", swigMethodTypes10))
141  swigDelegate10 = new SwigDelegateRegularLimit_10(SwigDirectorMethodEndFail);
142  if (SwigDerivedClassHasMethod("BeginInitialPropagation", swigMethodTypes11))
143  swigDelegate11 = new SwigDelegateRegularLimit_11(SwigDirectorMethodBeginInitialPropagation);
144  if (SwigDerivedClassHasMethod("EndInitialPropagation", swigMethodTypes12))
145  swigDelegate12 = new SwigDelegateRegularLimit_12(SwigDirectorMethodEndInitialPropagation);
146  if (SwigDerivedClassHasMethod("AcceptSolution", swigMethodTypes13))
147  swigDelegate13 = new SwigDelegateRegularLimit_13(SwigDirectorMethodAcceptSolution);
148  if (SwigDerivedClassHasMethod("AtSolution", swigMethodTypes14))
149  swigDelegate14 = new SwigDelegateRegularLimit_14(SwigDirectorMethodAtSolution);
150  if (SwigDerivedClassHasMethod("NoMoreSolutions", swigMethodTypes15))
151  swigDelegate15 = new SwigDelegateRegularLimit_15(SwigDirectorMethodNoMoreSolutions);
152  if (SwigDerivedClassHasMethod("LocalOptimum", swigMethodTypes16))
153  swigDelegate16 = new SwigDelegateRegularLimit_16(SwigDirectorMethodLocalOptimum);
154  if (SwigDerivedClassHasMethod("AcceptDelta", swigMethodTypes17))
155  swigDelegate17 = new SwigDelegateRegularLimit_17(SwigDirectorMethodAcceptDelta);
156  if (SwigDerivedClassHasMethod("AcceptNeighbor", swigMethodTypes18))
157  swigDelegate18 = new SwigDelegateRegularLimit_18(SwigDirectorMethodAcceptNeighbor);
158  if (SwigDerivedClassHasMethod("AcceptUncheckedNeighbor", swigMethodTypes19))
159  swigDelegate19 = new SwigDelegateRegularLimit_19(SwigDirectorMethodAcceptUncheckedNeighbor);
160  if (SwigDerivedClassHasMethod("IsUncheckedSolutionLimitReached", swigMethodTypes20))
161  swigDelegate20 = new SwigDelegateRegularLimit_20(SwigDirectorMethodIsUncheckedSolutionLimitReached);
162  if (SwigDerivedClassHasMethod("PeriodicCheck", swigMethodTypes21))
163  swigDelegate21 = new SwigDelegateRegularLimit_21(SwigDirectorMethodPeriodicCheck);
164  if (SwigDerivedClassHasMethod("ProgressPercent", swigMethodTypes22))
165  swigDelegate22 = new SwigDelegateRegularLimit_22(SwigDirectorMethodProgressPercent);
166  if (SwigDerivedClassHasMethod("Accept", swigMethodTypes23))
167  swigDelegate23 = new SwigDelegateRegularLimit_23(SwigDirectorMethodAccept);
168  if (SwigDerivedClassHasMethod("Install", swigMethodTypes24))
169  swigDelegate24 = new SwigDelegateRegularLimit_24(SwigDirectorMethodInstall);
170  if (SwigDerivedClassHasMethod("Check", swigMethodTypes25))
171  swigDelegate25 = new SwigDelegateRegularLimit_25(SwigDirectorMethodCheck);
172  if (SwigDerivedClassHasMethod("Init", swigMethodTypes26))
173  swigDelegate26 = new SwigDelegateRegularLimit_26(SwigDirectorMethodInit);
174  if (SwigDerivedClassHasMethod("Copy", swigMethodTypes27))
175  swigDelegate27 = new SwigDelegateRegularLimit_27(SwigDirectorMethodCopy);
176  if (SwigDerivedClassHasMethod("MakeClone", swigMethodTypes28))
177  swigDelegate28 = new SwigDelegateRegularLimit_28(SwigDirectorMethodMakeClone);
178  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);
179  }
180 
181  private bool SwigDerivedClassHasMethod(string methodName, global::System.Type[] methodTypes) {
182  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);
183  bool hasDerivedMethod = methodInfo.DeclaringType.IsSubclassOf(typeof(RegularLimit));
184  return hasDerivedMethod;
185  }
186 
187  private string SwigDirectorMethodToString() {
188  return ToString();
189  }
190 
191  private void SwigDirectorMethodEnterSearch() {
192  EnterSearch();
193  }
194 
195  private void SwigDirectorMethodRestartSearch() {
196  RestartSearch();
197  }
198 
199  private void SwigDirectorMethodExitSearch() {
200  ExitSearch();
201  }
202 
203  private void SwigDirectorMethodBeginNextDecision(global::System.IntPtr b) {
204  BeginNextDecision((b == global::System.IntPtr.Zero) ? null : new DecisionBuilder(b, false));
205  }
206 
207  private void SwigDirectorMethodEndNextDecision(global::System.IntPtr b, global::System.IntPtr d) {
208  EndNextDecision((b == global::System.IntPtr.Zero) ? null : new DecisionBuilder(b, false), (d == global::System.IntPtr.Zero) ? null : new Decision(d, false));
209  }
210 
211  private void SwigDirectorMethodApplyDecision(global::System.IntPtr d) {
212  ApplyDecision((d == global::System.IntPtr.Zero) ? null : new Decision(d, false));
213  }
214 
215  private void SwigDirectorMethodRefuteDecision(global::System.IntPtr d) {
216  RefuteDecision((d == global::System.IntPtr.Zero) ? null : new Decision(d, false));
217  }
218 
219  private void SwigDirectorMethodAfterDecision(global::System.IntPtr d, bool apply) {
220  AfterDecision((d == global::System.IntPtr.Zero) ? null : new Decision(d, false), apply);
221  }
222 
223  private void SwigDirectorMethodBeginFail() {
224  BeginFail();
225  }
226 
227  private void SwigDirectorMethodEndFail() {
228  EndFail();
229  }
230 
231  private void SwigDirectorMethodBeginInitialPropagation() {
233  }
234 
235  private void SwigDirectorMethodEndInitialPropagation() {
237  }
238 
239  private bool SwigDirectorMethodAcceptSolution() {
240  return AcceptSolution();
241  }
242 
243  private bool SwigDirectorMethodAtSolution() {
244  return AtSolution();
245  }
246 
247  private void SwigDirectorMethodNoMoreSolutions() {
248  NoMoreSolutions();
249  }
250 
251  private bool SwigDirectorMethodLocalOptimum() {
252  return LocalOptimum();
253  }
254 
255  private bool SwigDirectorMethodAcceptDelta(global::System.IntPtr delta, global::System.IntPtr deltadelta) {
256  return AcceptDelta((delta == global::System.IntPtr.Zero) ? null : new Assignment(delta, false), (deltadelta == global::System.IntPtr.Zero) ? null : new Assignment(deltadelta, false));
257  }
258 
259  private void SwigDirectorMethodAcceptNeighbor() {
260  AcceptNeighbor();
261  }
262 
263  private void SwigDirectorMethodAcceptUncheckedNeighbor() {
265  }
266 
267  private bool SwigDirectorMethodIsUncheckedSolutionLimitReached() {
269  }
270 
271  private void SwigDirectorMethodPeriodicCheck() {
272  PeriodicCheck();
273  }
274 
275  private int SwigDirectorMethodProgressPercent() {
276  return ProgressPercent();
277  }
278 
279  private void SwigDirectorMethodAccept(global::System.IntPtr visitor) {
280  Accept((visitor == global::System.IntPtr.Zero) ? null : new ModelVisitor(visitor, false));
281  }
282 
283  private void SwigDirectorMethodInstall() {
284  Install();
285  }
286 
287  private bool SwigDirectorMethodCheck() {
288  return Check();
289  }
290 
291  private void SwigDirectorMethodInit() {
292  Init();
293  }
294 
295  private void SwigDirectorMethodCopy(global::System.IntPtr limit) {
296  Copy((limit == global::System.IntPtr.Zero) ? null : new SearchLimit(limit, false));
297  }
298 
299  private global::System.IntPtr SwigDirectorMethodMakeClone() {
300  return SearchLimit.getCPtr(MakeClone()).Handle;
301  }
302 
303  public delegate string SwigDelegateRegularLimit_0();
304  public delegate void SwigDelegateRegularLimit_1();
305  public delegate void SwigDelegateRegularLimit_2();
306  public delegate void SwigDelegateRegularLimit_3();
307  public delegate void SwigDelegateRegularLimit_4(global::System.IntPtr b);
308  public delegate void SwigDelegateRegularLimit_5(global::System.IntPtr b, global::System.IntPtr d);
309  public delegate void SwigDelegateRegularLimit_6(global::System.IntPtr d);
310  public delegate void SwigDelegateRegularLimit_7(global::System.IntPtr d);
311  public delegate void SwigDelegateRegularLimit_8(global::System.IntPtr d, bool apply);
312  public delegate void SwigDelegateRegularLimit_9();
313  public delegate void SwigDelegateRegularLimit_10();
314  public delegate void SwigDelegateRegularLimit_11();
315  public delegate void SwigDelegateRegularLimit_12();
316  public delegate bool SwigDelegateRegularLimit_13();
317  public delegate bool SwigDelegateRegularLimit_14();
318  public delegate void SwigDelegateRegularLimit_15();
319  public delegate bool SwigDelegateRegularLimit_16();
320  public delegate bool SwigDelegateRegularLimit_17(global::System.IntPtr delta, global::System.IntPtr deltadelta);
321  public delegate void SwigDelegateRegularLimit_18();
322  public delegate void SwigDelegateRegularLimit_19();
323  public delegate bool SwigDelegateRegularLimit_20();
324  public delegate void SwigDelegateRegularLimit_21();
325  public delegate int SwigDelegateRegularLimit_22();
326  public delegate void SwigDelegateRegularLimit_23(global::System.IntPtr visitor);
327  public delegate void SwigDelegateRegularLimit_24();
328  public delegate bool SwigDelegateRegularLimit_25();
329  public delegate void SwigDelegateRegularLimit_26();
330  public delegate void SwigDelegateRegularLimit_27(global::System.IntPtr limit);
331  public delegate global::System.IntPtr SwigDelegateRegularLimit_28();
332 
333  private SwigDelegateRegularLimit_0 swigDelegate0;
334  private SwigDelegateRegularLimit_1 swigDelegate1;
335  private SwigDelegateRegularLimit_2 swigDelegate2;
336  private SwigDelegateRegularLimit_3 swigDelegate3;
337  private SwigDelegateRegularLimit_4 swigDelegate4;
338  private SwigDelegateRegularLimit_5 swigDelegate5;
339  private SwigDelegateRegularLimit_6 swigDelegate6;
340  private SwigDelegateRegularLimit_7 swigDelegate7;
341  private SwigDelegateRegularLimit_8 swigDelegate8;
342  private SwigDelegateRegularLimit_9 swigDelegate9;
343  private SwigDelegateRegularLimit_10 swigDelegate10;
344  private SwigDelegateRegularLimit_11 swigDelegate11;
345  private SwigDelegateRegularLimit_12 swigDelegate12;
346  private SwigDelegateRegularLimit_13 swigDelegate13;
347  private SwigDelegateRegularLimit_14 swigDelegate14;
348  private SwigDelegateRegularLimit_15 swigDelegate15;
349  private SwigDelegateRegularLimit_16 swigDelegate16;
350  private SwigDelegateRegularLimit_17 swigDelegate17;
351  private SwigDelegateRegularLimit_18 swigDelegate18;
352  private SwigDelegateRegularLimit_19 swigDelegate19;
353  private SwigDelegateRegularLimit_20 swigDelegate20;
354  private SwigDelegateRegularLimit_21 swigDelegate21;
355  private SwigDelegateRegularLimit_22 swigDelegate22;
356  private SwigDelegateRegularLimit_23 swigDelegate23;
357  private SwigDelegateRegularLimit_24 swigDelegate24;
358  private SwigDelegateRegularLimit_25 swigDelegate25;
359  private SwigDelegateRegularLimit_26 swigDelegate26;
360  private SwigDelegateRegularLimit_27 swigDelegate27;
361  private SwigDelegateRegularLimit_28 swigDelegate28;
362 
363  private static global::System.Type[] swigMethodTypes0 = new global::System.Type[] { };
364  private static global::System.Type[] swigMethodTypes1 = new global::System.Type[] { };
365  private static global::System.Type[] swigMethodTypes2 = new global::System.Type[] { };
366  private static global::System.Type[] swigMethodTypes3 = new global::System.Type[] { };
367  private static global::System.Type[] swigMethodTypes4 = new global::System.Type[] { typeof(DecisionBuilder) };
368  private static global::System.Type[] swigMethodTypes5 = new global::System.Type[] { typeof(DecisionBuilder), typeof(Decision) };
369  private static global::System.Type[] swigMethodTypes6 = new global::System.Type[] { typeof(Decision) };
370  private static global::System.Type[] swigMethodTypes7 = new global::System.Type[] { typeof(Decision) };
371  private static global::System.Type[] swigMethodTypes8 = new global::System.Type[] { typeof(Decision), typeof(bool) };
372  private static global::System.Type[] swigMethodTypes9 = new global::System.Type[] { };
373  private static global::System.Type[] swigMethodTypes10 = new global::System.Type[] { };
374  private static global::System.Type[] swigMethodTypes11 = new global::System.Type[] { };
375  private static global::System.Type[] swigMethodTypes12 = new global::System.Type[] { };
376  private static global::System.Type[] swigMethodTypes13 = new global::System.Type[] { };
377  private static global::System.Type[] swigMethodTypes14 = new global::System.Type[] { };
378  private static global::System.Type[] swigMethodTypes15 = new global::System.Type[] { };
379  private static global::System.Type[] swigMethodTypes16 = new global::System.Type[] { };
380  private static global::System.Type[] swigMethodTypes17 = new global::System.Type[] { typeof(Assignment), typeof(Assignment) };
381  private static global::System.Type[] swigMethodTypes18 = new global::System.Type[] { };
382  private static global::System.Type[] swigMethodTypes19 = new global::System.Type[] { };
383  private static global::System.Type[] swigMethodTypes20 = new global::System.Type[] { };
384  private static global::System.Type[] swigMethodTypes21 = new global::System.Type[] { };
385  private static global::System.Type[] swigMethodTypes22 = new global::System.Type[] { };
386  private static global::System.Type[] swigMethodTypes23 = new global::System.Type[] { typeof(ModelVisitor) };
387  private static global::System.Type[] swigMethodTypes24 = new global::System.Type[] { };
388  private static global::System.Type[] swigMethodTypes25 = new global::System.Type[] { };
389  private static global::System.Type[] swigMethodTypes26 = new global::System.Type[] { };
390  private static global::System.Type[] swigMethodTypes27 = new global::System.Type[] { typeof(SearchLimit) };
391  private static global::System.Type[] swigMethodTypes28 = new global::System.Type[] { };
392 }
393 
394 }
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:80
delegate void SwigDelegateRegularLimit_1()
override bool IsUncheckedSolutionLimitReached()
override void ExitSearch()
Definition: RegularLimit.cs:72
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:76
virtual bool AcceptSolution()
static string RegularLimit_ToStringSwigExplicitRegularLimit(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool Pending
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:95
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:63
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)
RegularLimit(Solver s, SWIGTYPE_p_absl__Duration time, long branches, long failures, long solutions, bool smart_time_check, bool cumulative)
Definition: RegularLimit.cs:42
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)
static long RegularLimit_Failures(global::System.Runtime.InteropServices.HandleRef jarg1)
RegularLimit MakeIdenticalClone()
Definition: RegularLimit.cs:57
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:90
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()
static global::System.Exception Retrieve()
long Branches()
Definition: RegularLimit.cs:85
virtual void ApplyDecision(Decision d)
virtual bool AcceptDelta(Assignment delta, Assignment deltadelta)
override SearchLimit MakeClone()
Definition: RegularLimit.cs:51
override int ProgressPercent()
delegate void SwigDelegateRegularLimit_19()
delegate void SwigDelegateRegularLimit_26()
override void Copy(SearchLimit limit)
Definition: RegularLimit.cs:47
override string ToString()
override void Init()
Definition: RegularLimit.cs:68
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)