Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
PropagationMonitor.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 PropagationMonitor : SearchMonitor {
19 private global::System.Runtime.InteropServices.HandleRef swigCPtr;
21 internal PropagationMonitor(global::System.IntPtr cPtr, bool cMemoryOwn) : base(operations_research_constraint_solverPINVOKE.PropagationMonitor_SWIGUpcast(cPtr), cMemoryOwn) {
22 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
23 }
24
25 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(PropagationMonitor 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(PropagationMonitor 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 override string ToString() {
56 string ret = operations_research_constraint_solverPINVOKE.PropagationMonitor_ToString(swigCPtr);
57 return ret;
58 }
59
60 public virtual void BeginConstraintInitialPropagation(Constraint constraint) {
62 }
63
64 public virtual void EndConstraintInitialPropagation(Constraint constraint) {
66 }
67
68 public virtual void BeginNestedConstraintInitialPropagation(Constraint parent, Constraint nested) {
70 }
71
72 public virtual void EndNestedConstraintInitialPropagation(Constraint parent, Constraint nested) {
74 }
75
76 public virtual void RegisterDemon(Demon demon) {
78 }
79
80 public virtual void BeginDemonRun(Demon demon) {
82 }
83
84 public virtual void EndDemonRun(Demon demon) {
86 }
87
88 public virtual void StartProcessingIntegerVariable(IntVar var) {
90 }
91
92 public virtual void EndProcessingIntegerVariable(IntVar var) {
94 }
95
96 public virtual void PushContext(string context) {
104
105 public virtual void SetMin(IntExpr expr, long new_min) {
108
109 public virtual void SetMax(IntExpr expr, long new_max) {
112
113 public virtual void SetRange(IntExpr expr, long new_min, long new_max) {
116
117 public virtual void SetMin(IntVar var, long new_min) {
120
121 public virtual void SetMax(IntVar var, long new_max) {
124
125 public virtual void SetRange(IntVar var, long new_min, long new_max) {
128
129 public virtual void RemoveValue(IntVar var, long value) {
132
133 public virtual void SetValue(IntVar var, long value) {
136
137 public virtual void RemoveInterval(IntVar var, long imin, long imax) {
140
141 public virtual void SetValues(IntVar var, long[] values) {
142 operations_research_constraint_solverPINVOKE.PropagationMonitor_SetValues(swigCPtr, IntVar.getCPtr(var), values.Length, values );
144
145 public virtual void RemoveValues(IntVar var, long[] values) {
146 operations_research_constraint_solverPINVOKE.PropagationMonitor_RemoveValues(swigCPtr, IntVar.getCPtr(var), values.Length, values );
148
149 public virtual void SetStartMin(IntervalVar var, long new_min) {
152
153 public virtual void SetStartMax(IntervalVar var, long new_max) {
156
157 public virtual void SetStartRange(IntervalVar var, long new_min, long new_max) {
160
161 public virtual void SetEndMin(IntervalVar var, long new_min) {
164
165 public virtual void SetEndMax(IntervalVar var, long new_max) {
168
169 public virtual void SetEndRange(IntervalVar var, long new_min, long new_max) {
172
173 public virtual void SetDurationMin(IntervalVar var, long new_min) {
176
177 public virtual void SetDurationMax(IntervalVar var, long new_max) {
180
181 public virtual void SetDurationRange(IntervalVar var, long new_min, long new_max) {
184
185 public virtual void SetPerformed(IntervalVar var, bool value) {
188
189 public virtual void RankFirst(SequenceVar var, int index) {
192
193 public virtual void RankNotFirst(SequenceVar var, int index) {
196
197 public virtual void RankLast(SequenceVar var, int index) {
200
201 public virtual void RankNotLast(SequenceVar var, int index) {
204
205 public virtual void RankSequence(SequenceVar var, int[] rank_first, int[] rank_last, int[] unperformed) {
206 operations_research_constraint_solverPINVOKE.PropagationMonitor_RankSequence(swigCPtr, SequenceVar.getCPtr(var), rank_first.Length, rank_first , rank_last.Length, rank_last , unperformed.Length, unperformed );
208
209 public override void Install() {
212
213}
214
215}
virtual void EndNestedConstraintInitialPropagation(Constraint parent, Constraint nested)
virtual void SetDurationMin(IntervalVar var, long new_min)
virtual void BeginConstraintInitialPropagation(Constraint constraint)
virtual void SetMin(IntExpr expr, long new_min)
virtual void SetStartRange(IntervalVar var, long new_min, long new_max)
virtual void SetRange(IntExpr expr, long new_min, long new_max)
virtual void RemoveValue(IntVar var, long value)
virtual void SetValue(IntVar var, long value)
virtual void RemoveValues(IntVar var, long[] values)
virtual void SetEndMax(IntervalVar var, long new_max)
virtual void SetStartMin(IntervalVar var, long new_min)
virtual void SetDurationMax(IntervalVar var, long new_max)
virtual void RankLast(SequenceVar var, int index)
virtual void RankNotLast(SequenceVar var, int index)
virtual void SetMax(IntExpr expr, long new_max)
virtual void EndConstraintInitialPropagation(Constraint constraint)
virtual void SetValues(IntVar var, long[] values)
virtual void SetEndRange(IntervalVar var, long new_min, long new_max)
virtual void SetEndMin(IntervalVar var, long new_min)
virtual void SetPerformed(IntervalVar var, bool value)
virtual void SetDurationRange(IntervalVar var, long new_min, long new_max)
virtual void BeginNestedConstraintInitialPropagation(Constraint parent, Constraint nested)
virtual void RankFirst(SequenceVar var, int index)
virtual void RankNotFirst(SequenceVar var, int index)
virtual void RemoveInterval(IntVar var, long imin, long imax)
virtual void SetStartMax(IntervalVar var, long new_max)
virtual void RankSequence(SequenceVar var, int[] rank_first, int[] rank_last, int[] unperformed)
static void PropagationMonitor_BeginConstraintInitialPropagation(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void PropagationMonitor_RemoveInterval(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, long jarg3, long jarg4)
static void PropagationMonitor_SetMax__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, long jarg3)
static void PropagationMonitor_BeginNestedConstraintInitialPropagation(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static void PropagationMonitor_SetStartRange(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, long jarg3, long jarg4)
static void PropagationMonitor_SetRange__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, long jarg3, long jarg4)
static void PropagationMonitor_SetRange__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, long jarg3, long jarg4)
static void PropagationMonitor_SetPerformed(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, bool jarg3)
static void PropagationMonitor_EndDemonRun(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void PropagationMonitor_SetEndMax(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, long jarg3)
static void PropagationMonitor_PushContext(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2)
static void PropagationMonitor_BeginDemonRun(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void PropagationMonitor_RegisterDemon(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void PropagationMonitor_SetDurationRange(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, long jarg3, long jarg4)
static void PropagationMonitor_RemoveValue(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, long jarg3)
static void PropagationMonitor_RemoveValues(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int length3, long[] jarg3)
static void PropagationMonitor_RankNotLast(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int jarg3)
static void PropagationMonitor_SetMin__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, long jarg3)
static void PropagationMonitor_SetEndRange(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, long jarg3, long jarg4)
static void PropagationMonitor_SetMax__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, long jarg3)
static void PropagationMonitor_RankFirst(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int jarg3)
static void PropagationMonitor_SetValue(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, long jarg3)
static void PropagationMonitor_SetStartMin(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, long jarg3)
static void PropagationMonitor_SetEndMin(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, long jarg3)
static void PropagationMonitor_RankNotFirst(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int jarg3)
static void PropagationMonitor_EndProcessingIntegerVariable(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void PropagationMonitor_SetDurationMin(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, long jarg3)
static void PropagationMonitor_SetDurationMax(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, long jarg3)
static void PropagationMonitor_StartProcessingIntegerVariable(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void delete_PropagationMonitor(global::System.Runtime.InteropServices.HandleRef jarg1)
static void PropagationMonitor_EndConstraintInitialPropagation(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void PropagationMonitor_RankLast(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int jarg3)
static void PropagationMonitor_SetValues(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int length3, long[] jarg3)
static void PropagationMonitor_Install(global::System.Runtime.InteropServices.HandleRef jarg1)
static void PropagationMonitor_PopContext(global::System.Runtime.InteropServices.HandleRef jarg1)
static void PropagationMonitor_SetMin__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, long jarg3)
static void PropagationMonitor_EndNestedConstraintInitialPropagation(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static void PropagationMonitor_RankSequence(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 void PropagationMonitor_SetStartMax(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, long jarg3)