DotNet Reference

.Net Reference

Assignment.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 Assignment : PropagationBaseObject {
19  private global::System.Runtime.InteropServices.HandleRef swigCPtr;
20 
21  internal Assignment(global::System.IntPtr cPtr, bool cMemoryOwn) : base(operations_research_constraint_solverPINVOKE.Assignment_SWIGUpcast(cPtr), cMemoryOwn) {
22  swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
23  }
24 
25  internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Assignment 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 Assignment(Solver s) : this(operations_research_constraint_solverPINVOKE.new_Assignment__SWIG_0(Solver.getCPtr(s)), true) {
43  }
44 
45  public Assignment(Assignment copy) : this(operations_research_constraint_solverPINVOKE.new_Assignment__SWIG_1(Assignment.getCPtr(copy)), true) {
46  }
47 
48  public void Clear() {
50  }
51 
52  public bool Empty() {
54  return ret;
55  }
56 
57  public int Size() {
59  return ret;
60  }
61 
62  public int NumIntVars() {
64  return ret;
65  }
66 
67  public int NumIntervalVars() {
69  return ret;
70  }
71 
72  public int NumSequenceVars() {
74  return ret;
75  }
76 
77  public void Store() {
79  }
80 
81  public void Restore() {
83  }
84 
85  public void AddObjective(IntVar v) {
87  }
88 
89  public void ClearObjective() {
91  }
92 
93  public IntVar Objective() {
95  IntVar ret = (cPtr == global::System.IntPtr.Zero) ? null : new IntVar(cPtr, false);
96  return ret;
97  }
98 
99  public bool HasObjective() {
101  return ret;
102  }
103 
104  public long ObjectiveMin() {
106  return ret;
107  }
108 
109  public long ObjectiveMax() {
111  return ret;
112  }
113 
114  public long ObjectiveValue() {
116  return ret;
117  }
118 
119  public bool ObjectiveBound() {
121  return ret;
122  }
123 
124  public void SetObjectiveMin(long m) {
126  }
127 
128  public void SetObjectiveMax(long m) {
130  }
131 
132  public void SetObjectiveValue(long value) {
134  }
135 
136  public void SetObjectiveRange(long l, long u) {
138  }
139 
140  public IntVarElement Add(IntVar var) {
142  IntVarElement ret = (cPtr == global::System.IntPtr.Zero) ? null : new IntVarElement(cPtr, false);
143  return ret;
144  }
145 
146  public void Add(IntVarVector vars) {
149  }
150 
153  IntVarElement ret = (cPtr == global::System.IntPtr.Zero) ? null : new IntVarElement(cPtr, false);
154  return ret;
155  }
156 
157  public long Min(IntVar var) {
158  long ret = operations_research_constraint_solverPINVOKE.Assignment_Min(swigCPtr, IntVar.getCPtr(var));
159  return ret;
160  }
161 
162  public long Max(IntVar var) {
163  long ret = operations_research_constraint_solverPINVOKE.Assignment_Max(swigCPtr, IntVar.getCPtr(var));
164  return ret;
165  }
166 
167  public long Value(IntVar var) {
168  long ret = operations_research_constraint_solverPINVOKE.Assignment_Value(swigCPtr, IntVar.getCPtr(var));
169  return ret;
170  }
171 
172  public bool Bound(IntVar var) {
173  bool ret = operations_research_constraint_solverPINVOKE.Assignment_Bound(swigCPtr, IntVar.getCPtr(var));
174  return ret;
175  }
176 
177  public void SetMin(IntVar var, long m) {
179  }
180 
181  public void SetMax(IntVar var, long m) {
183  }
184 
185  public void SetRange(IntVar var, long l, long u) {
187  }
188 
189  public void SetValue(IntVar var, long value) {
191  }
192 
195  IntervalVarElement ret = (cPtr == global::System.IntPtr.Zero) ? null : new IntervalVarElement(cPtr, false);
196  return ret;
197  }
198 
199  public void Add(IntervalVarVector vars) {
202  }
203 
206  IntervalVarElement ret = (cPtr == global::System.IntPtr.Zero) ? null : new IntervalVarElement(cPtr, false);
207  return ret;
208  }
209 
210  public long StartMin(IntervalVar var) {
212  return ret;
213  }
214 
215  public long StartMax(IntervalVar var) {
217  return ret;
218  }
219 
220  public long StartValue(IntervalVar var) {
222  return ret;
223  }
224 
225  public long DurationMin(IntervalVar var) {
227  return ret;
228  }
229 
230  public long DurationMax(IntervalVar var) {
232  return ret;
233  }
234 
235  public long DurationValue(IntervalVar var) {
237  return ret;
238  }
239 
240  public long EndMin(IntervalVar var) {
242  return ret;
243  }
244 
245  public long EndMax(IntervalVar var) {
247  return ret;
248  }
249 
250  public long EndValue(IntervalVar var) {
252  return ret;
253  }
254 
255  public long PerformedMin(IntervalVar var) {
257  return ret;
258  }
259 
260  public long PerformedMax(IntervalVar var) {
262  return ret;
263  }
264 
265  public long PerformedValue(IntervalVar var) {
267  return ret;
268  }
269 
270  public void SetStartMin(IntervalVar var, long m) {
272  }
273 
274  public void SetStartMax(IntervalVar var, long m) {
276  }
277 
278  public void SetStartRange(IntervalVar var, long mi, long ma) {
280  }
281 
282  public void SetStartValue(IntervalVar var, long value) {
284  }
285 
286  public void SetDurationMin(IntervalVar var, long m) {
288  }
289 
290  public void SetDurationMax(IntervalVar var, long m) {
292  }
293 
294  public void SetDurationRange(IntervalVar var, long mi, long ma) {
296  }
297 
298  public void SetDurationValue(IntervalVar var, long value) {
300  }
301 
302  public void SetEndMin(IntervalVar var, long m) {
304  }
305 
306  public void SetEndMax(IntervalVar var, long m) {
308  }
309 
310  public void SetEndRange(IntervalVar var, long mi, long ma) {
312  }
313 
314  public void SetEndValue(IntervalVar var, long value) {
316  }
317 
318  public void SetPerformedMin(IntervalVar var, long m) {
320  }
321 
322  public void SetPerformedMax(IntervalVar var, long m) {
324  }
325 
326  public void SetPerformedRange(IntervalVar var, long mi, long ma) {
328  }
329 
330  public void SetPerformedValue(IntervalVar var, long value) {
332  }
333 
336  SequenceVarElement ret = (cPtr == global::System.IntPtr.Zero) ? null : new SequenceVarElement(cPtr, false);
337  return ret;
338  }
339 
340  public void Add(SequenceVarVector vars) {
343  }
344 
347  SequenceVarElement ret = (cPtr == global::System.IntPtr.Zero) ? null : new SequenceVarElement(cPtr, false);
348  return ret;
349  }
350 
351  public int[] ForwardSequence(SequenceVar var) {
353  IntVector tmpVector = null;
354  if (cPtr != global::System.IntPtr.Zero) {
355  tmpVector = new IntVector(cPtr, true);
356  int[] outArray = new int[tmpVector.Count];
357  tmpVector.CopyTo(outArray);
358  return outArray;
359  }
360  return null;
361 }
362 
363  public int[] BackwardSequence(SequenceVar var) {
365  IntVector tmpVector = null;
366  if (cPtr != global::System.IntPtr.Zero) {
367  tmpVector = new IntVector(cPtr, true);
368  int[] outArray = new int[tmpVector.Count];
369  tmpVector.CopyTo(outArray);
370  return outArray;
371  }
372  return null;
373 }
374 
375  public int[] Unperformed(SequenceVar var) {
377  IntVector tmpVector = null;
378  if (cPtr != global::System.IntPtr.Zero) {
379  tmpVector = new IntVector(cPtr, true);
380  int[] outArray = new int[tmpVector.Count];
381  tmpVector.CopyTo(outArray);
382  return outArray;
383  }
384  return null;
385 }
386 
387  public void SetSequence(SequenceVar var, int[] forward_sequence, int[] backward_sequence, int[] unperformed) {
388  operations_research_constraint_solverPINVOKE.Assignment_SetSequence(swigCPtr, SequenceVar.getCPtr(var), forward_sequence.Length, forward_sequence , backward_sequence.Length, backward_sequence , unperformed.Length, unperformed );
389  }
390 
391  public void SetForwardSequence(SequenceVar var, int[] forward_sequence) {
392  operations_research_constraint_solverPINVOKE.Assignment_SetForwardSequence(swigCPtr, SequenceVar.getCPtr(var), forward_sequence.Length, forward_sequence );
393  }
394 
395  public void SetBackwardSequence(SequenceVar var, int[] backward_sequence) {
396  operations_research_constraint_solverPINVOKE.Assignment_SetBackwardSequence(swigCPtr, SequenceVar.getCPtr(var), backward_sequence.Length, backward_sequence );
397  }
398 
399  public void SetUnperformed(SequenceVar var, int[] unperformed) {
400  operations_research_constraint_solverPINVOKE.Assignment_SetUnperformed(swigCPtr, SequenceVar.getCPtr(var), unperformed.Length, unperformed );
401  }
402 
403  public void Activate(IntVar var) {
405  }
406 
407  public void Deactivate(IntVar var) {
409  }
410 
411  public bool Activated(IntVar var) {
413  return ret;
414  }
415 
416  public void Activate(IntervalVar var) {
418  }
419 
420  public void Deactivate(IntervalVar var) {
422  }
423 
424  public bool Activated(IntervalVar var) {
426  return ret;
427  }
428 
429  public void Activate(SequenceVar var) {
431  }
432 
433  public void Deactivate(SequenceVar var) {
435  }
436 
437  public bool Activated(SequenceVar var) {
439  return ret;
440  }
441 
442  public void ActivateObjective() {
444  }
445 
446  public void DeactivateObjective() {
448  }
449 
450  public bool ActivatedObjective() {
452  return ret;
453  }
454 
455  public override string ToString() {
457  return ret;
458  }
459 
460  public bool AreAllElementsBound() {
462  return ret;
463  }
464 
465  public bool Contains(IntVar var) {
467  return ret;
468  }
469 
470  public bool Contains(IntervalVar var) {
472  return ret;
473  }
474 
475  public bool Contains(SequenceVar var) {
477  return ret;
478  }
479 
480  public void CopyIntersection(Assignment assignment) {
482  }
483 
484  public void Copy(Assignment assignment) {
486  }
487 
490  return ret;
491  }
492 
495  AssignmentIntContainer ret = (cPtr == global::System.IntPtr.Zero) ? null : new AssignmentIntContainer(cPtr, false);
496  return ret;
497  }
498 
501  return ret;
502  }
503 
506  AssignmentIntervalContainer ret = (cPtr == global::System.IntPtr.Zero) ? null : new AssignmentIntervalContainer(cPtr, false);
507  return ret;
508  }
509 
512  return ret;
513  }
514 
517  AssignmentSequenceContainer ret = (cPtr == global::System.IntPtr.Zero) ? null : new AssignmentSequenceContainer(cPtr, false);
518  return ret;
519  }
520 
521 }
522 
523 }
void Store()
Definition: Assignment.cs:77
static void Assignment_SetMin(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, long jarg3)
static global::System.IntPtr Assignment_FastAdd__SWIG_2(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
void Deactivate(IntVar var)
Definition: Assignment.cs:407
void Clear()
Definition: Assignment.cs:48
static long Assignment_PerformedValue(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void Assignment_SetStartMax(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, long jarg3)
Definition: IntVar.cs:18
static bool Assignment_HasObjective(global::System.Runtime.InteropServices.HandleRef jarg1)
bool Contains(IntervalVar var)
Definition: Assignment.cs:470
void SetDurationMax(IntervalVar var, long m)
Definition: Assignment.cs:290
AssignmentSequenceContainer MutableSequenceVarContainer()
Definition: Assignment.cs:515
static void Assignment_Clear(global::System.Runtime.InteropServices.HandleRef jarg1)
static void Assignment_SetStartMin(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, long jarg3)
static void Assignment_SetValue(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, long jarg3)
static void Assignment_SetObjectiveRange(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2, long jarg3)
Assignment(Solver s)
Definition: Assignment.cs:42
static bool Assignment_Activated__SWIG_2(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void delete_Assignment(global::System.Runtime.InteropServices.HandleRef jarg1)
long PerformedMax(IntervalVar var)
Definition: Assignment.cs:260
static void Assignment_SetObjectiveMin(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2)
IntervalVarElement Add(IntervalVar var)
Definition: Assignment.cs:193
static void Assignment_CopyIntersection(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr Assignment_FastAdd__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void Assignment_SetObjectiveMax(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2)
static global::System.IntPtr Assignment_IntVarContainer(global::System.Runtime.InteropServices.HandleRef jarg1)
static void Assignment_SetStartValue(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, long jarg3)
long Value(IntVar var)
Definition: Assignment.cs:167
static void Assignment_SetObjectiveValue(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2)
static global::System.IntPtr Assignment_Unperformed(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void Assignment_Restore(global::System.Runtime.InteropServices.HandleRef jarg1)
static long Assignment_ObjectiveMax(global::System.Runtime.InteropServices.HandleRef jarg1)
static void Assignment_AddObjective(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
void SetForwardSequence(SequenceVar var, int[] forward_sequence)
Definition: Assignment.cs:391
static long Assignment_StartMin(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
bool AreAllElementsBound()
Definition: Assignment.cs:460
long DurationMax(IntervalVar var)
Definition: Assignment.cs:230
long EndMax(IntervalVar var)
Definition: Assignment.cs:245
static long Assignment_DurationValue(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void Assignment_SetPerformedValue(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, long jarg3)
void Activate(IntervalVar var)
Definition: Assignment.cs:416
static long Assignment_ObjectiveValue(global::System.Runtime.InteropServices.HandleRef jarg1)
bool Contains(IntVar var)
Definition: Assignment.cs:465
static long Assignment_PerformedMin(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr Assignment_Objective(global::System.Runtime.InteropServices.HandleRef jarg1)
void Copy(Assignment assignment)
Definition: Assignment.cs:484
static void Assignment_SetPerformedMax(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, long jarg3)
static long Assignment_DurationMax(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static bool Pending
void SetObjectiveRange(long l, long u)
Definition: Assignment.cs:136
static int Assignment_Size(global::System.Runtime.InteropServices.HandleRef jarg1)
int Count
bool ActivatedObjective()
Definition: Assignment.cs:450
int Size()
Definition: Assignment.cs:57
IntervalVarElement FastAdd(IntervalVar var)
Definition: Assignment.cs:204
bool Empty()
Definition: Assignment.cs:52
void SetEndMax(IntervalVar var, long m)
Definition: Assignment.cs:306
static void Assignment_ActivateObjective(global::System.Runtime.InteropServices.HandleRef jarg1)
static long Assignment_EndValue(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
void SetStartValue(IntervalVar var, long value)
Definition: Assignment.cs:282
static int Assignment_NumIntervalVars(global::System.Runtime.InteropServices.HandleRef jarg1)
static void Assignment_Add__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static int Assignment_NumIntVars(global::System.Runtime.InteropServices.HandleRef jarg1)
void Deactivate(IntervalVar var)
Definition: Assignment.cs:420
bool Bound(IntVar var)
Definition: Assignment.cs:172
AssignmentIntContainer MutableIntVarContainer()
Definition: Assignment.cs:493
static bool Assignment_Bound(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
Definition: SequenceVar.cs:18
void SetDurationValue(IntervalVar var, long value)
Definition: Assignment.cs:298
override string ToString()
Definition: Assignment.cs:455
bool Activated(SequenceVar var)
Definition: Assignment.cs:437
static void Assignment_SetPerformedMin(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, long jarg3)
long ObjectiveMin()
Definition: Assignment.cs:104
void Add(SequenceVarVector vars)
Definition: Assignment.cs:340
static long Assignment_EndMax(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
void SetStartMin(IntervalVar var, long m)
Definition: Assignment.cs:270
using System
Definition: Program.cs:14
long StartValue(IntervalVar var)
Definition: Assignment.cs:220
void SetEndMin(IntervalVar var, long m)
Definition: Assignment.cs:302
AssignmentIntervalContainer IntervalVarContainer()
Definition: Assignment.cs:499
override void Dispose(bool disposing)
Definition: Assignment.cs:29
long StartMin(IntervalVar var)
Definition: Assignment.cs:210
static void Assignment_Copy(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
IntVarElement FastAdd(IntVar var)
Definition: Assignment.cs:151
int NumSequenceVars()
Definition: Assignment.cs:72
static void Assignment_SetEndRange(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, long jarg3, long jarg4)
void SetStartMax(IntervalVar var, long m)
Definition: Assignment.cs:274
static bool Assignment_Contains__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
bool ObjectiveBound()
Definition: Assignment.cs:119
static bool Assignment_ActivatedObjective(global::System.Runtime.InteropServices.HandleRef jarg1)
bool Activated(IntervalVar var)
Definition: Assignment.cs:424
static void Assignment_SetBackwardSequence(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int length3, int[] jarg3)
static long Assignment_EndMin(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
long StartMax(IntervalVar var)
Definition: Assignment.cs:215
void ActivateObjective()
Definition: Assignment.cs:442
static void Assignment_SetSequence(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int length3, int[] jarg3, int length4, int[] jarg4, int length5, int[] jarg5)
static bool Assignment_Activated__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr Assignment_MutableSequenceVarContainer(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool Assignment_Contains__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static long Assignment_Value(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static bool Assignment_AreAllElementsBound(global::System.Runtime.InteropServices.HandleRef jarg1)
long DurationValue(IntervalVar var)
Definition: Assignment.cs:235
static global::System.IntPtr Assignment_MutableIntervalVarContainer(global::System.Runtime.InteropServices.HandleRef jarg1)
static void Assignment_SetForwardSequence(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int length3, int[] jarg3)
static long Assignment_PerformedMax(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static long Assignment_DurationMin(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
long EndMin(IntervalVar var)
Definition: Assignment.cs:240
void SetMin(IntVar var, long m)
Definition: Assignment.cs:177
static void Assignment_DeactivateObjective(global::System.Runtime.InteropServices.HandleRef jarg1)
void SetEndValue(IntervalVar var, long value)
Definition: Assignment.cs:314
void SetDurationMin(IntervalVar var, long m)
Definition: Assignment.cs:286
void CopyTo(int[] array)
int[] Unperformed(SequenceVar var)
Definition: Assignment.cs:375
long Max(IntVar var)
Definition: Assignment.cs:162
void SetRange(IntVar var, long l, long u)
Definition: Assignment.cs:185
static global::System.IntPtr Assignment_FastAdd__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
int NumIntervalVars()
Definition: Assignment.cs:67
static bool Assignment_Activated__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
void SetDurationRange(IntervalVar var, long mi, long ma)
Definition: Assignment.cs:294
void SetPerformedMax(IntervalVar var, long m)
Definition: Assignment.cs:322
static void Assignment_Deactivate__SWIG_2(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
Definition: IntervalVar.cs:18
long EndValue(IntervalVar var)
Definition: Assignment.cs:250
static global::System.IntPtr Assignment_IntervalVarContainer(global::System.Runtime.InteropServices.HandleRef jarg1)
int[] ForwardSequence(SequenceVar var)
Definition: Assignment.cs:351
void SetValue(IntVar var, long value)
Definition: Assignment.cs:189
bool swigCMemOwn
Definition: BaseObject.cs:20
static void Assignment_Deactivate__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
long DurationMin(IntervalVar var)
Definition: Assignment.cs:225
void SetUnperformed(SequenceVar var, int[] unperformed)
Definition: Assignment.cs:399
static void Assignment_SetUnperformed(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int length3, int[] jarg3)
static global::System.IntPtr Assignment_MutableIntVarContainer(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr Assignment_BackwardSequence(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr Assignment_SequenceVarContainer(global::System.Runtime.InteropServices.HandleRef jarg1)
void SetSequence(SequenceVar var, int[] forward_sequence, int[] backward_sequence, int[] unperformed)
Definition: Assignment.cs:387
void Add(IntVarVector vars)
Definition: Assignment.cs:146
static void Assignment_SetDurationMax(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, long jarg3)
void Restore()
Definition: Assignment.cs:81
static void Assignment_Activate__SWIG_2(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
void Deactivate(SequenceVar var)
Definition: Assignment.cs:433
void SetObjectiveValue(long value)
Definition: Assignment.cs:132
static void Assignment_Store(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr Assignment_Add__SWIG_4(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
bool Activated(IntVar var)
Definition: Assignment.cs:411
SequenceVarElement FastAdd(SequenceVar var)
Definition: Assignment.cs:345
static void Assignment_Deactivate__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
bool HasObjective()
Definition: Assignment.cs:99
void SetBackwardSequence(SequenceVar var, int[] backward_sequence)
Definition: Assignment.cs:395
static void Assignment_SetDurationValue(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, long jarg3)
static void Assignment_SetDurationMin(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, long jarg3)
static global::System.IntPtr Assignment_Add__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void Assignment_SetDurationRange(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, long jarg3, long jarg4)
static bool Assignment_Contains__SWIG_2(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
void SetEndRange(IntervalVar var, long mi, long ma)
Definition: Assignment.cs:310
long ObjectiveValue()
Definition: Assignment.cs:114
static bool Assignment_ObjectiveBound(global::System.Runtime.InteropServices.HandleRef jarg1)
IntVarElement Add(IntVar var)
Definition: Assignment.cs:140
static void Assignment_SetEndValue(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, long jarg3)
long ObjectiveMax()
Definition: Assignment.cs:109
static void Assignment_Add__SWIG_5(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
Definition: Assignment.cs:18
void Activate(SequenceVar var)
Definition: Assignment.cs:429
static void Assignment_SetMax(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, long jarg3)
static void Assignment_Add__SWIG_3(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
void AddObjective(IntVar v)
Definition: Assignment.cs:85
void SetObjectiveMin(long m)
Definition: Assignment.cs:124
AssignmentIntervalContainer MutableIntervalVarContainer()
Definition: Assignment.cs:504
static long Assignment_StartMax(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
AssignmentIntContainer IntVarContainer()
Definition: Assignment.cs:488
static void Assignment_SetEndMax(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, long jarg3)
static global::System.IntPtr Assignment_Add__SWIG_2(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
SequenceVarElement Add(SequenceVar var)
Definition: Assignment.cs:334
void SetObjectiveMax(long m)
Definition: Assignment.cs:128
void Activate(IntVar var)
Definition: Assignment.cs:403
bool Contains(SequenceVar var)
Definition: Assignment.cs:475
long PerformedValue(IntervalVar var)
Definition: Assignment.cs:265
Assignment(Assignment copy)
Definition: Assignment.cs:45
static long Assignment_Min(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
void CopyIntersection(Assignment assignment)
Definition: Assignment.cs:480
static int Assignment_NumSequenceVars(global::System.Runtime.InteropServices.HandleRef jarg1)
static void Assignment_SetPerformedRange(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, long jarg3, long jarg4)
void SetPerformedValue(IntervalVar var, long value)
Definition: Assignment.cs:330
static long Assignment_StartValue(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
void SetPerformedRange(IntervalVar var, long mi, long ma)
Definition: Assignment.cs:326
static global::System.IntPtr Assignment_ForwardSequence(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.Exception Retrieve()
static void Assignment_SetStartRange(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, long jarg3, long jarg4)
AssignmentSequenceContainer SequenceVarContainer()
Definition: Assignment.cs:510
static void Assignment_SetRange(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, long jarg3, long jarg4)
int NumIntVars()
Definition: Assignment.cs:62
long Min(IntVar var)
Definition: Assignment.cs:157
long PerformedMin(IntervalVar var)
Definition: Assignment.cs:255
void SetStartRange(IntervalVar var, long mi, long ma)
Definition: Assignment.cs:278
static void Assignment_ClearObjective(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool Assignment_Empty(global::System.Runtime.InteropServices.HandleRef jarg1)
static string Assignment_ToString(global::System.Runtime.InteropServices.HandleRef jarg1)
static void Assignment_Activate__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
void Add(IntervalVarVector vars)
Definition: Assignment.cs:199
static void Assignment_Activate__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static long Assignment_ObjectiveMin(global::System.Runtime.InteropServices.HandleRef jarg1)
void SetPerformedMin(IntervalVar var, long m)
Definition: Assignment.cs:318
void DeactivateObjective()
Definition: Assignment.cs:446
static global::System.IntPtr Assignment_SWIGUpcast(global::System.IntPtr jarg1)
static void Assignment_SetEndMin(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, long jarg3)
void SetMax(IntVar var, long m)
Definition: Assignment.cs:181
void ClearObjective()
Definition: Assignment.cs:89
static long Assignment_Max(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
IntVar Objective()
Definition: Assignment.cs:93
int[] BackwardSequence(SequenceVar var)
Definition: Assignment.cs:363