DotNet Reference

.Net Reference

SolutionCollector.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 SolutionCollector : SearchMonitor {
19  private global::System.Runtime.InteropServices.HandleRef swigCPtr;
20 
21  internal SolutionCollector(global::System.IntPtr cPtr, bool cMemoryOwn) : base(operations_research_constraint_solverPINVOKE.SolutionCollector_SWIGUpcast(cPtr), cMemoryOwn) {
22  swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
23  }
24 
25  internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SolutionCollector 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 SolutionCollector(Solver solver, Assignment assignment) : this(operations_research_constraint_solverPINVOKE.new_SolutionCollector__SWIG_0(Solver.getCPtr(solver), Assignment.getCPtr(assignment)), true) {
43  SwigDirectorConnect();
44  }
45 
46  public SolutionCollector(Solver solver) : this(operations_research_constraint_solverPINVOKE.new_SolutionCollector__SWIG_1(Solver.getCPtr(solver)), true) {
47  SwigDirectorConnect();
48  }
49 
50  public override string ToString() {
52  return ret;
53  }
54 
55  public void Add(IntVar var) {
57  }
58 
59  public void Add(IntVarVector vars) {
62  }
63 
64  public void Add(IntervalVar var) {
66  }
67 
68  public void Add(IntervalVarVector vars) {
71  }
72 
73  public void Add(SequenceVar var) {
75  }
76 
77  public void Add(SequenceVarVector vars) {
80  }
81 
82  public void AddObjective(IntVar objective) {
84  }
85 
86  public override void EnterSearch() {
88  }
89 
90  public int SolutionCount() {
92  return ret;
93  }
94 
95  public Assignment Solution(int n) {
97  Assignment ret = (cPtr == global::System.IntPtr.Zero) ? null : new Assignment(cPtr, false);
98  return ret;
99  }
100 
101  public long WallTime(int n) {
103  return ret;
104  }
105 
106  public long Branches(int n) {
108  return ret;
109  }
110 
111  public long Failures(int n) {
113  return ret;
114  }
115 
116  public long ObjectiveValue(int n) {
118  return ret;
119  }
120 
121  public long Value(int n, IntVar var) {
123  return ret;
124  }
125 
126  public long StartValue(int n, IntervalVar var) {
128  return ret;
129  }
130 
131  public long EndValue(int n, IntervalVar var) {
133  return ret;
134  }
135 
136  public long DurationValue(int n, IntervalVar var) {
138  return ret;
139  }
140 
141  public long PerformedValue(int n, IntervalVar var) {
143  return ret;
144  }
145 
146  public int[] ForwardSequence(int n, SequenceVar var) {
148  IntVector tmpVector = null;
149  if (cPtr != global::System.IntPtr.Zero) {
150  tmpVector = new IntVector(cPtr, true);
151  int[] outArray = new int[tmpVector.Count];
152  tmpVector.CopyTo(outArray);
153  return outArray;
154  }
155  return null;
156 }
157 
158  public int[] BackwardSequence(int n, SequenceVar var) {
160  IntVector tmpVector = null;
161  if (cPtr != global::System.IntPtr.Zero) {
162  tmpVector = new IntVector(cPtr, true);
163  int[] outArray = new int[tmpVector.Count];
164  tmpVector.CopyTo(outArray);
165  return outArray;
166  }
167  return null;
168 }
169 
170  public int[] Unperformed(int n, SequenceVar var) {
172  IntVector tmpVector = null;
173  if (cPtr != global::System.IntPtr.Zero) {
174  tmpVector = new IntVector(cPtr, true);
175  int[] outArray = new int[tmpVector.Count];
176  tmpVector.CopyTo(outArray);
177  return outArray;
178  }
179  return null;
180 }
181 
182  private void SwigDirectorConnect() {
183  if (SwigDerivedClassHasMethod("ToString", swigMethodTypes0))
184  swigDelegate0 = new SwigDelegateSolutionCollector_0(SwigDirectorMethodToString);
185  if (SwigDerivedClassHasMethod("EnterSearch", swigMethodTypes1))
186  swigDelegate1 = new SwigDelegateSolutionCollector_1(SwigDirectorMethodEnterSearch);
187  if (SwigDerivedClassHasMethod("RestartSearch", swigMethodTypes2))
188  swigDelegate2 = new SwigDelegateSolutionCollector_2(SwigDirectorMethodRestartSearch);
189  if (SwigDerivedClassHasMethod("ExitSearch", swigMethodTypes3))
190  swigDelegate3 = new SwigDelegateSolutionCollector_3(SwigDirectorMethodExitSearch);
191  if (SwigDerivedClassHasMethod("BeginNextDecision", swigMethodTypes4))
192  swigDelegate4 = new SwigDelegateSolutionCollector_4(SwigDirectorMethodBeginNextDecision);
193  if (SwigDerivedClassHasMethod("EndNextDecision", swigMethodTypes5))
194  swigDelegate5 = new SwigDelegateSolutionCollector_5(SwigDirectorMethodEndNextDecision);
195  if (SwigDerivedClassHasMethod("ApplyDecision", swigMethodTypes6))
196  swigDelegate6 = new SwigDelegateSolutionCollector_6(SwigDirectorMethodApplyDecision);
197  if (SwigDerivedClassHasMethod("RefuteDecision", swigMethodTypes7))
198  swigDelegate7 = new SwigDelegateSolutionCollector_7(SwigDirectorMethodRefuteDecision);
199  if (SwigDerivedClassHasMethod("AfterDecision", swigMethodTypes8))
200  swigDelegate8 = new SwigDelegateSolutionCollector_8(SwigDirectorMethodAfterDecision);
201  if (SwigDerivedClassHasMethod("BeginFail", swigMethodTypes9))
202  swigDelegate9 = new SwigDelegateSolutionCollector_9(SwigDirectorMethodBeginFail);
203  if (SwigDerivedClassHasMethod("EndFail", swigMethodTypes10))
204  swigDelegate10 = new SwigDelegateSolutionCollector_10(SwigDirectorMethodEndFail);
205  if (SwigDerivedClassHasMethod("BeginInitialPropagation", swigMethodTypes11))
206  swigDelegate11 = new SwigDelegateSolutionCollector_11(SwigDirectorMethodBeginInitialPropagation);
207  if (SwigDerivedClassHasMethod("EndInitialPropagation", swigMethodTypes12))
208  swigDelegate12 = new SwigDelegateSolutionCollector_12(SwigDirectorMethodEndInitialPropagation);
209  if (SwigDerivedClassHasMethod("AcceptSolution", swigMethodTypes13))
210  swigDelegate13 = new SwigDelegateSolutionCollector_13(SwigDirectorMethodAcceptSolution);
211  if (SwigDerivedClassHasMethod("AtSolution", swigMethodTypes14))
212  swigDelegate14 = new SwigDelegateSolutionCollector_14(SwigDirectorMethodAtSolution);
213  if (SwigDerivedClassHasMethod("NoMoreSolutions", swigMethodTypes15))
214  swigDelegate15 = new SwigDelegateSolutionCollector_15(SwigDirectorMethodNoMoreSolutions);
215  if (SwigDerivedClassHasMethod("LocalOptimum", swigMethodTypes16))
216  swigDelegate16 = new SwigDelegateSolutionCollector_16(SwigDirectorMethodLocalOptimum);
217  if (SwigDerivedClassHasMethod("AcceptDelta", swigMethodTypes17))
218  swigDelegate17 = new SwigDelegateSolutionCollector_17(SwigDirectorMethodAcceptDelta);
219  if (SwigDerivedClassHasMethod("AcceptNeighbor", swigMethodTypes18))
220  swigDelegate18 = new SwigDelegateSolutionCollector_18(SwigDirectorMethodAcceptNeighbor);
221  if (SwigDerivedClassHasMethod("AcceptUncheckedNeighbor", swigMethodTypes19))
222  swigDelegate19 = new SwigDelegateSolutionCollector_19(SwigDirectorMethodAcceptUncheckedNeighbor);
223  if (SwigDerivedClassHasMethod("IsUncheckedSolutionLimitReached", swigMethodTypes20))
224  swigDelegate20 = new SwigDelegateSolutionCollector_20(SwigDirectorMethodIsUncheckedSolutionLimitReached);
225  if (SwigDerivedClassHasMethod("PeriodicCheck", swigMethodTypes21))
226  swigDelegate21 = new SwigDelegateSolutionCollector_21(SwigDirectorMethodPeriodicCheck);
227  if (SwigDerivedClassHasMethod("ProgressPercent", swigMethodTypes22))
228  swigDelegate22 = new SwigDelegateSolutionCollector_22(SwigDirectorMethodProgressPercent);
229  if (SwigDerivedClassHasMethod("Accept", swigMethodTypes23))
230  swigDelegate23 = new SwigDelegateSolutionCollector_23(SwigDirectorMethodAccept);
231  if (SwigDerivedClassHasMethod("Install", swigMethodTypes24))
232  swigDelegate24 = new SwigDelegateSolutionCollector_24(SwigDirectorMethodInstall);
233  operations_research_constraint_solverPINVOKE.SolutionCollector_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);
234  }
235 
236  private bool SwigDerivedClassHasMethod(string methodName, global::System.Type[] methodTypes) {
237  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);
238  bool hasDerivedMethod = methodInfo.DeclaringType.IsSubclassOf(typeof(SolutionCollector));
239  return hasDerivedMethod;
240  }
241 
242  private string SwigDirectorMethodToString() {
243  return ToString();
244  }
245 
246  private void SwigDirectorMethodEnterSearch() {
247  EnterSearch();
248  }
249 
250  private void SwigDirectorMethodRestartSearch() {
251  RestartSearch();
252  }
253 
254  private void SwigDirectorMethodExitSearch() {
255  ExitSearch();
256  }
257 
258  private void SwigDirectorMethodBeginNextDecision(global::System.IntPtr b) {
259  BeginNextDecision((b == global::System.IntPtr.Zero) ? null : new DecisionBuilder(b, false));
260  }
261 
262  private void SwigDirectorMethodEndNextDecision(global::System.IntPtr b, global::System.IntPtr d) {
263  EndNextDecision((b == global::System.IntPtr.Zero) ? null : new DecisionBuilder(b, false), (d == global::System.IntPtr.Zero) ? null : new Decision(d, false));
264  }
265 
266  private void SwigDirectorMethodApplyDecision(global::System.IntPtr d) {
267  ApplyDecision((d == global::System.IntPtr.Zero) ? null : new Decision(d, false));
268  }
269 
270  private void SwigDirectorMethodRefuteDecision(global::System.IntPtr d) {
271  RefuteDecision((d == global::System.IntPtr.Zero) ? null : new Decision(d, false));
272  }
273 
274  private void SwigDirectorMethodAfterDecision(global::System.IntPtr d, bool apply) {
275  AfterDecision((d == global::System.IntPtr.Zero) ? null : new Decision(d, false), apply);
276  }
277 
278  private void SwigDirectorMethodBeginFail() {
279  BeginFail();
280  }
281 
282  private void SwigDirectorMethodEndFail() {
283  EndFail();
284  }
285 
286  private void SwigDirectorMethodBeginInitialPropagation() {
288  }
289 
290  private void SwigDirectorMethodEndInitialPropagation() {
292  }
293 
294  private bool SwigDirectorMethodAcceptSolution() {
295  return AcceptSolution();
296  }
297 
298  private bool SwigDirectorMethodAtSolution() {
299  return AtSolution();
300  }
301 
302  private void SwigDirectorMethodNoMoreSolutions() {
303  NoMoreSolutions();
304  }
305 
306  private bool SwigDirectorMethodLocalOptimum() {
307  return LocalOptimum();
308  }
309 
310  private bool SwigDirectorMethodAcceptDelta(global::System.IntPtr delta, global::System.IntPtr deltadelta) {
311  return AcceptDelta((delta == global::System.IntPtr.Zero) ? null : new Assignment(delta, false), (deltadelta == global::System.IntPtr.Zero) ? null : new Assignment(deltadelta, false));
312  }
313 
314  private void SwigDirectorMethodAcceptNeighbor() {
315  AcceptNeighbor();
316  }
317 
318  private void SwigDirectorMethodAcceptUncheckedNeighbor() {
320  }
321 
322  private bool SwigDirectorMethodIsUncheckedSolutionLimitReached() {
324  }
325 
326  private void SwigDirectorMethodPeriodicCheck() {
327  PeriodicCheck();
328  }
329 
330  private int SwigDirectorMethodProgressPercent() {
331  return ProgressPercent();
332  }
333 
334  private void SwigDirectorMethodAccept(global::System.IntPtr visitor) {
335  Accept((visitor == global::System.IntPtr.Zero) ? null : new ModelVisitor(visitor, false));
336  }
337 
338  private void SwigDirectorMethodInstall() {
339  Install();
340  }
341 
342  public delegate string SwigDelegateSolutionCollector_0();
343  public delegate void SwigDelegateSolutionCollector_1();
344  public delegate void SwigDelegateSolutionCollector_2();
345  public delegate void SwigDelegateSolutionCollector_3();
346  public delegate void SwigDelegateSolutionCollector_4(global::System.IntPtr b);
347  public delegate void SwigDelegateSolutionCollector_5(global::System.IntPtr b, global::System.IntPtr d);
348  public delegate void SwigDelegateSolutionCollector_6(global::System.IntPtr d);
349  public delegate void SwigDelegateSolutionCollector_7(global::System.IntPtr d);
350  public delegate void SwigDelegateSolutionCollector_8(global::System.IntPtr d, bool apply);
351  public delegate void SwigDelegateSolutionCollector_9();
352  public delegate void SwigDelegateSolutionCollector_10();
353  public delegate void SwigDelegateSolutionCollector_11();
354  public delegate void SwigDelegateSolutionCollector_12();
355  public delegate bool SwigDelegateSolutionCollector_13();
356  public delegate bool SwigDelegateSolutionCollector_14();
357  public delegate void SwigDelegateSolutionCollector_15();
358  public delegate bool SwigDelegateSolutionCollector_16();
359  public delegate bool SwigDelegateSolutionCollector_17(global::System.IntPtr delta, global::System.IntPtr deltadelta);
360  public delegate void SwigDelegateSolutionCollector_18();
361  public delegate void SwigDelegateSolutionCollector_19();
362  public delegate bool SwigDelegateSolutionCollector_20();
363  public delegate void SwigDelegateSolutionCollector_21();
364  public delegate int SwigDelegateSolutionCollector_22();
365  public delegate void SwigDelegateSolutionCollector_23(global::System.IntPtr visitor);
366  public delegate void SwigDelegateSolutionCollector_24();
367 
368  private SwigDelegateSolutionCollector_0 swigDelegate0;
369  private SwigDelegateSolutionCollector_1 swigDelegate1;
370  private SwigDelegateSolutionCollector_2 swigDelegate2;
371  private SwigDelegateSolutionCollector_3 swigDelegate3;
372  private SwigDelegateSolutionCollector_4 swigDelegate4;
373  private SwigDelegateSolutionCollector_5 swigDelegate5;
374  private SwigDelegateSolutionCollector_6 swigDelegate6;
375  private SwigDelegateSolutionCollector_7 swigDelegate7;
376  private SwigDelegateSolutionCollector_8 swigDelegate8;
377  private SwigDelegateSolutionCollector_9 swigDelegate9;
378  private SwigDelegateSolutionCollector_10 swigDelegate10;
379  private SwigDelegateSolutionCollector_11 swigDelegate11;
380  private SwigDelegateSolutionCollector_12 swigDelegate12;
381  private SwigDelegateSolutionCollector_13 swigDelegate13;
382  private SwigDelegateSolutionCollector_14 swigDelegate14;
383  private SwigDelegateSolutionCollector_15 swigDelegate15;
384  private SwigDelegateSolutionCollector_16 swigDelegate16;
385  private SwigDelegateSolutionCollector_17 swigDelegate17;
386  private SwigDelegateSolutionCollector_18 swigDelegate18;
387  private SwigDelegateSolutionCollector_19 swigDelegate19;
388  private SwigDelegateSolutionCollector_20 swigDelegate20;
389  private SwigDelegateSolutionCollector_21 swigDelegate21;
390  private SwigDelegateSolutionCollector_22 swigDelegate22;
391  private SwigDelegateSolutionCollector_23 swigDelegate23;
392  private SwigDelegateSolutionCollector_24 swigDelegate24;
393 
394  private static global::System.Type[] swigMethodTypes0 = new global::System.Type[] { };
395  private static global::System.Type[] swigMethodTypes1 = new global::System.Type[] { };
396  private static global::System.Type[] swigMethodTypes2 = new global::System.Type[] { };
397  private static global::System.Type[] swigMethodTypes3 = new global::System.Type[] { };
398  private static global::System.Type[] swigMethodTypes4 = new global::System.Type[] { typeof(DecisionBuilder) };
399  private static global::System.Type[] swigMethodTypes5 = new global::System.Type[] { typeof(DecisionBuilder), typeof(Decision) };
400  private static global::System.Type[] swigMethodTypes6 = new global::System.Type[] { typeof(Decision) };
401  private static global::System.Type[] swigMethodTypes7 = new global::System.Type[] { typeof(Decision) };
402  private static global::System.Type[] swigMethodTypes8 = new global::System.Type[] { typeof(Decision), typeof(bool) };
403  private static global::System.Type[] swigMethodTypes9 = new global::System.Type[] { };
404  private static global::System.Type[] swigMethodTypes10 = new global::System.Type[] { };
405  private static global::System.Type[] swigMethodTypes11 = new global::System.Type[] { };
406  private static global::System.Type[] swigMethodTypes12 = new global::System.Type[] { };
407  private static global::System.Type[] swigMethodTypes13 = new global::System.Type[] { };
408  private static global::System.Type[] swigMethodTypes14 = new global::System.Type[] { };
409  private static global::System.Type[] swigMethodTypes15 = new global::System.Type[] { };
410  private static global::System.Type[] swigMethodTypes16 = new global::System.Type[] { };
411  private static global::System.Type[] swigMethodTypes17 = new global::System.Type[] { typeof(Assignment), typeof(Assignment) };
412  private static global::System.Type[] swigMethodTypes18 = new global::System.Type[] { };
413  private static global::System.Type[] swigMethodTypes19 = new global::System.Type[] { };
414  private static global::System.Type[] swigMethodTypes20 = new global::System.Type[] { };
415  private static global::System.Type[] swigMethodTypes21 = new global::System.Type[] { };
416  private static global::System.Type[] swigMethodTypes22 = new global::System.Type[] { };
417  private static global::System.Type[] swigMethodTypes23 = new global::System.Type[] { typeof(ModelVisitor) };
418  private static global::System.Type[] swigMethodTypes24 = new global::System.Type[] { };
419 }
420 
421 }
virtual bool AtSolution()
static string SolutionCollector_ToStringSwigExplicitSolutionCollector(global::System.Runtime.InteropServices.HandleRef jarg1)
static void SolutionCollector_AddObjective(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
void Add(IntVarVector vars)
delegate void SwigDelegateSolutionCollector_4(global::System.IntPtr b)
Definition: IntVar.cs:18
static global::System.IntPtr SolutionCollector_SWIGUpcast(global::System.IntPtr jarg1)
virtual void EndNextDecision(DecisionBuilder b, Decision d)
delegate void SwigDelegateSolutionCollector_23(global::System.IntPtr visitor)
delegate void SwigDelegateSolutionCollector_10()
static long SolutionCollector_EndValue(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
SolutionCollector(Solver solver)
static long SolutionCollector_DurationValue(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
virtual void BeginFail()
long Value(int n, IntVar var)
static long SolutionCollector_PerformedValue(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static void SolutionCollector_Add__SWIG_4(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
virtual void Install()
virtual void Accept(ModelVisitor visitor)
virtual void PeriodicCheck()
static void SolutionCollector_director_connect(global::System.Runtime.InteropServices.HandleRef jarg1, SolutionCollector.SwigDelegateSolutionCollector_0 delegate0, SolutionCollector.SwigDelegateSolutionCollector_1 delegate1, SolutionCollector.SwigDelegateSolutionCollector_2 delegate2, SolutionCollector.SwigDelegateSolutionCollector_3 delegate3, SolutionCollector.SwigDelegateSolutionCollector_4 delegate4, SolutionCollector.SwigDelegateSolutionCollector_5 delegate5, SolutionCollector.SwigDelegateSolutionCollector_6 delegate6, SolutionCollector.SwigDelegateSolutionCollector_7 delegate7, SolutionCollector.SwigDelegateSolutionCollector_8 delegate8, SolutionCollector.SwigDelegateSolutionCollector_9 delegate9, SolutionCollector.SwigDelegateSolutionCollector_10 delegate10, SolutionCollector.SwigDelegateSolutionCollector_11 delegate11, SolutionCollector.SwigDelegateSolutionCollector_12 delegate12, SolutionCollector.SwigDelegateSolutionCollector_13 delegate13, SolutionCollector.SwigDelegateSolutionCollector_14 delegate14, SolutionCollector.SwigDelegateSolutionCollector_15 delegate15, SolutionCollector.SwigDelegateSolutionCollector_16 delegate16, SolutionCollector.SwigDelegateSolutionCollector_17 delegate17, SolutionCollector.SwigDelegateSolutionCollector_18 delegate18, SolutionCollector.SwigDelegateSolutionCollector_19 delegate19, SolutionCollector.SwigDelegateSolutionCollector_20 delegate20, SolutionCollector.SwigDelegateSolutionCollector_21 delegate21, SolutionCollector.SwigDelegateSolutionCollector_22 delegate22, SolutionCollector.SwigDelegateSolutionCollector_23 delegate23, SolutionCollector.SwigDelegateSolutionCollector_24 delegate24)
delegate int SwigDelegateSolutionCollector_22()
long StartValue(int n, IntervalVar var)
delegate void SwigDelegateSolutionCollector_3()
delegate void SwigDelegateSolutionCollector_21()
delegate bool SwigDelegateSolutionCollector_14()
delegate void SwigDelegateSolutionCollector_24()
static long SolutionCollector_WallTime(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
void Add(SequenceVarVector vars)
virtual bool AcceptSolution()
static bool Pending
int Count
long DurationValue(int n, IntervalVar var)
virtual void ExitSearch()
static global::System.IntPtr SolutionCollector_Solution(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
virtual void AcceptNeighbor()
static long SolutionCollector_Branches(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
override void EnterSearch()
static void SolutionCollector_Add__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
virtual bool IsUncheckedSolutionLimitReached()
long EndValue(int n, IntervalVar var)
static void SolutionCollector_Add__SWIG_3(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
Definition: SequenceVar.cs:18
Solver solver()
void Add(IntVar var)
static global::System.IntPtr SolutionCollector_Unperformed(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
virtual void AfterDecision(Decision d, bool apply)
delegate void SwigDelegateSolutionCollector_1()
using System
Definition: Program.cs:14
delegate void SwigDelegateSolutionCollector_7(global::System.IntPtr d)
virtual void AcceptUncheckedNeighbor()
virtual void RefuteDecision(Decision d)
delegate bool SwigDelegateSolutionCollector_16()
virtual bool LocalOptimum()
delegate void SwigDelegateSolutionCollector_6(global::System.IntPtr d)
delegate void SwigDelegateSolutionCollector_18()
static global::System.IntPtr SolutionCollector_ForwardSequence(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
virtual void EndInitialPropagation()
void AddObjective(IntVar objective)
static int SolutionCollector_SolutionCount(global::System.Runtime.InteropServices.HandleRef jarg1)
override string ToString()
Assignment Solution(int n)
void CopyTo(int[] array)
delegate void SwigDelegateSolutionCollector_19()
static void SolutionCollector_EnterSearchSwigExplicitSolutionCollector(global::System.Runtime.InteropServices.HandleRef jarg1)
virtual void RestartSearch()
long PerformedValue(int n, IntervalVar var)
delegate void SwigDelegateSolutionCollector_8(global::System.IntPtr d, bool apply)
SolutionCollector(Solver solver, Assignment assignment)
delegate bool SwigDelegateSolutionCollector_17(global::System.IntPtr delta, global::System.IntPtr deltadelta)
static long SolutionCollector_StartValue(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
delegate void SwigDelegateSolutionCollector_11()
Definition: IntervalVar.cs:18
delegate void SwigDelegateSolutionCollector_12()
bool swigCMemOwn
Definition: BaseObject.cs:20
virtual void EndFail()
int SolutionCount()
delegate string SwigDelegateSolutionCollector_0()
virtual void NoMoreSolutions()
void Add(IntervalVar var)
long Failures(int n)
virtual void BeginInitialPropagation()
override void Dispose(bool disposing)
int[] ForwardSequence(int n, SequenceVar var)
static void SolutionCollector_Add__SWIG_2(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static long SolutionCollector_Failures(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static void delete_SolutionCollector(global::System.Runtime.InteropServices.HandleRef jarg1)
virtual void BeginNextDecision(DecisionBuilder b)
static long SolutionCollector_ObjectiveValue(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
delegate void SwigDelegateSolutionCollector_9()
int[] Unperformed(int n, SequenceVar var)
void Add(SequenceVar var)
Definition: Assignment.cs:18
delegate void SwigDelegateSolutionCollector_5(global::System.IntPtr b, global::System.IntPtr d)
void Add(IntervalVarVector vars)
static void SolutionCollector_Add__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
long ObjectiveValue(int n)
static string SolutionCollector_ToString(global::System.Runtime.InteropServices.HandleRef jarg1)
static long SolutionCollector_Value(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static global::System.IntPtr SolutionCollector_BackwardSequence(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static global::System.Exception Retrieve()
delegate bool SwigDelegateSolutionCollector_13()
long Branches(int n)
int[] BackwardSequence(int n, SequenceVar var)
virtual void ApplyDecision(Decision d)
virtual bool AcceptDelta(Assignment delta, Assignment deltadelta)
long WallTime(int n)
virtual int ProgressPercent()
static void SolutionCollector_EnterSearch(global::System.Runtime.InteropServices.HandleRef jarg1)
delegate void SwigDelegateSolutionCollector_2()
static void SolutionCollector_Add__SWIG_5(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
delegate void SwigDelegateSolutionCollector_15()
delegate bool SwigDelegateSolutionCollector_20()