DotNet Reference

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