DotNet Reference

.Net Reference

SolverParameters.pb.cs
Go to the documentation of this file.
1 // <auto-generated>
2 // Generated by the protocol buffer compiler. DO NOT EDIT!
3 // source: ortools/constraint_solver/solver_parameters.proto
4 // </auto-generated>
5 #pragma warning disable 1591, 0612, 3021
6 #region Designer generated code
7 
8 using pb = global::Google.Protobuf;
9 using pbc = global::Google.Protobuf.Collections;
10 using pbr = global::Google.Protobuf.Reflection;
11 using scg = global::System.Collections.Generic;
13 
15  public static partial class SolverParametersReflection {
16 
17  #region Descriptor
19  public static pbr::FileDescriptor Descriptor {
20  get { return descriptor; }
21  }
22  private static pbr::FileDescriptor descriptor;
23 
25  byte[] descriptorData = global::System.Convert.FromBase64String(
26  string.Concat(
27  "CjFvcnRvb2xzL2NvbnN0cmFpbnRfc29sdmVyL3NvbHZlcl9wYXJhbWV0ZXJz",
28  "LnByb3RvEhNvcGVyYXRpb25zX3Jlc2VhcmNoIs0HChpDb25zdHJhaW50U29s",
29  "dmVyUGFyYW1ldGVycxJYCg5jb21wcmVzc190cmFpbBgBIAEoDjJALm9wZXJh",
30  "dGlvbnNfcmVzZWFyY2guQ29uc3RyYWludFNvbHZlclBhcmFtZXRlcnMuVHJh",
31  "aWxDb21wcmVzc2lvbhIYChB0cmFpbF9ibG9ja19zaXplGAIgASgFEhgKEGFy",
32  "cmF5X3NwbGl0X3NpemUYAyABKAUSEwoLc3RvcmVfbmFtZXMYBCABKAgSGwoT",
33  "bmFtZV9jYXN0X3ZhcmlhYmxlcxgFIAEoCBIaChJuYW1lX2FsbF92YXJpYWJs",
34  "ZXMYBiABKAgSGwoTcHJvZmlsZV9wcm9wYWdhdGlvbhgHIAEoCBIUCgxwcm9m",
35  "aWxlX2ZpbGUYCCABKAkSHAoUcHJvZmlsZV9sb2NhbF9zZWFyY2gYECABKAgS",
36  "IgoacHJpbnRfbG9jYWxfc2VhcmNoX3Byb2ZpbGUYESABKAgSGQoRdHJhY2Vf",
37  "cHJvcGFnYXRpb24YCSABKAgSFAoMdHJhY2Vfc2VhcmNoGAogASgIEhMKC3By",
38  "aW50X21vZGVsGAsgASgIEhkKEXByaW50X21vZGVsX3N0YXRzGAwgASgIEh8K",
39  "F3ByaW50X2FkZGVkX2NvbnN0cmFpbnRzGA0gASgIEhUKDWRpc2FibGVfc29s",
40  "dmUYDyABKAgSFwoPdXNlX3NtYWxsX3RhYmxlGGUgASgIEiIKGnVzZV9jdW11",
41  "bGF0aXZlX2VkZ2VfZmluZGVyGGkgASgIEiEKGXVzZV9jdW11bGF0aXZlX3Rp",
42  "bWVfdGFibGUYaiABKAgSJgoedXNlX2N1bXVsYXRpdmVfdGltZV90YWJsZV9z",
43  "eW5jGHAgASgIEiYKHnVzZV9zZXF1ZW5jZV9oaWdoX2RlbWFuZF90YXNrcxhr",
44  "IAEoCBIlCh11c2VfYWxsX3Bvc3NpYmxlX2Rpc2p1bmN0aW9ucxhsIAEoCBIc",
45  "ChRtYXhfZWRnZV9maW5kZXJfc2l6ZRhtIAEoBRIcChRkaWZmbl91c2VfY3Vt",
46  "dWxhdGl2ZRhuIAEoCBIXCg91c2VfZWxlbWVudF9ybXEYbyABKAgSIgoac2tp",
47  "cF9sb2NhbGx5X29wdGltYWxfcGF0aHMYcSABKAgSHQoVY2hlY2tfc29sdXRp",
48  "b25fcGVyaW9kGHIgASgFIj4KEFRyYWlsQ29tcHJlc3Npb24SEgoOTk9fQ09N",
49  "UFJFU1NJT04QABIWChJDT01QUkVTU19XSVRIX1pMSUIQAUoECGQQZUoECGYQ",
50  "Z0oECGcQaEoECGgQaUJJCiNjb20uZ29vZ2xlLm9ydG9vbHMuY29uc3RyYWlu",
51  "dHNvbHZlclABqgIfR29vZ2xlLk9yVG9vbHMuQ29uc3RyYWludFNvbHZlcmIG",
52  "cHJvdG8z"));
53  descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
54  new pbr::FileDescriptor[] { },
55  new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
56  new pbr::GeneratedClrTypeInfo(typeof(global::Google.OrTools.ConstraintSolver.ConstraintSolverParameters), global::Google.OrTools.ConstraintSolver.ConstraintSolverParameters.Parser, new[]{ "CompressTrail", "TrailBlockSize", "ArraySplitSize", "StoreNames", "NameCastVariables", "NameAllVariables", "ProfilePropagation", "ProfileFile", "ProfileLocalSearch", "PrintLocalSearchProfile", "TracePropagation", "TraceSearch", "PrintModel", "PrintModelStats", "PrintAddedConstraints", "DisableSolve", "UseSmallTable", "UseCumulativeEdgeFinder", "UseCumulativeTimeTable", "UseCumulativeTimeTableSync", "UseSequenceHighDemandTasks", "UseAllPossibleDisjunctions", "MaxEdgeFinderSize", "DiffnUseCumulative", "UseElementRmq", "SkipLocallyOptimalPaths", "CheckSolutionPeriod" }, null, new[]{ typeof(global::Google.OrTools.ConstraintSolver.ConstraintSolverParameters.Types.TrailCompression) }, null, null)
57  }));
58  }
59  #endregion
60 
61  }
62  #region Messages
66  public sealed partial class ConstraintSolverParameters : pb::IMessage<ConstraintSolverParameters>
67  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
68  , pb::IBufferMessage
69  #endif
70  {
71  private static readonly pb::MessageParser<ConstraintSolverParameters> _parser = new pb::MessageParser<ConstraintSolverParameters>(() => new ConstraintSolverParameters());
72  private pb::UnknownFieldSet _unknownFields;
73  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
74  public static pb::MessageParser<ConstraintSolverParameters> Parser { get { return _parser; } }
75 
76  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
77  public static pbr::MessageDescriptor Descriptor {
78  get { return global::Google.OrTools.ConstraintSolver.SolverParametersReflection.Descriptor.MessageTypes[0]; }
79  }
80 
81  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
82  pbr::MessageDescriptor pb::IMessage.Descriptor {
83  get { return Descriptor; }
84  }
85 
86  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
88  OnConstruction();
89  }
90 
91  partial void OnConstruction();
92 
93  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
95  compressTrail_ = other.compressTrail_;
96  trailBlockSize_ = other.trailBlockSize_;
97  arraySplitSize_ = other.arraySplitSize_;
98  storeNames_ = other.storeNames_;
99  nameCastVariables_ = other.nameCastVariables_;
100  nameAllVariables_ = other.nameAllVariables_;
101  profilePropagation_ = other.profilePropagation_;
102  profileFile_ = other.profileFile_;
103  profileLocalSearch_ = other.profileLocalSearch_;
104  printLocalSearchProfile_ = other.printLocalSearchProfile_;
105  tracePropagation_ = other.tracePropagation_;
106  traceSearch_ = other.traceSearch_;
107  printModel_ = other.printModel_;
108  printModelStats_ = other.printModelStats_;
109  printAddedConstraints_ = other.printAddedConstraints_;
110  disableSolve_ = other.disableSolve_;
111  useSmallTable_ = other.useSmallTable_;
112  useCumulativeEdgeFinder_ = other.useCumulativeEdgeFinder_;
113  useCumulativeTimeTable_ = other.useCumulativeTimeTable_;
114  useCumulativeTimeTableSync_ = other.useCumulativeTimeTableSync_;
115  useSequenceHighDemandTasks_ = other.useSequenceHighDemandTasks_;
116  useAllPossibleDisjunctions_ = other.useAllPossibleDisjunctions_;
117  maxEdgeFinderSize_ = other.maxEdgeFinderSize_;
118  diffnUseCumulative_ = other.diffnUseCumulative_;
119  useElementRmq_ = other.useElementRmq_;
120  skipLocallyOptimalPaths_ = other.skipLocallyOptimalPaths_;
121  checkSolutionPeriod_ = other.checkSolutionPeriod_;
122  _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
123  }
124 
125  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
127  return new ConstraintSolverParameters(this);
128  }
129 
131  public const int CompressTrailFieldNumber = 1;
132  private global::Google.OrTools.ConstraintSolver.ConstraintSolverParameters.Types.TrailCompression compressTrail_ = global::Google.OrTools.ConstraintSolver.ConstraintSolverParameters.Types.TrailCompression.NoCompression;
138  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
139  public global::Google.OrTools.ConstraintSolver.ConstraintSolverParameters.Types.TrailCompression CompressTrail {
140  get { return compressTrail_; }
141  set {
142  compressTrail_ = value;
143  }
144  }
145 
147  public const int TrailBlockSizeFieldNumber = 2;
148  private int trailBlockSize_;
153  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
154  public int TrailBlockSize {
155  get { return trailBlockSize_; }
156  set {
157  trailBlockSize_ = value;
158  }
159  }
160 
162  public const int ArraySplitSizeFieldNumber = 3;
163  private int arraySplitSize_;
168  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
169  public int ArraySplitSize {
170  get { return arraySplitSize_; }
171  set {
172  arraySplitSize_ = value;
173  }
174  }
175 
177  public const int StoreNamesFieldNumber = 4;
178  private bool storeNames_;
183  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
184  public bool StoreNames {
185  get { return storeNames_; }
186  set {
187  storeNames_ = value;
188  }
189  }
190 
192  public const int NameCastVariablesFieldNumber = 5;
193  private bool nameCastVariables_;
197  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
198  public bool NameCastVariables {
199  get { return nameCastVariables_; }
200  set {
201  nameCastVariables_ = value;
202  }
203  }
204 
206  public const int NameAllVariablesFieldNumber = 6;
207  private bool nameAllVariables_;
211  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
212  public bool NameAllVariables {
213  get { return nameAllVariables_; }
214  set {
215  nameAllVariables_ = value;
216  }
217  }
218 
220  public const int ProfilePropagationFieldNumber = 7;
221  private bool profilePropagation_;
225  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
226  public bool ProfilePropagation {
227  get { return profilePropagation_; }
228  set {
229  profilePropagation_ = value;
230  }
231  }
232 
234  public const int ProfileFileFieldNumber = 8;
235  private string profileFile_ = "";
239  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
240  public string ProfileFile {
241  get { return profileFile_; }
242  set {
243  profileFile_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
244  }
245  }
246 
248  public const int ProfileLocalSearchFieldNumber = 16;
249  private bool profileLocalSearch_;
253  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
254  public bool ProfileLocalSearch {
255  get { return profileLocalSearch_; }
256  set {
257  profileLocalSearch_ = value;
258  }
259  }
260 
262  public const int PrintLocalSearchProfileFieldNumber = 17;
263  private bool printLocalSearchProfile_;
267  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
269  get { return printLocalSearchProfile_; }
270  set {
271  printLocalSearchProfile_ = value;
272  }
273  }
274 
276  public const int TracePropagationFieldNumber = 9;
277  private bool tracePropagation_;
281  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
282  public bool TracePropagation {
283  get { return tracePropagation_; }
284  set {
285  tracePropagation_ = value;
286  }
287  }
288 
290  public const int TraceSearchFieldNumber = 10;
291  private bool traceSearch_;
295  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
296  public bool TraceSearch {
297  get { return traceSearch_; }
298  set {
299  traceSearch_ = value;
300  }
301  }
302 
304  public const int PrintModelFieldNumber = 11;
305  private bool printModel_;
309  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
310  public bool PrintModel {
311  get { return printModel_; }
312  set {
313  printModel_ = value;
314  }
315  }
316 
318  public const int PrintModelStatsFieldNumber = 12;
319  private bool printModelStats_;
323  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
324  public bool PrintModelStats {
325  get { return printModelStats_; }
326  set {
327  printModelStats_ = value;
328  }
329  }
330 
332  public const int PrintAddedConstraintsFieldNumber = 13;
333  private bool printAddedConstraints_;
337  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
338  public bool PrintAddedConstraints {
339  get { return printAddedConstraints_; }
340  set {
341  printAddedConstraints_ = value;
342  }
343  }
344 
346  public const int DisableSolveFieldNumber = 15;
347  private bool disableSolve_;
348  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
349  public bool DisableSolve {
350  get { return disableSolve_; }
351  set {
352  disableSolve_ = value;
353  }
354  }
355 
357  public const int UseSmallTableFieldNumber = 101;
358  private bool useSmallTable_;
363  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
364  public bool UseSmallTable {
365  get { return useSmallTable_; }
366  set {
367  useSmallTable_ = value;
368  }
369  }
370 
372  public const int UseCumulativeEdgeFinderFieldNumber = 105;
373  private bool useCumulativeEdgeFinder_;
378  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
380  get { return useCumulativeEdgeFinder_; }
381  set {
382  useCumulativeEdgeFinder_ = value;
383  }
384  }
385 
387  public const int UseCumulativeTimeTableFieldNumber = 106;
388  private bool useCumulativeTimeTable_;
389  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
391  get { return useCumulativeTimeTable_; }
392  set {
393  useCumulativeTimeTable_ = value;
394  }
395  }
396 
399  private bool useCumulativeTimeTableSync_;
400  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
402  get { return useCumulativeTimeTableSync_; }
403  set {
404  useCumulativeTimeTableSync_ = value;
405  }
406  }
407 
410  private bool useSequenceHighDemandTasks_;
411  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
413  get { return useSequenceHighDemandTasks_; }
414  set {
415  useSequenceHighDemandTasks_ = value;
416  }
417  }
418 
421  private bool useAllPossibleDisjunctions_;
422  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
424  get { return useAllPossibleDisjunctions_; }
425  set {
426  useAllPossibleDisjunctions_ = value;
427  }
428  }
429 
431  public const int MaxEdgeFinderSizeFieldNumber = 109;
432  private int maxEdgeFinderSize_;
433  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
434  public int MaxEdgeFinderSize {
435  get { return maxEdgeFinderSize_; }
436  set {
437  maxEdgeFinderSize_ = value;
438  }
439  }
440 
442  public const int DiffnUseCumulativeFieldNumber = 110;
443  private bool diffnUseCumulative_;
448  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
449  public bool DiffnUseCumulative {
450  get { return diffnUseCumulative_; }
451  set {
452  diffnUseCumulative_ = value;
453  }
454  }
455 
457  public const int UseElementRmqFieldNumber = 111;
458  private bool useElementRmq_;
463  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
464  public bool UseElementRmq {
465  get { return useElementRmq_; }
466  set {
467  useElementRmq_ = value;
468  }
469  }
470 
472  public const int SkipLocallyOptimalPathsFieldNumber = 113;
473  private bool skipLocallyOptimalPaths_;
481  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
483  get { return skipLocallyOptimalPaths_; }
484  set {
485  skipLocallyOptimalPaths_ = value;
486  }
487  }
488 
490  public const int CheckSolutionPeriodFieldNumber = 114;
491  private int checkSolutionPeriod_;
496  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
497  public int CheckSolutionPeriod {
498  get { return checkSolutionPeriod_; }
499  set {
500  checkSolutionPeriod_ = value;
501  }
502  }
503 
504  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
505  public override bool Equals(object other) {
506  return Equals(other as ConstraintSolverParameters);
507  }
508 
509  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
510  public bool Equals(ConstraintSolverParameters other) {
511  if (ReferenceEquals(other, null)) {
512  return false;
513  }
514  if (ReferenceEquals(other, this)) {
515  return true;
516  }
517  if (CompressTrail != other.CompressTrail) return false;
518  if (TrailBlockSize != other.TrailBlockSize) return false;
519  if (ArraySplitSize != other.ArraySplitSize) return false;
520  if (StoreNames != other.StoreNames) return false;
521  if (NameCastVariables != other.NameCastVariables) return false;
522  if (NameAllVariables != other.NameAllVariables) return false;
523  if (ProfilePropagation != other.ProfilePropagation) return false;
524  if (ProfileFile != other.ProfileFile) return false;
525  if (ProfileLocalSearch != other.ProfileLocalSearch) return false;
526  if (PrintLocalSearchProfile != other.PrintLocalSearchProfile) return false;
527  if (TracePropagation != other.TracePropagation) return false;
528  if (TraceSearch != other.TraceSearch) return false;
529  if (PrintModel != other.PrintModel) return false;
530  if (PrintModelStats != other.PrintModelStats) return false;
531  if (PrintAddedConstraints != other.PrintAddedConstraints) return false;
532  if (DisableSolve != other.DisableSolve) return false;
533  if (UseSmallTable != other.UseSmallTable) return false;
534  if (UseCumulativeEdgeFinder != other.UseCumulativeEdgeFinder) return false;
535  if (UseCumulativeTimeTable != other.UseCumulativeTimeTable) return false;
536  if (UseCumulativeTimeTableSync != other.UseCumulativeTimeTableSync) return false;
537  if (UseSequenceHighDemandTasks != other.UseSequenceHighDemandTasks) return false;
538  if (UseAllPossibleDisjunctions != other.UseAllPossibleDisjunctions) return false;
539  if (MaxEdgeFinderSize != other.MaxEdgeFinderSize) return false;
540  if (DiffnUseCumulative != other.DiffnUseCumulative) return false;
541  if (UseElementRmq != other.UseElementRmq) return false;
542  if (SkipLocallyOptimalPaths != other.SkipLocallyOptimalPaths) return false;
543  if (CheckSolutionPeriod != other.CheckSolutionPeriod) return false;
544  return Equals(_unknownFields, other._unknownFields);
545  }
546 
547  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
548  public override int GetHashCode() {
549  int hash = 1;
550  if (CompressTrail != global::Google.OrTools.ConstraintSolver.ConstraintSolverParameters.Types.TrailCompression.NoCompression) hash ^= CompressTrail.GetHashCode();
551  if (TrailBlockSize != 0) hash ^= TrailBlockSize.GetHashCode();
552  if (ArraySplitSize != 0) hash ^= ArraySplitSize.GetHashCode();
553  if (StoreNames != false) hash ^= StoreNames.GetHashCode();
554  if (NameCastVariables != false) hash ^= NameCastVariables.GetHashCode();
555  if (NameAllVariables != false) hash ^= NameAllVariables.GetHashCode();
556  if (ProfilePropagation != false) hash ^= ProfilePropagation.GetHashCode();
557  if (ProfileFile.Length != 0) hash ^= ProfileFile.GetHashCode();
558  if (ProfileLocalSearch != false) hash ^= ProfileLocalSearch.GetHashCode();
559  if (PrintLocalSearchProfile != false) hash ^= PrintLocalSearchProfile.GetHashCode();
560  if (TracePropagation != false) hash ^= TracePropagation.GetHashCode();
561  if (TraceSearch != false) hash ^= TraceSearch.GetHashCode();
562  if (PrintModel != false) hash ^= PrintModel.GetHashCode();
563  if (PrintModelStats != false) hash ^= PrintModelStats.GetHashCode();
564  if (PrintAddedConstraints != false) hash ^= PrintAddedConstraints.GetHashCode();
565  if (DisableSolve != false) hash ^= DisableSolve.GetHashCode();
566  if (UseSmallTable != false) hash ^= UseSmallTable.GetHashCode();
567  if (UseCumulativeEdgeFinder != false) hash ^= UseCumulativeEdgeFinder.GetHashCode();
568  if (UseCumulativeTimeTable != false) hash ^= UseCumulativeTimeTable.GetHashCode();
569  if (UseCumulativeTimeTableSync != false) hash ^= UseCumulativeTimeTableSync.GetHashCode();
570  if (UseSequenceHighDemandTasks != false) hash ^= UseSequenceHighDemandTasks.GetHashCode();
571  if (UseAllPossibleDisjunctions != false) hash ^= UseAllPossibleDisjunctions.GetHashCode();
572  if (MaxEdgeFinderSize != 0) hash ^= MaxEdgeFinderSize.GetHashCode();
573  if (DiffnUseCumulative != false) hash ^= DiffnUseCumulative.GetHashCode();
574  if (UseElementRmq != false) hash ^= UseElementRmq.GetHashCode();
575  if (SkipLocallyOptimalPaths != false) hash ^= SkipLocallyOptimalPaths.GetHashCode();
576  if (CheckSolutionPeriod != 0) hash ^= CheckSolutionPeriod.GetHashCode();
577  if (_unknownFields != null) {
578  hash ^= _unknownFields.GetHashCode();
579  }
580  return hash;
581  }
582 
583  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
584  public override string ToString() {
585  return pb::JsonFormatter.ToDiagnosticString(this);
586  }
587 
588  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
589  public void WriteTo(pb::CodedOutputStream output) {
590  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
591  output.WriteRawMessage(this);
592  #else
593  if (CompressTrail != global::Google.OrTools.ConstraintSolver.ConstraintSolverParameters.Types.TrailCompression.NoCompression) {
594  output.WriteRawTag(8);
595  output.WriteEnum((int) CompressTrail);
596  }
597  if (TrailBlockSize != 0) {
598  output.WriteRawTag(16);
599  output.WriteInt32(TrailBlockSize);
600  }
601  if (ArraySplitSize != 0) {
602  output.WriteRawTag(24);
603  output.WriteInt32(ArraySplitSize);
604  }
605  if (StoreNames != false) {
606  output.WriteRawTag(32);
607  output.WriteBool(StoreNames);
608  }
609  if (NameCastVariables != false) {
610  output.WriteRawTag(40);
611  output.WriteBool(NameCastVariables);
612  }
613  if (NameAllVariables != false) {
614  output.WriteRawTag(48);
615  output.WriteBool(NameAllVariables);
616  }
617  if (ProfilePropagation != false) {
618  output.WriteRawTag(56);
619  output.WriteBool(ProfilePropagation);
620  }
621  if (ProfileFile.Length != 0) {
622  output.WriteRawTag(66);
623  output.WriteString(ProfileFile);
624  }
625  if (TracePropagation != false) {
626  output.WriteRawTag(72);
627  output.WriteBool(TracePropagation);
628  }
629  if (TraceSearch != false) {
630  output.WriteRawTag(80);
631  output.WriteBool(TraceSearch);
632  }
633  if (PrintModel != false) {
634  output.WriteRawTag(88);
635  output.WriteBool(PrintModel);
636  }
637  if (PrintModelStats != false) {
638  output.WriteRawTag(96);
639  output.WriteBool(PrintModelStats);
640  }
641  if (PrintAddedConstraints != false) {
642  output.WriteRawTag(104);
643  output.WriteBool(PrintAddedConstraints);
644  }
645  if (DisableSolve != false) {
646  output.WriteRawTag(120);
647  output.WriteBool(DisableSolve);
648  }
649  if (ProfileLocalSearch != false) {
650  output.WriteRawTag(128, 1);
651  output.WriteBool(ProfileLocalSearch);
652  }
653  if (PrintLocalSearchProfile != false) {
654  output.WriteRawTag(136, 1);
655  output.WriteBool(PrintLocalSearchProfile);
656  }
657  if (UseSmallTable != false) {
658  output.WriteRawTag(168, 6);
659  output.WriteBool(UseSmallTable);
660  }
661  if (UseCumulativeEdgeFinder != false) {
662  output.WriteRawTag(200, 6);
663  output.WriteBool(UseCumulativeEdgeFinder);
664  }
665  if (UseCumulativeTimeTable != false) {
666  output.WriteRawTag(208, 6);
667  output.WriteBool(UseCumulativeTimeTable);
668  }
669  if (UseSequenceHighDemandTasks != false) {
670  output.WriteRawTag(216, 6);
671  output.WriteBool(UseSequenceHighDemandTasks);
672  }
673  if (UseAllPossibleDisjunctions != false) {
674  output.WriteRawTag(224, 6);
675  output.WriteBool(UseAllPossibleDisjunctions);
676  }
677  if (MaxEdgeFinderSize != 0) {
678  output.WriteRawTag(232, 6);
679  output.WriteInt32(MaxEdgeFinderSize);
680  }
681  if (DiffnUseCumulative != false) {
682  output.WriteRawTag(240, 6);
683  output.WriteBool(DiffnUseCumulative);
684  }
685  if (UseElementRmq != false) {
686  output.WriteRawTag(248, 6);
687  output.WriteBool(UseElementRmq);
688  }
689  if (UseCumulativeTimeTableSync != false) {
690  output.WriteRawTag(128, 7);
691  output.WriteBool(UseCumulativeTimeTableSync);
692  }
693  if (SkipLocallyOptimalPaths != false) {
694  output.WriteRawTag(136, 7);
695  output.WriteBool(SkipLocallyOptimalPaths);
696  }
697  if (CheckSolutionPeriod != 0) {
698  output.WriteRawTag(144, 7);
699  output.WriteInt32(CheckSolutionPeriod);
700  }
701  if (_unknownFields != null) {
702  _unknownFields.WriteTo(output);
703  }
704  #endif
705  }
706 
707  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
708  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
709  void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
710  if (CompressTrail != global::Google.OrTools.ConstraintSolver.ConstraintSolverParameters.Types.TrailCompression.NoCompression) {
711  output.WriteRawTag(8);
712  output.WriteEnum((int) CompressTrail);
713  }
714  if (TrailBlockSize != 0) {
715  output.WriteRawTag(16);
716  output.WriteInt32(TrailBlockSize);
717  }
718  if (ArraySplitSize != 0) {
719  output.WriteRawTag(24);
720  output.WriteInt32(ArraySplitSize);
721  }
722  if (StoreNames != false) {
723  output.WriteRawTag(32);
724  output.WriteBool(StoreNames);
725  }
726  if (NameCastVariables != false) {
727  output.WriteRawTag(40);
728  output.WriteBool(NameCastVariables);
729  }
730  if (NameAllVariables != false) {
731  output.WriteRawTag(48);
732  output.WriteBool(NameAllVariables);
733  }
734  if (ProfilePropagation != false) {
735  output.WriteRawTag(56);
736  output.WriteBool(ProfilePropagation);
737  }
738  if (ProfileFile.Length != 0) {
739  output.WriteRawTag(66);
740  output.WriteString(ProfileFile);
741  }
742  if (TracePropagation != false) {
743  output.WriteRawTag(72);
744  output.WriteBool(TracePropagation);
745  }
746  if (TraceSearch != false) {
747  output.WriteRawTag(80);
748  output.WriteBool(TraceSearch);
749  }
750  if (PrintModel != false) {
751  output.WriteRawTag(88);
752  output.WriteBool(PrintModel);
753  }
754  if (PrintModelStats != false) {
755  output.WriteRawTag(96);
756  output.WriteBool(PrintModelStats);
757  }
758  if (PrintAddedConstraints != false) {
759  output.WriteRawTag(104);
760  output.WriteBool(PrintAddedConstraints);
761  }
762  if (DisableSolve != false) {
763  output.WriteRawTag(120);
764  output.WriteBool(DisableSolve);
765  }
766  if (ProfileLocalSearch != false) {
767  output.WriteRawTag(128, 1);
768  output.WriteBool(ProfileLocalSearch);
769  }
770  if (PrintLocalSearchProfile != false) {
771  output.WriteRawTag(136, 1);
772  output.WriteBool(PrintLocalSearchProfile);
773  }
774  if (UseSmallTable != false) {
775  output.WriteRawTag(168, 6);
776  output.WriteBool(UseSmallTable);
777  }
778  if (UseCumulativeEdgeFinder != false) {
779  output.WriteRawTag(200, 6);
780  output.WriteBool(UseCumulativeEdgeFinder);
781  }
782  if (UseCumulativeTimeTable != false) {
783  output.WriteRawTag(208, 6);
784  output.WriteBool(UseCumulativeTimeTable);
785  }
786  if (UseSequenceHighDemandTasks != false) {
787  output.WriteRawTag(216, 6);
788  output.WriteBool(UseSequenceHighDemandTasks);
789  }
790  if (UseAllPossibleDisjunctions != false) {
791  output.WriteRawTag(224, 6);
792  output.WriteBool(UseAllPossibleDisjunctions);
793  }
794  if (MaxEdgeFinderSize != 0) {
795  output.WriteRawTag(232, 6);
796  output.WriteInt32(MaxEdgeFinderSize);
797  }
798  if (DiffnUseCumulative != false) {
799  output.WriteRawTag(240, 6);
800  output.WriteBool(DiffnUseCumulative);
801  }
802  if (UseElementRmq != false) {
803  output.WriteRawTag(248, 6);
804  output.WriteBool(UseElementRmq);
805  }
806  if (UseCumulativeTimeTableSync != false) {
807  output.WriteRawTag(128, 7);
808  output.WriteBool(UseCumulativeTimeTableSync);
809  }
810  if (SkipLocallyOptimalPaths != false) {
811  output.WriteRawTag(136, 7);
812  output.WriteBool(SkipLocallyOptimalPaths);
813  }
814  if (CheckSolutionPeriod != 0) {
815  output.WriteRawTag(144, 7);
816  output.WriteInt32(CheckSolutionPeriod);
817  }
818  if (_unknownFields != null) {
819  _unknownFields.WriteTo(ref output);
820  }
821  }
822  #endif
823 
824  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
825  public int CalculateSize() {
826  int size = 0;
827  if (CompressTrail != global::Google.OrTools.ConstraintSolver.ConstraintSolverParameters.Types.TrailCompression.NoCompression) {
828  size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) CompressTrail);
829  }
830  if (TrailBlockSize != 0) {
831  size += 1 + pb::CodedOutputStream.ComputeInt32Size(TrailBlockSize);
832  }
833  if (ArraySplitSize != 0) {
834  size += 1 + pb::CodedOutputStream.ComputeInt32Size(ArraySplitSize);
835  }
836  if (StoreNames != false) {
837  size += 1 + 1;
838  }
839  if (NameCastVariables != false) {
840  size += 1 + 1;
841  }
842  if (NameAllVariables != false) {
843  size += 1 + 1;
844  }
845  if (ProfilePropagation != false) {
846  size += 1 + 1;
847  }
848  if (ProfileFile.Length != 0) {
849  size += 1 + pb::CodedOutputStream.ComputeStringSize(ProfileFile);
850  }
851  if (ProfileLocalSearch != false) {
852  size += 2 + 1;
853  }
854  if (PrintLocalSearchProfile != false) {
855  size += 2 + 1;
856  }
857  if (TracePropagation != false) {
858  size += 1 + 1;
859  }
860  if (TraceSearch != false) {
861  size += 1 + 1;
862  }
863  if (PrintModel != false) {
864  size += 1 + 1;
865  }
866  if (PrintModelStats != false) {
867  size += 1 + 1;
868  }
869  if (PrintAddedConstraints != false) {
870  size += 1 + 1;
871  }
872  if (DisableSolve != false) {
873  size += 1 + 1;
874  }
875  if (UseSmallTable != false) {
876  size += 2 + 1;
877  }
878  if (UseCumulativeEdgeFinder != false) {
879  size += 2 + 1;
880  }
881  if (UseCumulativeTimeTable != false) {
882  size += 2 + 1;
883  }
884  if (UseCumulativeTimeTableSync != false) {
885  size += 2 + 1;
886  }
887  if (UseSequenceHighDemandTasks != false) {
888  size += 2 + 1;
889  }
890  if (UseAllPossibleDisjunctions != false) {
891  size += 2 + 1;
892  }
893  if (MaxEdgeFinderSize != 0) {
894  size += 2 + pb::CodedOutputStream.ComputeInt32Size(MaxEdgeFinderSize);
895  }
896  if (DiffnUseCumulative != false) {
897  size += 2 + 1;
898  }
899  if (UseElementRmq != false) {
900  size += 2 + 1;
901  }
902  if (SkipLocallyOptimalPaths != false) {
903  size += 2 + 1;
904  }
905  if (CheckSolutionPeriod != 0) {
906  size += 2 + pb::CodedOutputStream.ComputeInt32Size(CheckSolutionPeriod);
907  }
908  if (_unknownFields != null) {
909  size += _unknownFields.CalculateSize();
910  }
911  return size;
912  }
913 
914  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
916  if (other == null) {
917  return;
918  }
919  if (other.CompressTrail != global::Google.OrTools.ConstraintSolver.ConstraintSolverParameters.Types.TrailCompression.NoCompression) {
921  }
922  if (other.TrailBlockSize != 0) {
924  }
925  if (other.ArraySplitSize != 0) {
927  }
928  if (other.StoreNames != false) {
929  StoreNames = other.StoreNames;
930  }
931  if (other.NameCastVariables != false) {
933  }
934  if (other.NameAllVariables != false) {
936  }
937  if (other.ProfilePropagation != false) {
939  }
940  if (other.ProfileFile.Length != 0) {
941  ProfileFile = other.ProfileFile;
942  }
943  if (other.ProfileLocalSearch != false) {
945  }
946  if (other.PrintLocalSearchProfile != false) {
948  }
949  if (other.TracePropagation != false) {
951  }
952  if (other.TraceSearch != false) {
953  TraceSearch = other.TraceSearch;
954  }
955  if (other.PrintModel != false) {
956  PrintModel = other.PrintModel;
957  }
958  if (other.PrintModelStats != false) {
960  }
961  if (other.PrintAddedConstraints != false) {
963  }
964  if (other.DisableSolve != false) {
965  DisableSolve = other.DisableSolve;
966  }
967  if (other.UseSmallTable != false) {
969  }
970  if (other.UseCumulativeEdgeFinder != false) {
972  }
973  if (other.UseCumulativeTimeTable != false) {
975  }
976  if (other.UseCumulativeTimeTableSync != false) {
978  }
979  if (other.UseSequenceHighDemandTasks != false) {
981  }
982  if (other.UseAllPossibleDisjunctions != false) {
984  }
985  if (other.MaxEdgeFinderSize != 0) {
987  }
988  if (other.DiffnUseCumulative != false) {
990  }
991  if (other.UseElementRmq != false) {
993  }
994  if (other.SkipLocallyOptimalPaths != false) {
996  }
997  if (other.CheckSolutionPeriod != 0) {
999  }
1000  _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
1001  }
1002 
1003  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1004  public void MergeFrom(pb::CodedInputStream input) {
1005  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1006  input.ReadRawMessage(this);
1007  #else
1008  uint tag;
1009  while ((tag = input.ReadTag()) != 0) {
1010  switch(tag) {
1011  default:
1012  _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
1013  break;
1014  case 8: {
1015  CompressTrail = (global::Google.OrTools.ConstraintSolver.ConstraintSolverParameters.Types.TrailCompression) input.ReadEnum();
1016  break;
1017  }
1018  case 16: {
1019  TrailBlockSize = input.ReadInt32();
1020  break;
1021  }
1022  case 24: {
1023  ArraySplitSize = input.ReadInt32();
1024  break;
1025  }
1026  case 32: {
1027  StoreNames = input.ReadBool();
1028  break;
1029  }
1030  case 40: {
1031  NameCastVariables = input.ReadBool();
1032  break;
1033  }
1034  case 48: {
1035  NameAllVariables = input.ReadBool();
1036  break;
1037  }
1038  case 56: {
1039  ProfilePropagation = input.ReadBool();
1040  break;
1041  }
1042  case 66: {
1043  ProfileFile = input.ReadString();
1044  break;
1045  }
1046  case 72: {
1047  TracePropagation = input.ReadBool();
1048  break;
1049  }
1050  case 80: {
1051  TraceSearch = input.ReadBool();
1052  break;
1053  }
1054  case 88: {
1055  PrintModel = input.ReadBool();
1056  break;
1057  }
1058  case 96: {
1059  PrintModelStats = input.ReadBool();
1060  break;
1061  }
1062  case 104: {
1063  PrintAddedConstraints = input.ReadBool();
1064  break;
1065  }
1066  case 120: {
1067  DisableSolve = input.ReadBool();
1068  break;
1069  }
1070  case 128: {
1071  ProfileLocalSearch = input.ReadBool();
1072  break;
1073  }
1074  case 136: {
1075  PrintLocalSearchProfile = input.ReadBool();
1076  break;
1077  }
1078  case 808: {
1079  UseSmallTable = input.ReadBool();
1080  break;
1081  }
1082  case 840: {
1083  UseCumulativeEdgeFinder = input.ReadBool();
1084  break;
1085  }
1086  case 848: {
1087  UseCumulativeTimeTable = input.ReadBool();
1088  break;
1089  }
1090  case 856: {
1091  UseSequenceHighDemandTasks = input.ReadBool();
1092  break;
1093  }
1094  case 864: {
1095  UseAllPossibleDisjunctions = input.ReadBool();
1096  break;
1097  }
1098  case 872: {
1099  MaxEdgeFinderSize = input.ReadInt32();
1100  break;
1101  }
1102  case 880: {
1103  DiffnUseCumulative = input.ReadBool();
1104  break;
1105  }
1106  case 888: {
1107  UseElementRmq = input.ReadBool();
1108  break;
1109  }
1110  case 896: {
1111  UseCumulativeTimeTableSync = input.ReadBool();
1112  break;
1113  }
1114  case 904: {
1115  SkipLocallyOptimalPaths = input.ReadBool();
1116  break;
1117  }
1118  case 912: {
1119  CheckSolutionPeriod = input.ReadInt32();
1120  break;
1121  }
1122  }
1123  }
1124  #endif
1125  }
1126 
1127  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1128  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1129  void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
1130  uint tag;
1131  while ((tag = input.ReadTag()) != 0) {
1132  switch(tag) {
1133  default:
1134  _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
1135  break;
1136  case 8: {
1137  CompressTrail = (global::Google.OrTools.ConstraintSolver.ConstraintSolverParameters.Types.TrailCompression) input.ReadEnum();
1138  break;
1139  }
1140  case 16: {
1141  TrailBlockSize = input.ReadInt32();
1142  break;
1143  }
1144  case 24: {
1145  ArraySplitSize = input.ReadInt32();
1146  break;
1147  }
1148  case 32: {
1149  StoreNames = input.ReadBool();
1150  break;
1151  }
1152  case 40: {
1153  NameCastVariables = input.ReadBool();
1154  break;
1155  }
1156  case 48: {
1157  NameAllVariables = input.ReadBool();
1158  break;
1159  }
1160  case 56: {
1161  ProfilePropagation = input.ReadBool();
1162  break;
1163  }
1164  case 66: {
1165  ProfileFile = input.ReadString();
1166  break;
1167  }
1168  case 72: {
1169  TracePropagation = input.ReadBool();
1170  break;
1171  }
1172  case 80: {
1173  TraceSearch = input.ReadBool();
1174  break;
1175  }
1176  case 88: {
1177  PrintModel = input.ReadBool();
1178  break;
1179  }
1180  case 96: {
1181  PrintModelStats = input.ReadBool();
1182  break;
1183  }
1184  case 104: {
1185  PrintAddedConstraints = input.ReadBool();
1186  break;
1187  }
1188  case 120: {
1189  DisableSolve = input.ReadBool();
1190  break;
1191  }
1192  case 128: {
1193  ProfileLocalSearch = input.ReadBool();
1194  break;
1195  }
1196  case 136: {
1197  PrintLocalSearchProfile = input.ReadBool();
1198  break;
1199  }
1200  case 808: {
1201  UseSmallTable = input.ReadBool();
1202  break;
1203  }
1204  case 840: {
1205  UseCumulativeEdgeFinder = input.ReadBool();
1206  break;
1207  }
1208  case 848: {
1209  UseCumulativeTimeTable = input.ReadBool();
1210  break;
1211  }
1212  case 856: {
1213  UseSequenceHighDemandTasks = input.ReadBool();
1214  break;
1215  }
1216  case 864: {
1217  UseAllPossibleDisjunctions = input.ReadBool();
1218  break;
1219  }
1220  case 872: {
1221  MaxEdgeFinderSize = input.ReadInt32();
1222  break;
1223  }
1224  case 880: {
1225  DiffnUseCumulative = input.ReadBool();
1226  break;
1227  }
1228  case 888: {
1229  UseElementRmq = input.ReadBool();
1230  break;
1231  }
1232  case 896: {
1233  UseCumulativeTimeTableSync = input.ReadBool();
1234  break;
1235  }
1236  case 904: {
1237  SkipLocallyOptimalPaths = input.ReadBool();
1238  break;
1239  }
1240  case 912: {
1241  CheckSolutionPeriod = input.ReadInt32();
1242  break;
1243  }
1244  }
1245  }
1246  }
1247  #endif
1248 
1249  #region Nested types
1251  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1252  public static partial class Types {
1257  public enum TrailCompression {
1258  [pbr::OriginalName("NO_COMPRESSION")] NoCompression = 0,
1259  [pbr::OriginalName("COMPRESS_WITH_ZLIB")] CompressWithZlib = 1,
1260  }
1261 
1262  }
1263  #endregion
1264 
1265  }
1266 
1267  #endregion
1268 
1269 }
1270 
1271 #endregion Designer generated code
global::Google.Protobuf pb
global::Google.Protobuf.Reflection pbr
global::System.Collections.Generic scg
global::Google.Protobuf.Collections pbc
Container for nested types declared in the ConstraintSolverParameters message type.
const int UseSequenceHighDemandTasksFieldNumber
Field number for the "use_sequence_high_demand_tasks" field.
const int PrintAddedConstraintsFieldNumber
Field number for the "print_added_constraints" field.
const int SkipLocallyOptimalPathsFieldNumber
Field number for the "skip_locally_optimal_paths" field.
const int UseCumulativeTimeTableFieldNumber
Field number for the "use_cumulative_time_table" field.
bool StoreNames
This parameters indicates if the solver should store the names of the objets it manages.
const int TrailBlockSizeFieldNumber
Field number for the "trail_block_size" field.
bool NameAllVariables
Should anonymous variables be given a name.
const int MaxEdgeFinderSizeFieldNumber
Field number for the "max_edge_finder_size" field.
const int TracePropagationFieldNumber
Field number for the "trace_propagation" field.
const int PrintModelFieldNumber
Field number for the "print_model" field.
const int TraceSearchFieldNumber
Field number for the "trace_search" field.
const int UseSmallTableFieldNumber
Field number for the "use_small_table" field.
global::Google.OrTools.ConstraintSolver.ConstraintSolverParameters.Types.TrailCompression CompressTrail
This parameter indicates if the solver should compress the trail during the search.
const int NameAllVariablesFieldNumber
Field number for the "name_all_variables" field.
const int PrintLocalSearchProfileFieldNumber
Field number for the "print_local_search_profile" field.
bool PrintLocalSearchProfile
Print local search profiling data after solving.
string ProfileFile
Export propagation profiling data to file.
const int UseCumulativeEdgeFinderFieldNumber
Field number for the "use_cumulative_edge_finder" field.
const int ArraySplitSizeFieldNumber
Field number for the "array_split_size" field.
const int NameCastVariablesFieldNumber
Field number for the "name_cast_variables" field.
const int UseElementRmqFieldNumber
Field number for the "use_element_rmq" field.
static pb::MessageParser< ConstraintSolverParameters > Parser
const int ProfileFileFieldNumber
Field number for the "profile_file" field.
int TrailBlockSize
This parameter indicates the default size of a block of the trail.
const int UseCumulativeTimeTableSyncFieldNumber
Field number for the "use_cumulative_time_table_sync" field.
const int ProfilePropagationFieldNumber
Field number for the "profile_propagation" field.
const int CheckSolutionPeriodFieldNumber
Field number for the "check_solution_period" field.
int ArraySplitSize
When a sum/min/max operation is applied on a large array, this array is recursively split into blocks...
const int StoreNamesFieldNumber
Field number for the "store_names" field.
const int ProfileLocalSearchFieldNumber
Field number for the "profile_local_search" field.
const int DisableSolveFieldNumber
Field number for the "disable_solve" field.
const int DiffnUseCumulativeFieldNumber
Field number for the "diffn_use_cumulative" field.
const int PrintModelStatsFieldNumber
Field number for the "print_model_stats" field.
bool PrintModelStats
Print model statistics before solving.
const int CompressTrailFieldNumber
Field number for the "compress_trail" field.
const int UseAllPossibleDisjunctionsFieldNumber
Field number for the "use_all_possible_disjunctions" field.
Holder for reflection information generated from ortools/constraint_solver/solver_parameters....
static pbr::FileDescriptor Descriptor
File descriptor for ortools/constraint_solver/solver_parameters.proto