Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
RegularLimit.cs
Go to the documentation of this file.
1//------------------------------------------------------------------------------
2// <auto-generated />
3//
4// This file was automatically generated by SWIG (https://www.swig.org).
5// Version 4.2.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
13using System;
14using System.Runtime.InteropServices;
15using System.Collections;
16using System.Collections.Generic;
17
18public partial class RegularLimit : SearchLimit {
19 private global::System.Runtime.InteropServices.HandleRef swigCPtr;
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 internal static global::System.Runtime.InteropServices.HandleRef swigRelease(RegularLimit obj) {
30 if (obj != null) {
31 if (!obj.swigCMemOwn)
32 throw new global::System.ApplicationException("Cannot release ownership as memory is not owned");
33 global::System.Runtime.InteropServices.HandleRef ptr = obj.swigCPtr;
34 obj.swigCMemOwn = false;
35 obj.Dispose();
36 return ptr;
37 } else {
38 return new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
39 }
40 }
41
42 protected override void Dispose(bool disposing) {
43 lock(this) {
44 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
45 if (swigCMemOwn) {
46 swigCMemOwn = false;
48 }
49 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
50 }
51 base.Dispose(disposing);
52 }
53 }
54
55 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) {
56 if (operations_research_constraint_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_constraint_solverPINVOKE.SWIGPendingException.Retrieve();
57 SwigDirectorConnect();
58 }
59
60 public override void Copy(SearchLimit limit) {
61 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));
62 }
63
64 public override SearchLimit MakeClone() {
65 global::System.IntPtr cPtr = (SwigDerivedClassHasMethod("MakeClone", swigMethodTypes28) ? operations_research_constraint_solverPINVOKE.RegularLimit_MakeCloneSwigExplicitRegularLimit(swigCPtr) : operations_research_constraint_solverPINVOKE.RegularLimit_MakeClone(swigCPtr));
66 SearchLimit ret = (cPtr == global::System.IntPtr.Zero) ? null : new SearchLimit(cPtr, false);
67 return ret;
68 }
69
72 RegularLimit ret = (cPtr == global::System.IntPtr.Zero) ? null : new RegularLimit(cPtr, false);
73 return ret;
74 }
75
76 public override bool CheckWithOffset(SWIGTYPE_p_absl__Duration offset) {
77 bool ret = (SwigDerivedClassHasMethod("CheckWithOffset", swigMethodTypes25) ? operations_research_constraint_solverPINVOKE.RegularLimit_CheckWithOffsetSwigExplicitRegularLimit(swigCPtr, SWIGTYPE_p_absl__Duration.getCPtr(offset)) : operations_research_constraint_solverPINVOKE.RegularLimit_CheckWithOffset(swigCPtr, SWIGTYPE_p_absl__Duration.getCPtr(offset)));
84 }
85
86 public override void ExitSearch() {
88 }
89
90 public void UpdateLimits(SWIGTYPE_p_absl__Duration time, long branches, long failures, long solutions) {
91 operations_research_constraint_solverPINVOKE.RegularLimit_UpdateLimits(swigCPtr, SWIGTYPE_p_absl__Duration.getCPtr(time), branches, failures, solutions);
97 return ret;
98 }
99
100 public long Branches() {
102 return ret;
103 }
104
105 public long Failures() {
107 return ret;
108 }
109
110 public long Solutions() {
112 return ret;
113 }
114
115 public override bool IsUncheckedSolutionLimitReached() {
117 return ret;
118 }
119
120 public override int ProgressPercent() {
122 return ret;
123 }
124
125 public override string ToString() {
126 string ret = (SwigDerivedClassHasMethod("ToString", swigMethodTypes0) ? operations_research_constraint_solverPINVOKE.RegularLimit_ToStringSwigExplicitRegularLimit(swigCPtr) : operations_research_constraint_solverPINVOKE.RegularLimit_ToString(swigCPtr));
127 return ret;
128 }
129
130 public override void Install() {
133
134 public override void Accept(ModelVisitor visitor) {
135 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));
137
138 private void SwigDirectorConnect() {
139 if (SwigDerivedClassHasMethod("ToString", swigMethodTypes0))
140 swigDelegate0 = new SwigDelegateRegularLimit_0(SwigDirectorMethodToString);
141 if (SwigDerivedClassHasMethod("EnterSearch", swigMethodTypes1))
142 swigDelegate1 = new SwigDelegateRegularLimit_1(SwigDirectorMethodEnterSearch);
143 if (SwigDerivedClassHasMethod("RestartSearch", swigMethodTypes2))
144 swigDelegate2 = new SwigDelegateRegularLimit_2(SwigDirectorMethodRestartSearch);
145 if (SwigDerivedClassHasMethod("ExitSearch", swigMethodTypes3))
146 swigDelegate3 = new SwigDelegateRegularLimit_3(SwigDirectorMethodExitSearch);
147 if (SwigDerivedClassHasMethod("BeginNextDecision", swigMethodTypes4))
148 swigDelegate4 = new SwigDelegateRegularLimit_4(SwigDirectorMethodBeginNextDecision);
149 if (SwigDerivedClassHasMethod("EndNextDecision", swigMethodTypes5))
150 swigDelegate5 = new SwigDelegateRegularLimit_5(SwigDirectorMethodEndNextDecision);
151 if (SwigDerivedClassHasMethod("ApplyDecision", swigMethodTypes6))
152 swigDelegate6 = new SwigDelegateRegularLimit_6(SwigDirectorMethodApplyDecision);
153 if (SwigDerivedClassHasMethod("RefuteDecision", swigMethodTypes7))
154 swigDelegate7 = new SwigDelegateRegularLimit_7(SwigDirectorMethodRefuteDecision);
155 if (SwigDerivedClassHasMethod("AfterDecision", swigMethodTypes8))
156 swigDelegate8 = new SwigDelegateRegularLimit_8(SwigDirectorMethodAfterDecision);
157 if (SwigDerivedClassHasMethod("BeginFail", swigMethodTypes9))
158 swigDelegate9 = new SwigDelegateRegularLimit_9(SwigDirectorMethodBeginFail);
159 if (SwigDerivedClassHasMethod("EndFail", swigMethodTypes10))
160 swigDelegate10 = new SwigDelegateRegularLimit_10(SwigDirectorMethodEndFail);
161 if (SwigDerivedClassHasMethod("BeginInitialPropagation", swigMethodTypes11))
162 swigDelegate11 = new SwigDelegateRegularLimit_11(SwigDirectorMethodBeginInitialPropagation);
163 if (SwigDerivedClassHasMethod("EndInitialPropagation", swigMethodTypes12))
164 swigDelegate12 = new SwigDelegateRegularLimit_12(SwigDirectorMethodEndInitialPropagation);
165 if (SwigDerivedClassHasMethod("AcceptSolution", swigMethodTypes13))
166 swigDelegate13 = new SwigDelegateRegularLimit_13(SwigDirectorMethodAcceptSolution);
167 if (SwigDerivedClassHasMethod("AtSolution", swigMethodTypes14))
168 swigDelegate14 = new SwigDelegateRegularLimit_14(SwigDirectorMethodAtSolution);
169 if (SwigDerivedClassHasMethod("NoMoreSolutions", swigMethodTypes15))
170 swigDelegate15 = new SwigDelegateRegularLimit_15(SwigDirectorMethodNoMoreSolutions);
171 if (SwigDerivedClassHasMethod("LocalOptimum", swigMethodTypes16))
172 swigDelegate16 = new SwigDelegateRegularLimit_16(SwigDirectorMethodLocalOptimum);
173 if (SwigDerivedClassHasMethod("AcceptDelta", swigMethodTypes17))
174 swigDelegate17 = new SwigDelegateRegularLimit_17(SwigDirectorMethodAcceptDelta);
175 if (SwigDerivedClassHasMethod("AcceptNeighbor", swigMethodTypes18))
176 swigDelegate18 = new SwigDelegateRegularLimit_18(SwigDirectorMethodAcceptNeighbor);
177 if (SwigDerivedClassHasMethod("AcceptUncheckedNeighbor", swigMethodTypes19))
178 swigDelegate19 = new SwigDelegateRegularLimit_19(SwigDirectorMethodAcceptUncheckedNeighbor);
179 if (SwigDerivedClassHasMethod("IsUncheckedSolutionLimitReached", swigMethodTypes20))
180 swigDelegate20 = new SwigDelegateRegularLimit_20(SwigDirectorMethodIsUncheckedSolutionLimitReached);
181 if (SwigDerivedClassHasMethod("PeriodicCheck", swigMethodTypes21))
182 swigDelegate21 = new SwigDelegateRegularLimit_21(SwigDirectorMethodPeriodicCheck);
183 if (SwigDerivedClassHasMethod("ProgressPercent", swigMethodTypes22))
184 swigDelegate22 = new SwigDelegateRegularLimit_22(SwigDirectorMethodProgressPercent);
185 if (SwigDerivedClassHasMethod("Accept", swigMethodTypes23))
186 swigDelegate23 = new SwigDelegateRegularLimit_23(SwigDirectorMethodAccept);
187 if (SwigDerivedClassHasMethod("Install", swigMethodTypes24))
188 swigDelegate24 = new SwigDelegateRegularLimit_24(SwigDirectorMethodInstall);
189 if (SwigDerivedClassHasMethod("CheckWithOffset", swigMethodTypes25))
190 swigDelegate25 = new SwigDelegateRegularLimit_25(SwigDirectorMethodCheckWithOffset);
191 if (SwigDerivedClassHasMethod("Init", swigMethodTypes26))
192 swigDelegate26 = new SwigDelegateRegularLimit_26(SwigDirectorMethodInit);
193 if (SwigDerivedClassHasMethod("Copy", swigMethodTypes27))
194 swigDelegate27 = new SwigDelegateRegularLimit_27(SwigDirectorMethodCopy);
195 if (SwigDerivedClassHasMethod("MakeClone", swigMethodTypes28))
196 swigDelegate28 = new SwigDelegateRegularLimit_28(SwigDirectorMethodMakeClone);
197 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);
198 }
199
200 private bool SwigDerivedClassHasMethod(string methodName, global::System.Type[] methodTypes) {
201 global::System.Reflection.MethodInfo[] methodInfos = this.GetType().GetMethods(
202 global::System.Reflection.BindingFlags.Public | global::System.Reflection.BindingFlags.NonPublic | global::System.Reflection.BindingFlags.Instance);
203 foreach (global::System.Reflection.MethodInfo methodInfo in methodInfos) {
204 if (methodInfo.DeclaringType == null)
205 continue;
206
207 if (methodInfo.Name != methodName)
208 continue;
209
210 var parameters = methodInfo.GetParameters();
211 if (parameters.Length != methodTypes.Length)
212 continue;
213
214 bool parametersMatch = true;
215 for (var i = 0; i < parameters.Length; i++) {
216 if (parameters[i].ParameterType != methodTypes[i]) {
217 parametersMatch = false;
218 break;
219 }
220 }
221
222 if (!parametersMatch)
223 continue;
224
225 if (methodInfo.IsVirtual && (methodInfo.DeclaringType.IsSubclassOf(typeof(RegularLimit))) &&
226 methodInfo.DeclaringType != methodInfo.GetBaseDefinition().DeclaringType) {
227 return true;
228 }
229 }
230
231 return false;
232 }
233
234 private string SwigDirectorMethodToString() {
235 return ToString();
236 }
237
238 private void SwigDirectorMethodEnterSearch() {
239 EnterSearch();
240 }
241
242 private void SwigDirectorMethodRestartSearch() {
244 }
245
246 private void SwigDirectorMethodExitSearch() {
247 ExitSearch();
248 }
249
250 private void SwigDirectorMethodBeginNextDecision(global::System.IntPtr b) {
251 BeginNextDecision((b == global::System.IntPtr.Zero) ? null : new DecisionBuilder(b, false));
252 }
253
254 private void SwigDirectorMethodEndNextDecision(global::System.IntPtr b, global::System.IntPtr d) {
255 EndNextDecision((b == global::System.IntPtr.Zero) ? null : new DecisionBuilder(b, false), (d == global::System.IntPtr.Zero) ? null : new Decision(d, false));
256 }
257
258 private void SwigDirectorMethodApplyDecision(global::System.IntPtr d) {
259 ApplyDecision((d == global::System.IntPtr.Zero) ? null : new Decision(d, false));
260 }
261
262 private void SwigDirectorMethodRefuteDecision(global::System.IntPtr d) {
263 RefuteDecision((d == global::System.IntPtr.Zero) ? null : new Decision(d, false));
264 }
265
266 private void SwigDirectorMethodAfterDecision(global::System.IntPtr d, bool apply) {
267 AfterDecision((d == global::System.IntPtr.Zero) ? null : new Decision(d, false), apply);
268 }
269
270 private void SwigDirectorMethodBeginFail() {
271 BeginFail();
272 }
273
274 private void SwigDirectorMethodEndFail() {
275 EndFail();
276 }
277
278 private void SwigDirectorMethodBeginInitialPropagation() {
280 }
281
282 private void SwigDirectorMethodEndInitialPropagation() {
284 }
285
286 private bool SwigDirectorMethodAcceptSolution() {
287 return AcceptSolution();
288 }
289
290 private bool SwigDirectorMethodAtSolution() {
291 return AtSolution();
292 }
293
294 private void SwigDirectorMethodNoMoreSolutions() {
296 }
297
298 private bool SwigDirectorMethodLocalOptimum() {
299 return LocalOptimum();
300 }
301
302 private bool SwigDirectorMethodAcceptDelta(global::System.IntPtr delta, global::System.IntPtr deltadelta) {
303 return AcceptDelta((delta == global::System.IntPtr.Zero) ? null : new Assignment(delta, false), (deltadelta == global::System.IntPtr.Zero) ? null : new Assignment(deltadelta, false));
304 }
305
306 private void SwigDirectorMethodAcceptNeighbor() {
308 }
309
310 private void SwigDirectorMethodAcceptUncheckedNeighbor() {
312 }
313
314 private bool SwigDirectorMethodIsUncheckedSolutionLimitReached() {
316 }
317
318 private void SwigDirectorMethodPeriodicCheck() {
320 }
321
322 private int SwigDirectorMethodProgressPercent() {
323 return ProgressPercent();
324 }
325
326 private void SwigDirectorMethodAccept(global::System.IntPtr visitor) {
327 Accept((visitor == global::System.IntPtr.Zero) ? null : new ModelVisitor(visitor, false));
328 }
329
330 private void SwigDirectorMethodInstall() {
331 Install();
332 }
333
334 private bool SwigDirectorMethodCheckWithOffset(global::System.IntPtr offset) {
335 return CheckWithOffset(new SWIGTYPE_p_absl__Duration(offset, true));
336 }
337
338 private void SwigDirectorMethodInit() {
339 Init();
340 }
341
342 private void SwigDirectorMethodCopy(global::System.IntPtr limit) {
343 Copy((limit == global::System.IntPtr.Zero) ? null : new SearchLimit(limit, false));
344 }
345
346 private global::System.IntPtr SwigDirectorMethodMakeClone() {
347 return SearchLimit.getCPtr(MakeClone()).Handle;
348 }
349
350 public delegate string SwigDelegateRegularLimit_0();
351 public delegate void SwigDelegateRegularLimit_1();
352 public delegate void SwigDelegateRegularLimit_2();
353 public delegate void SwigDelegateRegularLimit_3();
354 public delegate void SwigDelegateRegularLimit_4(global::System.IntPtr b);
355 public delegate void SwigDelegateRegularLimit_5(global::System.IntPtr b, global::System.IntPtr d);
356 public delegate void SwigDelegateRegularLimit_6(global::System.IntPtr d);
357 public delegate void SwigDelegateRegularLimit_7(global::System.IntPtr d);
358 public delegate void SwigDelegateRegularLimit_8(global::System.IntPtr d, bool apply);
359 public delegate void SwigDelegateRegularLimit_9();
360 public delegate void SwigDelegateRegularLimit_10();
361 public delegate void SwigDelegateRegularLimit_11();
362 public delegate void SwigDelegateRegularLimit_12();
363 public delegate bool SwigDelegateRegularLimit_13();
364 public delegate bool SwigDelegateRegularLimit_14();
365 public delegate void SwigDelegateRegularLimit_15();
366 public delegate bool SwigDelegateRegularLimit_16();
367 public delegate bool SwigDelegateRegularLimit_17(global::System.IntPtr delta, global::System.IntPtr deltadelta);
368 public delegate void SwigDelegateRegularLimit_18();
369 public delegate void SwigDelegateRegularLimit_19();
370 public delegate bool SwigDelegateRegularLimit_20();
371 public delegate void SwigDelegateRegularLimit_21();
372 public delegate int SwigDelegateRegularLimit_22();
373 public delegate void SwigDelegateRegularLimit_23(global::System.IntPtr visitor);
374 public delegate void SwigDelegateRegularLimit_24();
375 public delegate bool SwigDelegateRegularLimit_25(global::System.IntPtr offset);
376 public delegate void SwigDelegateRegularLimit_26();
377 public delegate void SwigDelegateRegularLimit_27(global::System.IntPtr limit);
378 public delegate global::System.IntPtr SwigDelegateRegularLimit_28();
380 private SwigDelegateRegularLimit_0 swigDelegate0;
381 private SwigDelegateRegularLimit_1 swigDelegate1;
382 private SwigDelegateRegularLimit_2 swigDelegate2;
383 private SwigDelegateRegularLimit_3 swigDelegate3;
384 private SwigDelegateRegularLimit_4 swigDelegate4;
385 private SwigDelegateRegularLimit_5 swigDelegate5;
386 private SwigDelegateRegularLimit_6 swigDelegate6;
387 private SwigDelegateRegularLimit_7 swigDelegate7;
388 private SwigDelegateRegularLimit_8 swigDelegate8;
389 private SwigDelegateRegularLimit_9 swigDelegate9;
390 private SwigDelegateRegularLimit_10 swigDelegate10;
391 private SwigDelegateRegularLimit_11 swigDelegate11;
392 private SwigDelegateRegularLimit_12 swigDelegate12;
393 private SwigDelegateRegularLimit_13 swigDelegate13;
394 private SwigDelegateRegularLimit_14 swigDelegate14;
395 private SwigDelegateRegularLimit_15 swigDelegate15;
396 private SwigDelegateRegularLimit_16 swigDelegate16;
397 private SwigDelegateRegularLimit_17 swigDelegate17;
398 private SwigDelegateRegularLimit_18 swigDelegate18;
399 private SwigDelegateRegularLimit_19 swigDelegate19;
400 private SwigDelegateRegularLimit_20 swigDelegate20;
401 private SwigDelegateRegularLimit_21 swigDelegate21;
402 private SwigDelegateRegularLimit_22 swigDelegate22;
403 private SwigDelegateRegularLimit_23 swigDelegate23;
404 private SwigDelegateRegularLimit_24 swigDelegate24;
405 private SwigDelegateRegularLimit_25 swigDelegate25;
406 private SwigDelegateRegularLimit_26 swigDelegate26;
407 private SwigDelegateRegularLimit_27 swigDelegate27;
408 private SwigDelegateRegularLimit_28 swigDelegate28;
409
410 private static global::System.Type[] swigMethodTypes0 = new global::System.Type[] { };
411 private static global::System.Type[] swigMethodTypes1 = new global::System.Type[] { };
412 private static global::System.Type[] swigMethodTypes2 = new global::System.Type[] { };
413 private static global::System.Type[] swigMethodTypes3 = new global::System.Type[] { };
414 private static global::System.Type[] swigMethodTypes4 = new global::System.Type[] { typeof(DecisionBuilder) };
415 private static global::System.Type[] swigMethodTypes5 = new global::System.Type[] { typeof(DecisionBuilder), typeof(Decision) };
416 private static global::System.Type[] swigMethodTypes6 = new global::System.Type[] { typeof(Decision) };
417 private static global::System.Type[] swigMethodTypes7 = new global::System.Type[] { typeof(Decision) };
418 private static global::System.Type[] swigMethodTypes8 = new global::System.Type[] { typeof(Decision), typeof(bool) };
419 private static global::System.Type[] swigMethodTypes9 = new global::System.Type[] { };
420 private static global::System.Type[] swigMethodTypes10 = new global::System.Type[] { };
421 private static global::System.Type[] swigMethodTypes11 = new global::System.Type[] { };
422 private static global::System.Type[] swigMethodTypes12 = new global::System.Type[] { };
423 private static global::System.Type[] swigMethodTypes13 = new global::System.Type[] { };
424 private static global::System.Type[] swigMethodTypes14 = new global::System.Type[] { };
425 private static global::System.Type[] swigMethodTypes15 = new global::System.Type[] { };
426 private static global::System.Type[] swigMethodTypes16 = new global::System.Type[] { };
427 private static global::System.Type[] swigMethodTypes17 = new global::System.Type[] { typeof(Assignment), typeof(Assignment) };
428 private static global::System.Type[] swigMethodTypes18 = new global::System.Type[] { };
429 private static global::System.Type[] swigMethodTypes19 = new global::System.Type[] { };
430 private static global::System.Type[] swigMethodTypes20 = new global::System.Type[] { };
431 private static global::System.Type[] swigMethodTypes21 = new global::System.Type[] { };
432 private static global::System.Type[] swigMethodTypes22 = new global::System.Type[] { };
433 private static global::System.Type[] swigMethodTypes23 = new global::System.Type[] { typeof(ModelVisitor) };
434 private static global::System.Type[] swigMethodTypes24 = new global::System.Type[] { };
435 private static global::System.Type[] swigMethodTypes25 = new global::System.Type[] { typeof(SWIGTYPE_p_absl__Duration) };
436 private static global::System.Type[] swigMethodTypes26 = new global::System.Type[] { };
437 private static global::System.Type[] swigMethodTypes27 = new global::System.Type[] { typeof(SearchLimit) };
438 private static global::System.Type[] swigMethodTypes28 = new global::System.Type[] { };
439}
440
441}
override void Accept(ModelVisitor visitor)
delegate bool SwigDelegateRegularLimit_17(global::System.IntPtr delta, global::System.IntPtr deltadelta)
delegate void SwigDelegateRegularLimit_8(global::System.IntPtr d, bool apply)
delegate void SwigDelegateRegularLimit_23(global::System.IntPtr visitor)
delegate void SwigDelegateRegularLimit_27(global::System.IntPtr limit)
delegate void SwigDelegateRegularLimit_6(global::System.IntPtr d)
delegate void SwigDelegateRegularLimit_4(global::System.IntPtr b)
delegate void SwigDelegateRegularLimit_5(global::System.IntPtr b, global::System.IntPtr d)
override bool CheckWithOffset(SWIGTYPE_p_absl__Duration offset)
delegate void SwigDelegateRegularLimit_7(global::System.IntPtr d)
delegate global::System.IntPtr SwigDelegateRegularLimit_28()
delegate bool SwigDelegateRegularLimit_25(global::System.IntPtr offset)
void UpdateLimits(SWIGTYPE_p_absl__Duration time, long branches, long failures, long solutions)
override void Copy(SearchLimit limit)
override void RefuteDecision(Decision d)
override void BeginNextDecision(DecisionBuilder b)
virtual void AfterDecision(Decision d, bool apply)
virtual bool AcceptDelta(Assignment delta, Assignment deltadelta)
virtual void EndNextDecision(DecisionBuilder b, Decision d)
static void RegularLimit_CopySwigExplicitRegularLimit(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void RegularLimit_ExitSearchSwigExplicitRegularLimit(global::System.Runtime.InteropServices.HandleRef jarg1)
static void RegularLimit_ExitSearch(global::System.Runtime.InteropServices.HandleRef jarg1)
static void RegularLimit_Accept(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void delete_RegularLimit(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool RegularLimit_CheckWithOffset(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void RegularLimit_Copy(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void RegularLimit_InitSwigExplicitRegularLimit(global::System.Runtime.InteropServices.HandleRef jarg1)
static long RegularLimit_Failures(global::System.Runtime.InteropServices.HandleRef jarg1)
static void RegularLimit_UpdateLimits(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, long jarg3, long jarg4, long jarg5)
static long RegularLimit_Solutions(global::System.Runtime.InteropServices.HandleRef jarg1)
static string RegularLimit_ToStringSwigExplicitRegularLimit(global::System.Runtime.InteropServices.HandleRef jarg1)
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)
static bool RegularLimit_IsUncheckedSolutionLimitReached(global::System.Runtime.InteropServices.HandleRef jarg1)
static long RegularLimit_Branches(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr RegularLimit_MakeCloneSwigExplicitRegularLimit(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr RegularLimit_MakeClone(global::System.Runtime.InteropServices.HandleRef jarg1)
static void RegularLimit_Install(global::System.Runtime.InteropServices.HandleRef jarg1)
static void RegularLimit_InstallSwigExplicitRegularLimit(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool RegularLimit_CheckWithOffsetSwigExplicitRegularLimit(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr RegularLimit_MakeIdenticalClone(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool RegularLimit_IsUncheckedSolutionLimitReachedSwigExplicitRegularLimit(global::System.Runtime.InteropServices.HandleRef jarg1)
static long RegularLimit_WallTime(global::System.Runtime.InteropServices.HandleRef jarg1)
static int RegularLimit_ProgressPercentSwigExplicitRegularLimit(global::System.Runtime.InteropServices.HandleRef jarg1)
static int RegularLimit_ProgressPercent(global::System.Runtime.InteropServices.HandleRef jarg1)
static void RegularLimit_AcceptSwigExplicitRegularLimit(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static string RegularLimit_ToString(global::System.Runtime.InteropServices.HandleRef jarg1)
static void RegularLimit_Init(global::System.Runtime.InteropServices.HandleRef jarg1)