68 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
72 private static readonly pb::MessageParser<ConstraintSolverParameters> _parser =
new pb::MessageParser<ConstraintSolverParameters>(() =>
new ConstraintSolverParameters());
73 private pb::UnknownFieldSet _unknownFields;
74 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
75 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
76 public static pb::MessageParser<ConstraintSolverParameters>
Parser {
get {
return _parser; } }
78 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
79 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
81 get {
return global::Google.OrTools.ConstraintSolver.SolverParametersReflection.Descriptor.MessageTypes[0]; }
84 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
85 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
86 pbr::MessageDescriptor pb::IMessage.Descriptor {
90 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
91 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
96 partial
void OnConstruction();
98 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
99 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
101 compressTrail_ = other.compressTrail_;
102 trailBlockSize_ = other.trailBlockSize_;
103 arraySplitSize_ = other.arraySplitSize_;
104 storeNames_ = other.storeNames_;
105 nameCastVariables_ = other.nameCastVariables_;
106 nameAllVariables_ = other.nameAllVariables_;
107 profilePropagation_ = other.profilePropagation_;
108 profileFile_ = other.profileFile_;
109 profileLocalSearch_ = other.profileLocalSearch_;
110 printLocalSearchProfile_ = other.printLocalSearchProfile_;
111 tracePropagation_ = other.tracePropagation_;
112 traceSearch_ = other.traceSearch_;
113 printModel_ = other.printModel_;
114 printModelStats_ = other.printModelStats_;
115 printAddedConstraints_ = other.printAddedConstraints_;
116 disableSolve_ = other.disableSolve_;
117 useSmallTable_ = other.useSmallTable_;
118 useCumulativeEdgeFinder_ = other.useCumulativeEdgeFinder_;
119 useCumulativeTimeTable_ = other.useCumulativeTimeTable_;
120 useCumulativeTimeTableSync_ = other.useCumulativeTimeTableSync_;
121 useSequenceHighDemandTasks_ = other.useSequenceHighDemandTasks_;
122 useAllPossibleDisjunctions_ = other.useAllPossibleDisjunctions_;
123 maxEdgeFinderSize_ = other.maxEdgeFinderSize_;
124 diffnUseCumulative_ = other.diffnUseCumulative_;
125 useElementRmq_ = other.useElementRmq_;
126 skipLocallyOptimalPaths_ = other.skipLocallyOptimalPaths_;
127 checkSolutionPeriod_ = other.checkSolutionPeriod_;
128 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
131 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
132 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
139 private global::Google.OrTools.ConstraintSolver.
ConstraintSolverParameters.Types.TrailCompression compressTrail_ = global::Google.OrTools.ConstraintSolver.ConstraintSolverParameters.Types.TrailCompression.NoCompression;
145 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
146 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
147 public global::Google.OrTools.ConstraintSolver.ConstraintSolverParameters.Types.TrailCompression
CompressTrail {
148 get { return compressTrail_; }
150 compressTrail_ = value;
155 public const int TrailBlockSizeFieldNumber = 2;
156 private int trailBlockSize_;
161 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
162 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
163 public int TrailBlockSize {
164 get {
return trailBlockSize_; }
166 trailBlockSize_ = value;
171 public const int ArraySplitSizeFieldNumber = 3;
172 private int arraySplitSize_;
177 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
178 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
179 public int ArraySplitSize {
180 get {
return arraySplitSize_; }
182 arraySplitSize_ = value;
187 public const int StoreNamesFieldNumber = 4;
188 private bool storeNames_;
193 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
194 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
195 public bool StoreNames {
196 get {
return storeNames_; }
203 public const int NameCastVariablesFieldNumber = 5;
204 private bool nameCastVariables_;
208 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
209 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
210 public bool NameCastVariables {
211 get {
return nameCastVariables_; }
213 nameCastVariables_ = value;
218 public const int NameAllVariablesFieldNumber = 6;
219 private bool nameAllVariables_;
223 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
224 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
225 public bool NameAllVariables {
226 get {
return nameAllVariables_; }
228 nameAllVariables_ = value;
233 public const int ProfilePropagationFieldNumber = 7;
234 private bool profilePropagation_;
238 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
239 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
240 public bool ProfilePropagation {
241 get {
return profilePropagation_; }
243 profilePropagation_ = value;
248 public const int ProfileFileFieldNumber = 8;
249 private string profileFile_ =
"";
253 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
254 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
255 public string ProfileFile {
256 get {
return profileFile_; }
258 profileFile_ = pb::ProtoPreconditions.CheckNotNull(value,
"value");
263 public const int ProfileLocalSearchFieldNumber = 16;
264 private bool profileLocalSearch_;
268 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
269 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
270 public bool ProfileLocalSearch {
271 get {
return profileLocalSearch_; }
273 profileLocalSearch_ = value;
278 public const int PrintLocalSearchProfileFieldNumber = 17;
279 private bool printLocalSearchProfile_;
283 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
284 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
285 public bool PrintLocalSearchProfile {
286 get {
return printLocalSearchProfile_; }
288 printLocalSearchProfile_ = value;
293 public const int TracePropagationFieldNumber = 9;
294 private bool tracePropagation_;
298 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
299 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
300 public bool TracePropagation {
301 get {
return tracePropagation_; }
303 tracePropagation_ = value;
308 public const int TraceSearchFieldNumber = 10;
309 private bool traceSearch_;
313 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
314 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
315 public bool TraceSearch {
316 get {
return traceSearch_; }
318 traceSearch_ = value;
323 public const int PrintModelFieldNumber = 11;
324 private bool printModel_;
328 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
329 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
330 public bool PrintModel {
331 get {
return printModel_; }
338 public const int PrintModelStatsFieldNumber = 12;
339 private bool printModelStats_;
343 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
344 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
345 public bool PrintModelStats {
346 get {
return printModelStats_; }
348 printModelStats_ = value;
353 public const int PrintAddedConstraintsFieldNumber = 13;
354 private bool printAddedConstraints_;
358 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
359 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
360 public bool PrintAddedConstraints {
361 get {
return printAddedConstraints_; }
363 printAddedConstraints_ = value;
368 public const int DisableSolveFieldNumber = 15;
369 private bool disableSolve_;
370 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
371 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
372 public bool DisableSolve {
373 get {
return disableSolve_; }
375 disableSolve_ = value;
380 public const int UseSmallTableFieldNumber = 101;
381 private bool useSmallTable_;
386 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
387 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
388 public bool UseSmallTable {
389 get {
return useSmallTable_; }
391 useSmallTable_ = value;
396 public const int UseCumulativeEdgeFinderFieldNumber = 105;
397 private bool useCumulativeEdgeFinder_;
402 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
403 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
404 public bool UseCumulativeEdgeFinder {
405 get {
return useCumulativeEdgeFinder_; }
407 useCumulativeEdgeFinder_ = value;
412 public const int UseCumulativeTimeTableFieldNumber = 106;
413 private bool useCumulativeTimeTable_;
414 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
415 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
416 public bool UseCumulativeTimeTable {
417 get {
return useCumulativeTimeTable_; }
419 useCumulativeTimeTable_ = value;
424 public const int UseCumulativeTimeTableSyncFieldNumber = 112;
425 private bool useCumulativeTimeTableSync_;
426 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
427 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
428 public bool UseCumulativeTimeTableSync {
429 get {
return useCumulativeTimeTableSync_; }
431 useCumulativeTimeTableSync_ = value;
436 public const int UseSequenceHighDemandTasksFieldNumber = 107;
437 private bool useSequenceHighDemandTasks_;
438 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
439 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
440 public bool UseSequenceHighDemandTasks {
441 get {
return useSequenceHighDemandTasks_; }
443 useSequenceHighDemandTasks_ = value;
448 public const int UseAllPossibleDisjunctionsFieldNumber = 108;
449 private bool useAllPossibleDisjunctions_;
450 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
451 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
452 public bool UseAllPossibleDisjunctions {
453 get {
return useAllPossibleDisjunctions_; }
455 useAllPossibleDisjunctions_ = value;
460 public const int MaxEdgeFinderSizeFieldNumber = 109;
461 private int maxEdgeFinderSize_;
462 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
463 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
464 public int MaxEdgeFinderSize {
465 get {
return maxEdgeFinderSize_; }
467 maxEdgeFinderSize_ = value;
472 public const int DiffnUseCumulativeFieldNumber = 110;
473 private bool diffnUseCumulative_;
478 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
479 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
480 public bool DiffnUseCumulative {
481 get {
return diffnUseCumulative_; }
483 diffnUseCumulative_ = value;
488 public const int UseElementRmqFieldNumber = 111;
489 private bool useElementRmq_;
494 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
495 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
496 public bool UseElementRmq {
497 get {
return useElementRmq_; }
499 useElementRmq_ = value;
504 public const int SkipLocallyOptimalPathsFieldNumber = 113;
505 private bool skipLocallyOptimalPaths_;
513 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
514 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
515 public bool SkipLocallyOptimalPaths {
516 get {
return skipLocallyOptimalPaths_; }
518 skipLocallyOptimalPaths_ = value;
523 public const int CheckSolutionPeriodFieldNumber = 114;
524 private int checkSolutionPeriod_;
529 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
530 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
531 public int CheckSolutionPeriod {
532 get {
return checkSolutionPeriod_; }
534 checkSolutionPeriod_ = value;
538 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
539 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
540 public override bool Equals(
object other) {
544 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
545 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
547 if (ReferenceEquals(other,
null)) {
550 if (ReferenceEquals(other,
this)) {
556 if (StoreNames != other.
StoreNames)
return false;
560 if (ProfileFile != other.
ProfileFile)
return false;
564 if (TraceSearch != other.
TraceSearch)
return false;
565 if (PrintModel != other.
PrintModel)
return false;
580 return Equals(_unknownFields, other._unknownFields);
583 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
584 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
585 public override int GetHashCode() {
587 if (CompressTrail != global::Google.OrTools.ConstraintSolver.ConstraintSolverParameters.Types.TrailCompression.NoCompression) hash ^= CompressTrail.GetHashCode();
588 if (TrailBlockSize != 0) hash ^= TrailBlockSize.GetHashCode();
589 if (ArraySplitSize != 0) hash ^= ArraySplitSize.GetHashCode();
590 if (StoreNames !=
false) hash ^= StoreNames.GetHashCode();
591 if (NameCastVariables !=
false) hash ^= NameCastVariables.GetHashCode();
592 if (NameAllVariables !=
false) hash ^= NameAllVariables.GetHashCode();
593 if (ProfilePropagation !=
false) hash ^= ProfilePropagation.GetHashCode();
594 if (ProfileFile.Length != 0) hash ^= ProfileFile.GetHashCode();
595 if (ProfileLocalSearch !=
false) hash ^= ProfileLocalSearch.GetHashCode();
596 if (PrintLocalSearchProfile !=
false) hash ^= PrintLocalSearchProfile.GetHashCode();
597 if (TracePropagation !=
false) hash ^= TracePropagation.GetHashCode();
598 if (TraceSearch !=
false) hash ^= TraceSearch.GetHashCode();
599 if (PrintModel !=
false) hash ^= PrintModel.GetHashCode();
600 if (PrintModelStats !=
false) hash ^= PrintModelStats.GetHashCode();
601 if (PrintAddedConstraints !=
false) hash ^= PrintAddedConstraints.GetHashCode();
602 if (DisableSolve !=
false) hash ^= DisableSolve.GetHashCode();
603 if (UseSmallTable !=
false) hash ^= UseSmallTable.GetHashCode();
604 if (UseCumulativeEdgeFinder !=
false) hash ^= UseCumulativeEdgeFinder.GetHashCode();
605 if (UseCumulativeTimeTable !=
false) hash ^= UseCumulativeTimeTable.GetHashCode();
606 if (UseCumulativeTimeTableSync !=
false) hash ^= UseCumulativeTimeTableSync.GetHashCode();
607 if (UseSequenceHighDemandTasks !=
false) hash ^= UseSequenceHighDemandTasks.GetHashCode();
608 if (UseAllPossibleDisjunctions !=
false) hash ^= UseAllPossibleDisjunctions.GetHashCode();
609 if (MaxEdgeFinderSize != 0) hash ^= MaxEdgeFinderSize.GetHashCode();
610 if (DiffnUseCumulative !=
false) hash ^= DiffnUseCumulative.GetHashCode();
611 if (UseElementRmq !=
false) hash ^= UseElementRmq.GetHashCode();
612 if (SkipLocallyOptimalPaths !=
false) hash ^= SkipLocallyOptimalPaths.GetHashCode();
613 if (CheckSolutionPeriod != 0) hash ^= CheckSolutionPeriod.GetHashCode();
614 if (_unknownFields !=
null) {
615 hash ^= _unknownFields.GetHashCode();
620 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
621 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
622 public override string ToString() {
623 return pb::JsonFormatter.ToDiagnosticString(
this);
626 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
627 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
628 public void WriteTo(pb::CodedOutputStream output) {
629 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
630 output.WriteRawMessage(
this);
632 if (CompressTrail != global::Google.OrTools.ConstraintSolver.ConstraintSolverParameters.Types.TrailCompression.NoCompression) {
633 output.WriteRawTag(8);
634 output.WriteEnum((
int) CompressTrail);
636 if (TrailBlockSize != 0) {
637 output.WriteRawTag(16);
638 output.WriteInt32(TrailBlockSize);
640 if (ArraySplitSize != 0) {
641 output.WriteRawTag(24);
642 output.WriteInt32(ArraySplitSize);
644 if (StoreNames !=
false) {
645 output.WriteRawTag(32);
646 output.WriteBool(StoreNames);
648 if (NameCastVariables !=
false) {
649 output.WriteRawTag(40);
650 output.WriteBool(NameCastVariables);
652 if (NameAllVariables !=
false) {
653 output.WriteRawTag(48);
654 output.WriteBool(NameAllVariables);
656 if (ProfilePropagation !=
false) {
657 output.WriteRawTag(56);
658 output.WriteBool(ProfilePropagation);
660 if (ProfileFile.Length != 0) {
661 output.WriteRawTag(66);
662 output.WriteString(ProfileFile);
664 if (TracePropagation !=
false) {
665 output.WriteRawTag(72);
666 output.WriteBool(TracePropagation);
668 if (TraceSearch !=
false) {
669 output.WriteRawTag(80);
670 output.WriteBool(TraceSearch);
672 if (PrintModel !=
false) {
673 output.WriteRawTag(88);
674 output.WriteBool(PrintModel);
676 if (PrintModelStats !=
false) {
677 output.WriteRawTag(96);
678 output.WriteBool(PrintModelStats);
680 if (PrintAddedConstraints !=
false) {
681 output.WriteRawTag(104);
682 output.WriteBool(PrintAddedConstraints);
684 if (DisableSolve !=
false) {
685 output.WriteRawTag(120);
686 output.WriteBool(DisableSolve);
688 if (ProfileLocalSearch !=
false) {
689 output.WriteRawTag(128, 1);
690 output.WriteBool(ProfileLocalSearch);
692 if (PrintLocalSearchProfile !=
false) {
693 output.WriteRawTag(136, 1);
694 output.WriteBool(PrintLocalSearchProfile);
696 if (UseSmallTable !=
false) {
697 output.WriteRawTag(168, 6);
698 output.WriteBool(UseSmallTable);
700 if (UseCumulativeEdgeFinder !=
false) {
701 output.WriteRawTag(200, 6);
702 output.WriteBool(UseCumulativeEdgeFinder);
704 if (UseCumulativeTimeTable !=
false) {
705 output.WriteRawTag(208, 6);
706 output.WriteBool(UseCumulativeTimeTable);
708 if (UseSequenceHighDemandTasks !=
false) {
709 output.WriteRawTag(216, 6);
710 output.WriteBool(UseSequenceHighDemandTasks);
712 if (UseAllPossibleDisjunctions !=
false) {
713 output.WriteRawTag(224, 6);
714 output.WriteBool(UseAllPossibleDisjunctions);
716 if (MaxEdgeFinderSize != 0) {
717 output.WriteRawTag(232, 6);
718 output.WriteInt32(MaxEdgeFinderSize);
720 if (DiffnUseCumulative !=
false) {
721 output.WriteRawTag(240, 6);
722 output.WriteBool(DiffnUseCumulative);
724 if (UseElementRmq !=
false) {
725 output.WriteRawTag(248, 6);
726 output.WriteBool(UseElementRmq);
728 if (UseCumulativeTimeTableSync !=
false) {
729 output.WriteRawTag(128, 7);
730 output.WriteBool(UseCumulativeTimeTableSync);
732 if (SkipLocallyOptimalPaths !=
false) {
733 output.WriteRawTag(136, 7);
734 output.WriteBool(SkipLocallyOptimalPaths);
736 if (CheckSolutionPeriod != 0) {
737 output.WriteRawTag(144, 7);
738 output.WriteInt32(CheckSolutionPeriod);
740 if (_unknownFields !=
null) {
741 _unknownFields.WriteTo(output);
746 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
747 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
748 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
749 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
750 if (CompressTrail != global::Google.OrTools.ConstraintSolver.ConstraintSolverParameters.Types.TrailCompression.NoCompression) {
751 output.WriteRawTag(8);
752 output.WriteEnum((
int) CompressTrail);
754 if (TrailBlockSize != 0) {
755 output.WriteRawTag(16);
756 output.WriteInt32(TrailBlockSize);
758 if (ArraySplitSize != 0) {
759 output.WriteRawTag(24);
760 output.WriteInt32(ArraySplitSize);
762 if (StoreNames !=
false) {
763 output.WriteRawTag(32);
764 output.WriteBool(StoreNames);
766 if (NameCastVariables !=
false) {
767 output.WriteRawTag(40);
768 output.WriteBool(NameCastVariables);
770 if (NameAllVariables !=
false) {
771 output.WriteRawTag(48);
772 output.WriteBool(NameAllVariables);
774 if (ProfilePropagation !=
false) {
775 output.WriteRawTag(56);
776 output.WriteBool(ProfilePropagation);
778 if (ProfileFile.Length != 0) {
779 output.WriteRawTag(66);
780 output.WriteString(ProfileFile);
782 if (TracePropagation !=
false) {
783 output.WriteRawTag(72);
784 output.WriteBool(TracePropagation);
786 if (TraceSearch !=
false) {
787 output.WriteRawTag(80);
788 output.WriteBool(TraceSearch);
790 if (PrintModel !=
false) {
791 output.WriteRawTag(88);
792 output.WriteBool(PrintModel);
794 if (PrintModelStats !=
false) {
795 output.WriteRawTag(96);
796 output.WriteBool(PrintModelStats);
798 if (PrintAddedConstraints !=
false) {
799 output.WriteRawTag(104);
800 output.WriteBool(PrintAddedConstraints);
802 if (DisableSolve !=
false) {
803 output.WriteRawTag(120);
804 output.WriteBool(DisableSolve);
806 if (ProfileLocalSearch !=
false) {
807 output.WriteRawTag(128, 1);
808 output.WriteBool(ProfileLocalSearch);
810 if (PrintLocalSearchProfile !=
false) {
811 output.WriteRawTag(136, 1);
812 output.WriteBool(PrintLocalSearchProfile);
814 if (UseSmallTable !=
false) {
815 output.WriteRawTag(168, 6);
816 output.WriteBool(UseSmallTable);
818 if (UseCumulativeEdgeFinder !=
false) {
819 output.WriteRawTag(200, 6);
820 output.WriteBool(UseCumulativeEdgeFinder);
822 if (UseCumulativeTimeTable !=
false) {
823 output.WriteRawTag(208, 6);
824 output.WriteBool(UseCumulativeTimeTable);
826 if (UseSequenceHighDemandTasks !=
false) {
827 output.WriteRawTag(216, 6);
828 output.WriteBool(UseSequenceHighDemandTasks);
830 if (UseAllPossibleDisjunctions !=
false) {
831 output.WriteRawTag(224, 6);
832 output.WriteBool(UseAllPossibleDisjunctions);
834 if (MaxEdgeFinderSize != 0) {
835 output.WriteRawTag(232, 6);
836 output.WriteInt32(MaxEdgeFinderSize);
838 if (DiffnUseCumulative !=
false) {
839 output.WriteRawTag(240, 6);
840 output.WriteBool(DiffnUseCumulative);
842 if (UseElementRmq !=
false) {
843 output.WriteRawTag(248, 6);
844 output.WriteBool(UseElementRmq);
846 if (UseCumulativeTimeTableSync !=
false) {
847 output.WriteRawTag(128, 7);
848 output.WriteBool(UseCumulativeTimeTableSync);
850 if (SkipLocallyOptimalPaths !=
false) {
851 output.WriteRawTag(136, 7);
852 output.WriteBool(SkipLocallyOptimalPaths);
854 if (CheckSolutionPeriod != 0) {
855 output.WriteRawTag(144, 7);
856 output.WriteInt32(CheckSolutionPeriod);
858 if (_unknownFields !=
null) {
859 _unknownFields.WriteTo(ref output);
864 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
865 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
866 public int CalculateSize() {
868 if (CompressTrail != global::Google.OrTools.ConstraintSolver.ConstraintSolverParameters.Types.TrailCompression.NoCompression) {
869 size += 1 + pb::CodedOutputStream.ComputeEnumSize((
int) CompressTrail);
871 if (TrailBlockSize != 0) {
872 size += 1 + pb::CodedOutputStream.ComputeInt32Size(TrailBlockSize);
874 if (ArraySplitSize != 0) {
875 size += 1 + pb::CodedOutputStream.ComputeInt32Size(ArraySplitSize);
877 if (StoreNames !=
false) {
880 if (NameCastVariables !=
false) {
883 if (NameAllVariables !=
false) {
886 if (ProfilePropagation !=
false) {
889 if (ProfileFile.Length != 0) {
890 size += 1 + pb::CodedOutputStream.ComputeStringSize(ProfileFile);
892 if (ProfileLocalSearch !=
false) {
895 if (PrintLocalSearchProfile !=
false) {
898 if (TracePropagation !=
false) {
901 if (TraceSearch !=
false) {
904 if (PrintModel !=
false) {
907 if (PrintModelStats !=
false) {
910 if (PrintAddedConstraints !=
false) {
913 if (DisableSolve !=
false) {
916 if (UseSmallTable !=
false) {
919 if (UseCumulativeEdgeFinder !=
false) {
922 if (UseCumulativeTimeTable !=
false) {
925 if (UseCumulativeTimeTableSync !=
false) {
928 if (UseSequenceHighDemandTasks !=
false) {
931 if (UseAllPossibleDisjunctions !=
false) {
934 if (MaxEdgeFinderSize != 0) {
935 size += 2 + pb::CodedOutputStream.ComputeInt32Size(MaxEdgeFinderSize);
937 if (DiffnUseCumulative !=
false) {
940 if (UseElementRmq !=
false) {
943 if (SkipLocallyOptimalPaths !=
false) {
946 if (CheckSolutionPeriod != 0) {
947 size += 2 + pb::CodedOutputStream.ComputeInt32Size(CheckSolutionPeriod);
949 if (_unknownFields !=
null) {
950 size += _unknownFields.CalculateSize();
955 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
956 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
957 public void MergeFrom(ConstraintSolverParameters other) {
961 if (other.CompressTrail != global::Google.OrTools.ConstraintSolver.ConstraintSolverParameters.Types.TrailCompression.NoCompression) {
962 CompressTrail = other.CompressTrail;
964 if (other.TrailBlockSize != 0) {
965 TrailBlockSize = other.TrailBlockSize;
967 if (other.ArraySplitSize != 0) {
968 ArraySplitSize = other.ArraySplitSize;
970 if (other.StoreNames !=
false) {
971 StoreNames = other.StoreNames;
973 if (other.NameCastVariables !=
false) {
974 NameCastVariables = other.NameCastVariables;
976 if (other.NameAllVariables !=
false) {
977 NameAllVariables = other.NameAllVariables;
979 if (other.ProfilePropagation !=
false) {
980 ProfilePropagation = other.ProfilePropagation;
982 if (other.ProfileFile.Length != 0) {
983 ProfileFile = other.ProfileFile;
985 if (other.ProfileLocalSearch !=
false) {
986 ProfileLocalSearch = other.ProfileLocalSearch;
988 if (other.PrintLocalSearchProfile !=
false) {
989 PrintLocalSearchProfile = other.PrintLocalSearchProfile;
991 if (other.TracePropagation !=
false) {
992 TracePropagation = other.TracePropagation;
994 if (other.TraceSearch !=
false) {
995 TraceSearch = other.TraceSearch;
997 if (other.PrintModel !=
false) {
998 PrintModel = other.PrintModel;
1000 if (other.PrintModelStats !=
false) {
1001 PrintModelStats = other.PrintModelStats;
1003 if (other.PrintAddedConstraints !=
false) {
1004 PrintAddedConstraints = other.PrintAddedConstraints;
1006 if (other.DisableSolve !=
false) {
1007 DisableSolve = other.DisableSolve;
1009 if (other.UseSmallTable !=
false) {
1010 UseSmallTable = other.UseSmallTable;
1012 if (other.UseCumulativeEdgeFinder !=
false) {
1013 UseCumulativeEdgeFinder = other.UseCumulativeEdgeFinder;
1015 if (other.UseCumulativeTimeTable !=
false) {
1016 UseCumulativeTimeTable = other.UseCumulativeTimeTable;
1018 if (other.UseCumulativeTimeTableSync !=
false) {
1019 UseCumulativeTimeTableSync = other.UseCumulativeTimeTableSync;
1021 if (other.UseSequenceHighDemandTasks !=
false) {
1022 UseSequenceHighDemandTasks = other.UseSequenceHighDemandTasks;
1024 if (other.UseAllPossibleDisjunctions !=
false) {
1025 UseAllPossibleDisjunctions = other.UseAllPossibleDisjunctions;
1027 if (other.MaxEdgeFinderSize != 0) {
1028 MaxEdgeFinderSize = other.MaxEdgeFinderSize;
1030 if (other.DiffnUseCumulative !=
false) {
1031 DiffnUseCumulative = other.DiffnUseCumulative;
1033 if (other.UseElementRmq !=
false) {
1034 UseElementRmq = other.UseElementRmq;
1036 if (other.SkipLocallyOptimalPaths !=
false) {
1037 SkipLocallyOptimalPaths = other.SkipLocallyOptimalPaths;
1039 if (other.CheckSolutionPeriod != 0) {
1040 CheckSolutionPeriod = other.CheckSolutionPeriod;
1042 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
1045 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1046 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1047 public void MergeFrom(pb::CodedInputStream input) {
1048 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1049 input.ReadRawMessage(
this);
1052 while ((tag = input.ReadTag()) != 0) {
1055 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
1058 CompressTrail = (global::Google.OrTools.ConstraintSolver.ConstraintSolverParameters.Types.TrailCompression) input.ReadEnum();
1062 TrailBlockSize = input.ReadInt32();
1066 ArraySplitSize = input.ReadInt32();
1070 StoreNames = input.ReadBool();
1074 NameCastVariables = input.ReadBool();
1078 NameAllVariables = input.ReadBool();
1082 ProfilePropagation = input.ReadBool();
1086 ProfileFile = input.ReadString();
1090 TracePropagation = input.ReadBool();
1094 TraceSearch = input.ReadBool();
1098 PrintModel = input.ReadBool();
1102 PrintModelStats = input.ReadBool();
1106 PrintAddedConstraints = input.ReadBool();
1110 DisableSolve = input.ReadBool();
1114 ProfileLocalSearch = input.ReadBool();
1118 PrintLocalSearchProfile = input.ReadBool();
1122 UseSmallTable = input.ReadBool();
1126 UseCumulativeEdgeFinder = input.ReadBool();
1130 UseCumulativeTimeTable = input.ReadBool();
1134 UseSequenceHighDemandTasks = input.ReadBool();
1138 UseAllPossibleDisjunctions = input.ReadBool();
1142 MaxEdgeFinderSize = input.ReadInt32();
1146 DiffnUseCumulative = input.ReadBool();
1150 UseElementRmq = input.ReadBool();
1154 UseCumulativeTimeTableSync = input.ReadBool();
1158 SkipLocallyOptimalPaths = input.ReadBool();
1162 CheckSolutionPeriod = input.ReadInt32();
1170 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1171 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1172 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1173 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
1175 while ((tag = input.ReadTag()) != 0) {
1178 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
1181 CompressTrail = (global::Google.OrTools.ConstraintSolver.ConstraintSolverParameters.Types.TrailCompression) input.ReadEnum();
1185 TrailBlockSize = input.ReadInt32();
1189 ArraySplitSize = input.ReadInt32();
1193 StoreNames = input.ReadBool();
1197 NameCastVariables = input.ReadBool();
1201 NameAllVariables = input.ReadBool();
1205 ProfilePropagation = input.ReadBool();
1209 ProfileFile = input.ReadString();
1213 TracePropagation = input.ReadBool();
1217 TraceSearch = input.ReadBool();
1221 PrintModel = input.ReadBool();
1225 PrintModelStats = input.ReadBool();
1229 PrintAddedConstraints = input.ReadBool();
1233 DisableSolve = input.ReadBool();
1237 ProfileLocalSearch = input.ReadBool();
1241 PrintLocalSearchProfile = input.ReadBool();
1245 UseSmallTable = input.ReadBool();
1249 UseCumulativeEdgeFinder = input.ReadBool();
1253 UseCumulativeTimeTable = input.ReadBool();
1257 UseSequenceHighDemandTasks = input.ReadBool();
1261 UseAllPossibleDisjunctions = input.ReadBool();
1265 MaxEdgeFinderSize = input.ReadInt32();
1269 DiffnUseCumulative = input.ReadBool();
1273 UseElementRmq = input.ReadBool();
1277 UseCumulativeTimeTableSync = input.ReadBool();
1281 SkipLocallyOptimalPaths = input.ReadBool();
1285 CheckSolutionPeriod = input.ReadInt32();
1293 #region Nested types
1295 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1296 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1297 public static partial
class Types {
1302 public enum TrailCompression {
1303 [pbr::OriginalName(
"NO_COMPRESSION")] NoCompression = 0,
1304 [pbr::OriginalName(
"COMPRESS_WITH_ZLIB")] CompressWithZlib = 1,
1316#endregion Designer generated code