Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
ModelVisitor.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 ModelVisitor : BaseObject {
19 private global::System.Runtime.InteropServices.HandleRef swigCPtr;
21 internal ModelVisitor(global::System.IntPtr cPtr, bool cMemoryOwn) : base(operations_research_constraint_solverPINVOKE.ModelVisitor_SWIGUpcast(cPtr), cMemoryOwn) {
22 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
23 }
24
25 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(ModelVisitor 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(ModelVisitor 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 static string kAbs {
56 get {
58 return ret;
59 }
60 }
61
62 public static string kAbsEqual {
63 get {
65 return ret;
66 }
67 }
68
69 public static string kAllDifferent {
70 get {
72 return ret;
73 }
74 }
75
76 public static string kAllowedAssignments {
77 get {
79 return ret;
80 }
81 }
82
83 public static string kAtMost {
84 get {
86 return ret;
87 }
88 }
89
90 public static string kIndexOf {
91 get {
93 return ret;
94 }
95 }
96
97 public static string kBetween {
98 get {
100 return ret;
101 }
102 }
103
104 public static string kConditionalExpr {
105 get {
107 return ret;
108 }
109 }
110
111 public static string kCircuit {
112 get {
114 return ret;
115 }
116 }
117
118 public static string kConvexPiecewise {
119 get {
121 return ret;
122 }
123 }
124
125 public static string kCountEqual {
126 get {
128 return ret;
129 }
130 }
131
132 public static string kCover {
133 get {
135 return ret;
136 }
137 }
138
139 public static string kCumulative {
140 get {
142 return ret;
143 }
144 }
145
146 public static string kDeviation {
147 get {
149 return ret;
150 }
151 }
152
153 public static string kDifference {
154 get {
156 return ret;
157 }
158 }
159
160 public static string kDisjunctive {
161 get {
163 return ret;
164 }
165 }
166
167 public static string kDistribute {
168 get {
170 return ret;
171 }
172 }
173
174 public static string kDivide {
175 get {
177 return ret;
178 }
179 }
180
181 public static string kDurationExpr {
182 get {
184 return ret;
185 }
186 }
187
188 public static string kElement {
189 get {
191 return ret;
192 }
193 }
194
195 public static string kLightElementEqual {
196 get {
198 return ret;
199 }
200 }
201
202 public static string kElementEqual {
203 get {
205 return ret;
206 }
207 }
208
209 public static string kEndExpr {
210 get {
212 return ret;
213 }
214 }
215
216 public static string kEquality {
217 get {
219 return ret;
220 }
221 }
222
223 public static string kFalseConstraint {
224 get {
226 return ret;
227 }
228 }
229
230 public static string kGlobalCardinality {
231 get {
233 return ret;
234 }
235 }
236
237 public static string kGreater {
238 get {
240 return ret;
241 }
242 }
243
244 public static string kGreaterOrEqual {
245 get {
247 return ret;
248 }
249 }
250
251 public static string kIntegerVariable {
252 get {
254 return ret;
255 }
256 }
257
258 public static string kIntervalBinaryRelation {
259 get {
261 return ret;
262 }
263 }
264
265 public static string kIntervalDisjunction {
266 get {
268 return ret;
269 }
270 }
271
272 public static string kIntervalUnaryRelation {
273 get {
275 return ret;
276 }
277 }
278
279 public static string kIntervalVariable {
280 get {
282 return ret;
283 }
284 }
285
286 public static string kInversePermutation {
287 get {
289 return ret;
290 }
291 }
292
293 public static string kIsBetween {
294 get {
296 return ret;
297 }
298 }
299
300 public static string kIsDifferent {
301 get {
303 return ret;
304 }
305 }
306
307 public static string kIsEqual {
308 get {
310 return ret;
311 }
312 }
313
314 public static string kIsGreater {
315 get {
317 return ret;
318 }
319 }
320
321 public static string kIsGreaterOrEqual {
322 get {
324 return ret;
325 }
326 }
327
328 public static string kIsLess {
329 get {
331 return ret;
332 }
333 }
334
335 public static string kIsLessOrEqual {
336 get {
338 return ret;
339 }
340 }
341
342 public static string kIsMember {
343 get {
345 return ret;
346 }
347 }
348
349 public static string kLess {
350 get {
352 return ret;
353 }
354 }
355
356 public static string kLessOrEqual {
357 get {
359 return ret;
360 }
361 }
362
363 public static string kLexLess {
364 get {
366 return ret;
367 }
368 }
369
370 public static string kLinkExprVar {
371 get {
373 return ret;
374 }
375 }
376
377 public static string kMapDomain {
378 get {
380 return ret;
381 }
382 }
383
384 public static string kMax {
385 get {
387 return ret;
388 }
389 }
390
391 public static string kMaxEqual {
392 get {
394 return ret;
395 }
396 }
397
398 public static string kMember {
399 get {
401 return ret;
402 }
403 }
404
405 public static string kMin {
406 get {
408 return ret;
409 }
410 }
411
412 public static string kMinEqual {
413 get {
415 return ret;
416 }
417 }
418
419 public static string kModulo {
420 get {
422 return ret;
423 }
424 }
425
426 public static string kNoCycle {
427 get {
429 return ret;
430 }
431 }
432
433 public static string kNonEqual {
434 get {
436 return ret;
437 }
438 }
439
440 public static string kNotBetween {
441 get {
443 return ret;
444 }
445 }
446
447 public static string kNotMember {
448 get {
450 return ret;
451 }
452 }
453
454 public static string kNullIntersect {
455 get {
457 return ret;
458 }
459 }
460
461 public static string kOpposite {
462 get {
464 return ret;
465 }
466 }
467
468 public static string kPack {
469 get {
471 return ret;
472 }
473 }
474
475 public static string kPathCumul {
476 get {
478 return ret;
479 }
480 }
481
482 public static string kDelayedPathCumul {
483 get {
485 return ret;
486 }
487 }
488
489 public static string kPerformedExpr {
490 get {
492 return ret;
493 }
494 }
495
496 public static string kPower {
497 get {
499 return ret;
500 }
501 }
502
503 public static string kProduct {
504 get {
506 return ret;
507 }
508 }
509
510 public static string kScalProd {
511 get {
513 return ret;
514 }
515 }
516
517 public static string kScalProdEqual {
518 get {
520 return ret;
521 }
522 }
523
524 public static string kScalProdGreaterOrEqual {
525 get {
527 return ret;
528 }
529 }
530
531 public static string kScalProdLessOrEqual {
532 get {
534 return ret;
535 }
536 }
537
538 public static string kSemiContinuous {
539 get {
541 return ret;
542 }
543 }
544
545 public static string kSequenceVariable {
546 get {
548 return ret;
549 }
550 }
551
552 public static string kSortingConstraint {
553 get {
555 return ret;
556 }
557 }
558
559 public static string kSquare {
560 get {
562 return ret;
563 }
564 }
565
566 public static string kStartExpr {
567 get {
569 return ret;
570 }
571 }
572
573 public static string kSum {
574 get {
576 return ret;
577 }
578 }
579
580 public static string kSumEqual {
581 get {
583 return ret;
584 }
585 }
586
587 public static string kSumGreaterOrEqual {
588 get {
590 return ret;
591 }
592 }
593
594 public static string kSumLessOrEqual {
595 get {
597 return ret;
598 }
599 }
600
601 public static string kTrace {
602 get {
604 return ret;
605 }
606 }
607
608 public static string kTransition {
609 get {
611 return ret;
612 }
613 }
614
615 public static string kTrueConstraint {
616 get {
618 return ret;
619 }
620 }
621
622 public static string kVarBoundWatcher {
623 get {
625 return ret;
626 }
627 }
628
629 public static string kVarValueWatcher {
630 get {
632 return ret;
633 }
634 }
635
636 public static string kCountAssignedItemsExtension {
637 get {
639 return ret;
640 }
641 }
642
643 public static string kCountUsedBinsExtension {
644 get {
646 return ret;
647 }
648 }
649
650 public static string kInt64ToBoolExtension {
651 get {
653 return ret;
654 }
655 }
656
657 public static string kInt64ToInt64Extension {
658 get {
660 return ret;
661 }
662 }
663
664 public static string kObjectiveExtension {
665 get {
667 return ret;
668 }
669 }
670
671 public static string kSearchLimitExtension {
672 get {
674 return ret;
675 }
676 }
677
678 public static string kUsageEqualVariableExtension {
679 get {
686 get {
688 return ret;
689 }
690 }
691
692 public static string kVariableGroupExtension {
693 get {
700 get {
707 get {
714 get {
716 return ret;
717 }
718 }
719
720 public static string kAssumePathsArgument {
721 get {
723 return ret;
724 }
725 }
726
727 public static string kBranchesLimitArgument {
728 get {
730 return ret;
731 }
732 }
733
734 public static string kCapacityArgument {
735 get {
737 return ret;
738 }
739 }
740
741 public static string kCardsArgument {
742 get {
744 return ret;
745 }
746 }
747
748 public static string kCoefficientsArgument {
749 get {
751 return ret;
752 }
753 }
754
755 public static string kCountArgument {
756 get {
758 return ret;
759 }
760 }
761
762 public static string kCumulativeArgument {
763 get {
765 return ret;
766 }
767 }
768
769 public static string kCumulsArgument {
770 get {
772 return ret;
773 }
774 }
775
776 public static string kDemandsArgument {
777 get {
779 return ret;
780 }
781 }
782
783 public static string kDurationMaxArgument {
784 get {
786 return ret;
787 }
788 }
789
790 public static string kDurationMinArgument {
791 get {
793 return ret;
794 }
795 }
796
797 public static string kEarlyCostArgument {
798 get {
800 return ret;
801 }
802 }
803
804 public static string kEarlyDateArgument {
805 get {
807 return ret;
808 }
809 }
810
811 public static string kEndMaxArgument {
812 get {
814 return ret;
815 }
816 }
817
818 public static string kEndMinArgument {
819 get {
821 return ret;
822 }
823 }
824
825 public static string kEndsArgument {
826 get {
828 return ret;
829 }
830 }
831
832 public static string kExpressionArgument {
833 get {
835 return ret;
836 }
837 }
838
839 public static string kFailuresLimitArgument {
840 get {
842 return ret;
843 }
844 }
845
846 public static string kFinalStatesArgument {
847 get {
849 return ret;
850 }
851 }
852
853 public static string kFixedChargeArgument {
854 get {
856 return ret;
857 }
858 }
859
860 public static string kIndex2Argument {
861 get {
863 return ret;
864 }
865 }
866
867 public static string kIndexArgument {
868 get {
870 return ret;
871 }
872 }
873
874 public static string kInitialState {
875 get {
877 return ret;
878 }
879 }
880
881 public static string kIntervalArgument {
882 get {
884 return ret;
885 }
886 }
887
888 public static string kIntervalsArgument {
889 get {
891 return ret;
892 }
893 }
894
895 public static string kLateCostArgument {
896 get {
898 return ret;
899 }
900 }
901
902 public static string kLateDateArgument {
903 get {
905 return ret;
906 }
907 }
908
909 public static string kLeftArgument {
910 get {
912 return ret;
913 }
914 }
915
916 public static string kMaxArgument {
917 get {
919 return ret;
920 }
921 }
922
923 public static string kMaximizeArgument {
924 get {
926 return ret;
927 }
928 }
929
930 public static string kMinArgument {
931 get {
933 return ret;
934 }
935 }
936
937 public static string kModuloArgument {
938 get {
940 return ret;
941 }
942 }
943
944 public static string kNextsArgument {
945 get {
947 return ret;
948 }
949 }
950
951 public static string kOptionalArgument {
952 get {
954 return ret;
955 }
956 }
957
958 public static string kPartialArgument {
959 get {
961 return ret;
962 }
963 }
964
965 public static string kPositionXArgument {
966 get {
968 return ret;
969 }
970 }
971
972 public static string kPositionYArgument {
973 get {
975 return ret;
976 }
977 }
978
979 public static string kRangeArgument {
980 get {
982 return ret;
983 }
984 }
985
986 public static string kRelationArgument {
987 get {
989 return ret;
990 }
991 }
992
993 public static string kRightArgument {
994 get {
996 return ret;
997 }
998 }
999
1000 public static string kSequenceArgument {
1001 get {
1003 return ret;
1004 }
1005 }
1006
1007 public static string kSequencesArgument {
1008 get {
1010 return ret;
1011 }
1012 }
1013
1014 public static string kSizeArgument {
1015 get {
1017 return ret;
1018 }
1019 }
1020
1021 public static string kSizeXArgument {
1022 get {
1024 return ret;
1025 }
1026 }
1027
1028 public static string kSizeYArgument {
1029 get {
1031 return ret;
1032 }
1033 }
1034
1035 public static string kSmartTimeCheckArgument {
1036 get {
1038 return ret;
1039 }
1040 }
1041
1042 public static string kSolutionLimitArgument {
1043 get {
1045 return ret;
1046 }
1047 }
1048
1049 public static string kStartMaxArgument {
1050 get {
1052 return ret;
1053 }
1054 }
1055
1056 public static string kStartMinArgument {
1057 get {
1059 return ret;
1060 }
1061 }
1062
1063 public static string kStartsArgument {
1064 get {
1066 return ret;
1067 }
1068 }
1069
1070 public static string kStepArgument {
1071 get {
1073 return ret;
1074 }
1075 }
1076
1077 public static string kTargetArgument {
1078 get {
1080 return ret;
1081 }
1082 }
1083
1084 public static string kTimeLimitArgument {
1085 get {
1087 return ret;
1088 }
1089 }
1090
1091 public static string kTransitsArgument {
1092 get {
1094 return ret;
1095 }
1096 }
1097
1098 public static string kTuplesArgument {
1099 get {
1101 return ret;
1102 }
1103 }
1104
1105 public static string kValueArgument {
1106 get {
1108 return ret;
1109 }
1110 }
1111
1112 public static string kValuesArgument {
1113 get {
1115 return ret;
1116 }
1117 }
1118
1119 public static string kVariableArgument {
1120 get {
1122 return ret;
1123 }
1124 }
1125
1126 public static string kVarsArgument {
1127 get {
1129 return ret;
1130 }
1131 }
1132
1133 public static string kEvaluatorArgument {
1134 get {
1136 return ret;
1137 }
1138 }
1139
1140 public static string kMirrorOperation {
1141 get {
1143 return ret;
1144 }
1145 }
1146
1147 public static string kRelaxedMaxOperation {
1148 get {
1150 return ret;
1151 }
1152 }
1153
1154 public static string kRelaxedMinOperation {
1155 get {
1157 return ret;
1158 }
1159 }
1160
1161 public static string kSumOperation {
1162 get {
1164 return ret;
1165 }
1166 }
1167
1168 public static string kDifferenceOperation {
1169 get {
1171 return ret;
1172 }
1173 }
1174
1175 public static string kProductOperation {
1176 get {
1178 return ret;
1179 }
1180 }
1181
1182 public static string kStartSyncOnStartOperation {
1183 get {
1185 return ret;
1186 }
1187 }
1188
1189 public static string kStartSyncOnEndOperation {
1190 get {
1192 return ret;
1193 }
1194 }
1195
1196 public static string kTraceOperation {
1197 get {
1199 return ret;
1200 }
1201 }
1202
1203 public virtual void BeginVisitModel(string type_name) {
1204 operations_research_constraint_solverPINVOKE.ModelVisitor_BeginVisitModel(swigCPtr, type_name);
1246
1247 public virtual void VisitIntegerVariable(IntVar variable, string operation, long value, IntVar delegate_) {
1248 operations_research_constraint_solverPINVOKE.ModelVisitor_VisitIntegerVariable__SWIG_1(swigCPtr, IntVar.getCPtr(variable), operation, value, IntVar.getCPtr(delegate_));
1253 operations_research_constraint_solverPINVOKE.ModelVisitor_VisitIntervalVariable(swigCPtr, IntervalVar.getCPtr(variable), operation, value, IntervalVar.getCPtr(delegate_));
1260
1261 public virtual void VisitIntegerArgument(string arg_name, long value) {
1307 }
1309}
1310
1311}
virtual void EndVisitIntegerExpression(string type_name, IntExpr expr)
virtual void EndVisitConstraint(string type_name, Constraint constraint)
virtual void VisitSequenceArgument(string arg_name, SequenceVar argument)
virtual void VisitIntervalArrayArgument(string arg_name, IntervalVarVector arguments)
virtual void VisitSequenceVariable(SequenceVar variable)
virtual void VisitIntegerArrayArgument(string arg_name, long[] values)
virtual void VisitIntegerVariableArrayArgument(string arg_name, IntVarVector arguments)
virtual void EndVisitModel(string type_name)
virtual void VisitIntegerVariable(IntVar variable, IntExpr delegate_)
virtual void BeginVisitExtension(string type)
virtual void VisitIntervalVariable(IntervalVar variable, string operation, long value, IntervalVar delegate_)
virtual void VisitIntervalArgument(string arg_name, IntervalVar argument)
virtual void VisitIntegerMatrixArgument(string arg_name, IntTupleSet tuples)
virtual void BeginVisitModel(string type_name)
virtual void BeginVisitConstraint(string type_name, Constraint constraint)
virtual void BeginVisitIntegerExpression(string type_name, IntExpr expr)
virtual void VisitIntegerExpressionArgument(string arg_name, IntExpr argument)
virtual void VisitSequenceArrayArgument(string arg_name, SequenceVarVector arguments)
virtual void VisitIntegerArgument(string arg_name, long value)
static void ModelVisitor_VisitSequenceArgument(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static void ModelVisitor_EndVisitExtension(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2)
static void ModelVisitor_VisitIntegerArrayArgument(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, int length3, long[] jarg3)
static void ModelVisitor_VisitIntegerVariable__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3, long jarg4, global::System.Runtime.InteropServices.HandleRef jarg5)
static void ModelVisitor_EndVisitIntegerExpression(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static void ModelVisitor_VisitIntegerMatrixArgument(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static void ModelVisitor_VisitIntervalVariable(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3, long jarg4, global::System.Runtime.InteropServices.HandleRef jarg5)
static void ModelVisitor_BeginVisitIntegerExpression(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static void ModelVisitor_VisitIntervalArgument(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static void ModelVisitor_VisitIntegerVariableArrayArgument(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static void ModelVisitor_VisitIntegerArgument(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, long jarg3)
static void delete_ModelVisitor(global::System.Runtime.InteropServices.HandleRef jarg1)
static void ModelVisitor_VisitSequenceArrayArgument(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static void ModelVisitor_VisitIntegerExpressionArgument(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static void ModelVisitor_BeginVisitConstraint(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static void ModelVisitor_VisitIntervalArrayArgument(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static void ModelVisitor_VisitIntegerVariable__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static void ModelVisitor_BeginVisitExtension(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2)
static void ModelVisitor_VisitSequenceVariable(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void ModelVisitor_EndVisitModel(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2)
static void ModelVisitor_EndVisitConstraint(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)