DotNet Reference

DotNet Reference

RoutingEnums.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/routing_enums.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 RoutingEnumsReflection {
16 
17  #region Descriptor
18  public static pbr::FileDescriptor Descriptor {
20  get { return descriptor; }
21  }
22  private static pbr::FileDescriptor descriptor;
23 
24  static RoutingEnumsReflection() {
25  byte[] descriptorData = global::System.Convert.FromBase64String(
26  string.Concat(
27  "Ci1vcnRvb2xzL2NvbnN0cmFpbnRfc29sdmVyL3JvdXRpbmdfZW51bXMucHJv",
28  "dG8SE29wZXJhdGlvbnNfcmVzZWFyY2gijAMKFUZpcnN0U29sdXRpb25TdHJh",
29  "dGVneSLyAgoFVmFsdWUSCQoFVU5TRVQQABINCglBVVRPTUFUSUMQDxIVChFQ",
30  "QVRIX0NIRUFQRVNUX0FSQxADEh0KGVBBVEhfTU9TVF9DT05TVFJBSU5FRF9B",
31  "UkMQBBIWChJFVkFMVUFUT1JfU1RSQVRFR1kQBRILCgdTQVZJTkdTEAoSCQoF",
32  "U1dFRVAQCxIQCgxDSFJJU1RPRklERVMQDRITCg9BTExfVU5QRVJGT1JNRUQQ",
33  "BhISCg5CRVNUX0lOU0VSVElPThAHEh8KG1BBUkFMTEVMX0NIRUFQRVNUX0lO",
34  "U0VSVElPThAIEiEKHVNFUVVFTlRJQUxfQ0hFQVBFU1RfSU5TRVJUSU9OEA4S",
35  "HAoYTE9DQUxfQ0hFQVBFU1RfSU5TRVJUSU9OEAkSFwoTR0xPQkFMX0NIRUFQ",
36  "RVNUX0FSQxABEhYKEkxPQ0FMX0NIRUFQRVNUX0FSQxACEhsKF0ZJUlNUX1VO",
37  "Qk9VTkRfTUlOX1ZBTFVFEAwirgEKGExvY2FsU2VhcmNoTWV0YWhldXJpc3Rp",
38  "YyKRAQoFVmFsdWUSCQoFVU5TRVQQABINCglBVVRPTUFUSUMQBhISCg5HUkVF",
39  "RFlfREVTQ0VOVBABEhcKE0dVSURFRF9MT0NBTF9TRUFSQ0gQAhIXChNTSU1V",
40  "TEFURURfQU5ORUFMSU5HEAMSDwoLVEFCVV9TRUFSQ0gQBBIXChNHRU5FUklD",
41  "X1RBQlVfU0VBUkNIEAVCSQojY29tLmdvb2dsZS5vcnRvb2xzLmNvbnN0cmFp",
42  "bnRzb2x2ZXJQAaoCH0dvb2dsZS5PclRvb2xzLkNvbnN0cmFpbnRTb2x2ZXJi",
43  "BnByb3RvMw=="));
44  descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
45  new pbr::FileDescriptor[] { },
46  new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
47  new pbr::GeneratedClrTypeInfo(typeof(global::Google.OrTools.ConstraintSolver.FirstSolutionStrategy), global::Google.OrTools.ConstraintSolver.FirstSolutionStrategy.Parser, null, null, new[]{ typeof(global::Google.OrTools.ConstraintSolver.FirstSolutionStrategy.Types.Value) }, null, null),
48  new pbr::GeneratedClrTypeInfo(typeof(global::Google.OrTools.ConstraintSolver.LocalSearchMetaheuristic), global::Google.OrTools.ConstraintSolver.LocalSearchMetaheuristic.Parser, null, null, new[]{ typeof(global::Google.OrTools.ConstraintSolver.LocalSearchMetaheuristic.Types.Value) }, null, null)
49  }));
50  }
51  #endregion
52 
53  }
54  #region Messages
55  public sealed partial class FirstSolutionStrategy : pb::IMessage<FirstSolutionStrategy> {
59  private static readonly pb::MessageParser<FirstSolutionStrategy> _parser = new pb::MessageParser<FirstSolutionStrategy>(() => new FirstSolutionStrategy());
60  private pb::UnknownFieldSet _unknownFields;
61  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
62  public static pb::MessageParser<FirstSolutionStrategy> Parser { get { return _parser; } }
63 
64  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
65  public static pbr::MessageDescriptor Descriptor {
66  get { return global::Google.OrTools.ConstraintSolver.RoutingEnumsReflection.Descriptor.MessageTypes[0]; }
67  }
68 
69  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
70  pbr::MessageDescriptor pb::IMessage.Descriptor {
71  get { return Descriptor; }
72  }
73 
74  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
76  OnConstruction();
77  }
78 
79  partial void OnConstruction();
80 
81  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
83  _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
84  }
85 
86  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
88  return new FirstSolutionStrategy(this);
89  }
90 
91  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
92  public override bool Equals(object other) {
93  return Equals(other as FirstSolutionStrategy);
94  }
95 
96  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
97  public bool Equals(FirstSolutionStrategy other) {
98  if (ReferenceEquals(other, null)) {
99  return false;
100  }
101  if (ReferenceEquals(other, this)) {
102  return true;
103  }
104  return Equals(_unknownFields, other._unknownFields);
105  }
106 
107  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
108  public override int GetHashCode() {
109  int hash = 1;
110  if (_unknownFields != null) {
111  hash ^= _unknownFields.GetHashCode();
112  }
113  return hash;
114  }
115 
116  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
117  public override string ToString() {
118  return pb::JsonFormatter.ToDiagnosticString(this);
119  }
120 
121  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
122  public void WriteTo(pb::CodedOutputStream output) {
123  if (_unknownFields != null) {
124  _unknownFields.WriteTo(output);
125  }
126  }
127 
128  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
129  public int CalculateSize() {
130  int size = 0;
131  if (_unknownFields != null) {
132  size += _unknownFields.CalculateSize();
133  }
134  return size;
135  }
136 
137  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
138  public void MergeFrom(FirstSolutionStrategy other) {
139  if (other == null) {
140  return;
141  }
142  _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
143  }
144 
145  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
146  public void MergeFrom(pb::CodedInputStream input) {
147  uint tag;
148  while ((tag = input.ReadTag()) != 0) {
149  switch(tag) {
150  default:
151  _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
152  break;
153  }
154  }
155  }
156 
157  #region Nested types
158  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
160  public static partial class Types {
161  public enum Value {
165  [pbr::OriginalName("UNSET")] Unset = 0,
170  [pbr::OriginalName("AUTOMATIC")] Automatic = 15,
177  [pbr::OriginalName("PATH_CHEAPEST_ARC")] PathCheapestArc = 3,
184  [pbr::OriginalName("PATH_MOST_CONSTRAINED_ARC")] PathMostConstrainedArc = 4,
190  [pbr::OriginalName("EVALUATOR_STRATEGY")] EvaluatorStrategy = 5,
197  [pbr::OriginalName("SAVINGS")] Savings = 10,
205  [pbr::OriginalName("SWEEP")] Sweep = 11,
216  [pbr::OriginalName("CHRISTOFIDES")] Christofides = 13,
222  [pbr::OriginalName("ALL_UNPERFORMED")] AllUnperformed = 6,
229  [pbr::OriginalName("BEST_INSERTION")] BestInsertion = 7,
235  [pbr::OriginalName("PARALLEL_CHEAPEST_INSERTION")] ParallelCheapestInsertion = 8,
242  [pbr::OriginalName("SEQUENTIAL_CHEAPEST_INSERTION")] SequentialCheapestInsertion = 14,
251  [pbr::OriginalName("LOCAL_CHEAPEST_INSERTION")] LocalCheapestInsertion = 9,
256  [pbr::OriginalName("GLOBAL_CHEAPEST_ARC")] GlobalCheapestArc = 1,
261  [pbr::OriginalName("LOCAL_CHEAPEST_ARC")] LocalCheapestArc = 2,
268  [pbr::OriginalName("FIRST_UNBOUND_MIN_VALUE")] FirstUnboundMinValue = 12,
269  }
270 
271  }
272  #endregion
273 
274  }
275 
280  public sealed partial class LocalSearchMetaheuristic : pb::IMessage<LocalSearchMetaheuristic> {
281  private static readonly pb::MessageParser<LocalSearchMetaheuristic> _parser = new pb::MessageParser<LocalSearchMetaheuristic>(() => new LocalSearchMetaheuristic());
282  private pb::UnknownFieldSet _unknownFields;
283  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
284  public static pb::MessageParser<LocalSearchMetaheuristic> Parser { get { return _parser; } }
285 
286  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
287  public static pbr::MessageDescriptor Descriptor {
288  get { return global::Google.OrTools.ConstraintSolver.RoutingEnumsReflection.Descriptor.MessageTypes[1]; }
289  }
290 
291  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
292  pbr::MessageDescriptor pb::IMessage.Descriptor {
293  get { return Descriptor; }
294  }
295 
296  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
298  OnConstruction();
299  }
300 
301  partial void OnConstruction();
302 
303  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
305  _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
306  }
307 
308  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
310  return new LocalSearchMetaheuristic(this);
311  }
312 
313  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
314  public override bool Equals(object other) {
315  return Equals(other as LocalSearchMetaheuristic);
316  }
317 
318  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
319  public bool Equals(LocalSearchMetaheuristic other) {
320  if (ReferenceEquals(other, null)) {
321  return false;
322  }
323  if (ReferenceEquals(other, this)) {
324  return true;
325  }
326  return Equals(_unknownFields, other._unknownFields);
327  }
328 
329  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
330  public override int GetHashCode() {
331  int hash = 1;
332  if (_unknownFields != null) {
333  hash ^= _unknownFields.GetHashCode();
334  }
335  return hash;
336  }
337 
338  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
339  public override string ToString() {
340  return pb::JsonFormatter.ToDiagnosticString(this);
341  }
342 
343  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
344  public void WriteTo(pb::CodedOutputStream output) {
345  if (_unknownFields != null) {
346  _unknownFields.WriteTo(output);
347  }
348  }
349 
350  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
351  public int CalculateSize() {
352  int size = 0;
353  if (_unknownFields != null) {
354  size += _unknownFields.CalculateSize();
355  }
356  return size;
357  }
358 
359  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
360  public void MergeFrom(LocalSearchMetaheuristic other) {
361  if (other == null) {
362  return;
363  }
364  _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
365  }
366 
367  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
368  public void MergeFrom(pb::CodedInputStream input) {
369  uint tag;
370  while ((tag = input.ReadTag()) != 0) {
371  switch(tag) {
372  default:
373  _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
374  break;
375  }
376  }
377  }
378 
379  #region Nested types
380  [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
382  public static partial class Types {
383  public enum Value {
389  [pbr::OriginalName("UNSET")] Unset = 0,
393  [pbr::OriginalName("AUTOMATIC")] Automatic = 6,
398  [pbr::OriginalName("GREEDY_DESCENT")] GreedyDescent = 1,
404  [pbr::OriginalName("GUIDED_LOCAL_SEARCH")] GuidedLocalSearch = 2,
409  [pbr::OriginalName("SIMULATED_ANNEALING")] SimulatedAnnealing = 3,
414  [pbr::OriginalName("TABU_SEARCH")] TabuSearch = 4,
420  [pbr::OriginalName("GENERIC_TABU_SEARCH")] GenericTabuSearch = 5,
421  }
422 
423  }
424  #endregion
425 
426  }
427 
428  #endregion
429 
430 }
431 
432 #endregion Designer generated code
int CalculateSize()
LocalSearchMetaheuristic()
Value
static pb::MessageParser< LocalSearchMetaheuristic > Parser
void MergeFrom(pb::CodedInputStream input)
override bool Equals(object other)
LocalSearchMetaheuristic Clone()
Container for nested types declared in the LocalSearchMetaheuristic message type.
Definition: Assignment.cs:11
Value
void WriteTo(pb::CodedOutputStream output)
override string ToString()
void MergeFrom(pb::CodedInputStream input)
global::Google.Protobuf pb
void WriteTo(pb::CodedOutputStream output)
bool Equals(FirstSolutionStrategy other)
global::Google.Protobuf.Reflection pbr
FirstSolutionStrategy Clone()
Holder for reflection information generated from ortools/constraint_solver/routing_enums....
void MergeFrom(FirstSolutionStrategy other)
Local search metaheuristics used to guide the search.
override string ToString()
LocalSearchMetaheuristic(LocalSearchMetaheuristic other)
First solution strategies, used as starting point of local search.
static pb::MessageParser< FirstSolutionStrategy > Parser
override int GetHashCode()
int CalculateSize()
global::System.Collections.Generic scg
static pbr::FileDescriptor Descriptor
File descriptor for ortools/constraint_solver/routing_enums.proto
void MergeFrom(LocalSearchMetaheuristic other)
static pbr::MessageDescriptor Descriptor
FirstSolutionStrategy(FirstSolutionStrategy other)
override bool Equals(object other)
override int GetHashCode()
Container for nested types declared in the FirstSolutionStrategy message type.
bool Equals(LocalSearchMetaheuristic other)
static pbr::MessageDescriptor Descriptor
FirstSolutionStrategy()
global::Google.Protobuf.Collections pbc