Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
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, 8981
6#region Designer generated code
7
8using pb = global::Google.Protobuf;
9using pbc = global::Google.Protobuf.Collections;
10using pbr = global::Google.Protobuf.Reflection;
11using scg = global::System.Collections.Generic;
13
15 public static partial class RoutingEnumsReflection {
16
17 #region Descriptor
19 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 "dG8SE29wZXJhdGlvbnNfcmVzZWFyY2girwMKFUZpcnN0U29sdXRpb25TdHJh",
29 "dGVneSKVAwoFVmFsdWUSCQoFVU5TRVQQABINCglBVVRPTUFUSUMQDxIVChFQ",
30 "QVRIX0NIRUFQRVNUX0FSQxADEh0KGVBBVEhfTU9TVF9DT05TVFJBSU5FRF9B",
31 "UkMQBBIWChJFVkFMVUFUT1JfU1RSQVRFR1kQBRILCgdTQVZJTkdTEAoSCQoF",
32 "U1dFRVAQCxIQCgxDSFJJU1RPRklERVMQDRITCg9BTExfVU5QRVJGT1JNRUQQ",
33 "BhISCg5CRVNUX0lOU0VSVElPThAHEh8KG1BBUkFMTEVMX0NIRUFQRVNUX0lO",
34 "U0VSVElPThAIEiEKHVNFUVVFTlRJQUxfQ0hFQVBFU1RfSU5TRVJUSU9OEA4S",
35 "HAoYTE9DQUxfQ0hFQVBFU1RfSU5TRVJUSU9OEAkSIQodTE9DQUxfQ0hFQVBF",
36 "U1RfQ09TVF9JTlNFUlRJT04QEBIXChNHTE9CQUxfQ0hFQVBFU1RfQVJDEAES",
37 "FgoSTE9DQUxfQ0hFQVBFU1RfQVJDEAISGwoXRklSU1RfVU5CT1VORF9NSU5f",
38 "VkFMVUUQDCKuAQoYTG9jYWxTZWFyY2hNZXRhaGV1cmlzdGljIpEBCgVWYWx1",
39 "ZRIJCgVVTlNFVBAAEg0KCUFVVE9NQVRJQxAGEhIKDkdSRUVEWV9ERVNDRU5U",
40 "EAESFwoTR1VJREVEX0xPQ0FMX1NFQVJDSBACEhcKE1NJTVVMQVRFRF9BTk5F",
41 "QUxJTkcQAxIPCgtUQUJVX1NFQVJDSBAEEhcKE0dFTkVSSUNfVEFCVV9TRUFS",
42 "Q0gQBUJJCiNjb20uZ29vZ2xlLm9ydG9vbHMuY29uc3RyYWludHNvbHZlclAB",
43 "qgIfR29vZ2xlLk9yVG9vbHMuQ29uc3RyYWludFNvbHZlcmIGcHJvdG8z"));
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
58 [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
59 public sealed partial class FirstSolutionStrategy : pb::IMessage<FirstSolutionStrategy>
60 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
61 , pb::IBufferMessage
62 #endif
63 {
64 private static readonly pb::MessageParser<FirstSolutionStrategy> _parser = new pb::MessageParser<FirstSolutionStrategy>(() => new FirstSolutionStrategy());
65 private pb::UnknownFieldSet _unknownFields;
66 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
67 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
68 public static pb::MessageParser<FirstSolutionStrategy> Parser { get { return _parser; } }
69
70 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
71 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
72 public static pbr::MessageDescriptor Descriptor {
73 get { return global::Google.OrTools.ConstraintSolver.RoutingEnumsReflection.Descriptor.MessageTypes[0]; }
74 }
75
76 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
77 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
78 pbr::MessageDescriptor pb::IMessage.Descriptor {
79 get { return Descriptor; }
80 }
81
82 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
83 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
85 OnConstruction();
86 }
87
88 partial void OnConstruction();
89
90 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
91 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
93 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
94 }
95
96 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
97 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
99 return new FirstSolutionStrategy(this);
100 }
101
102 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
103 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
104 public override bool Equals(object other) {
105 return Equals(other as FirstSolutionStrategy);
106 }
107
108 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
109 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
110 public bool Equals(FirstSolutionStrategy other) {
111 if (ReferenceEquals(other, null)) {
112 return false;
113 }
114 if (ReferenceEquals(other, this)) {
115 return true;
116 }
117 return Equals(_unknownFields, other._unknownFields);
118 }
119
120 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
121 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
122 public override int GetHashCode() {
123 int hash = 1;
124 if (_unknownFields != null) {
125 hash ^= _unknownFields.GetHashCode();
126 }
127 return hash;
128 }
129
130 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
131 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
132 public override string ToString() {
133 return pb::JsonFormatter.ToDiagnosticString(this);
134 }
135
136 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
137 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
138 public void WriteTo(pb::CodedOutputStream output) {
139 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
140 output.WriteRawMessage(this);
141 #else
142 if (_unknownFields != null) {
143 _unknownFields.WriteTo(output);
144 }
145 #endif
146 }
147
148 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
149 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
150 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
151 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
152 if (_unknownFields != null) {
153 _unknownFields.WriteTo(ref output);
154 }
155 }
156 #endif
157
158 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
159 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
160 public int CalculateSize() {
161 int size = 0;
162 if (_unknownFields != null) {
163 size += _unknownFields.CalculateSize();
164 }
165 return size;
166 }
167
168 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
169 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
170 public void MergeFrom(FirstSolutionStrategy other) {
171 if (other == null) {
172 return;
173 }
174 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
175 }
176
177 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
178 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
179 public void MergeFrom(pb::CodedInputStream input) {
180 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
181 input.ReadRawMessage(this);
182 #else
183 uint tag;
184 while ((tag = input.ReadTag()) != 0) {
185 switch(tag) {
186 default:
187 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
188 break;
189 }
190 }
191 #endif
192 }
193
194 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
195 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
196 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
197 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
198 uint tag;
199 while ((tag = input.ReadTag()) != 0) {
200 switch(tag) {
201 default:
202 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
203 break;
204 }
205 }
206 }
207 #endif
208
209 #region Nested types
211 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
212 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
213 public static partial class Types {
214 public enum Value {
218 [pbr::OriginalName("UNSET")] Unset = 0,
223 [pbr::OriginalName("AUTOMATIC")] Automatic = 15,
230 [pbr::OriginalName("PATH_CHEAPEST_ARC")] PathCheapestArc = 3,
237 [pbr::OriginalName("PATH_MOST_CONSTRAINED_ARC")] PathMostConstrainedArc = 4,
243 [pbr::OriginalName("EVALUATOR_STRATEGY")] EvaluatorStrategy = 5,
250 [pbr::OriginalName("SAVINGS")] Savings = 10,
258 [pbr::OriginalName("SWEEP")] Sweep = 11,
269 [pbr::OriginalName("CHRISTOFIDES")] Christofides = 13,
275 [pbr::OriginalName("ALL_UNPERFORMED")] AllUnperformed = 6,
282 [pbr::OriginalName("BEST_INSERTION")] BestInsertion = 7,
288 [pbr::OriginalName("PARALLEL_CHEAPEST_INSERTION")] ParallelCheapestInsertion = 8,
295 [pbr::OriginalName("SEQUENTIAL_CHEAPEST_INSERTION")] SequentialCheapestInsertion = 14,
304 [pbr::OriginalName("LOCAL_CHEAPEST_INSERTION")] LocalCheapestInsertion = 9,
309 [pbr::OriginalName("LOCAL_CHEAPEST_COST_INSERTION")] LocalCheapestCostInsertion = 16,
314 [pbr::OriginalName("GLOBAL_CHEAPEST_ARC")] GlobalCheapestArc = 1,
319 [pbr::OriginalName("LOCAL_CHEAPEST_ARC")] LocalCheapestArc = 2,
326 [pbr::OriginalName("FIRST_UNBOUND_MIN_VALUE")] FirstUnboundMinValue = 12,
327 }
328
329 }
330 #endregion
331
332 }
333
338 [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
339 public sealed partial class LocalSearchMetaheuristic : pb::IMessage<LocalSearchMetaheuristic>
340 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
341 , pb::IBufferMessage
342 #endif
343 {
344 private static readonly pb::MessageParser<LocalSearchMetaheuristic> _parser = new pb::MessageParser<LocalSearchMetaheuristic>(() => new LocalSearchMetaheuristic());
345 private pb::UnknownFieldSet _unknownFields;
346 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
347 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
348 public static pb::MessageParser<LocalSearchMetaheuristic> Parser { get { return _parser; } }
349
350 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
351 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
352 public static pbr::MessageDescriptor Descriptor {
353 get { return global::Google.OrTools.ConstraintSolver.RoutingEnumsReflection.Descriptor.MessageTypes[1]; }
354 }
355
356 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
357 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
358 pbr::MessageDescriptor pb::IMessage.Descriptor {
359 get { return Descriptor; }
360 }
361
362 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
363 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
365 OnConstruction();
366 }
367
368 partial void OnConstruction();
369
370 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
371 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
373 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
374 }
375
376 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
377 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
379 return new LocalSearchMetaheuristic(this);
380 }
381
382 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
383 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
384 public override bool Equals(object other) {
385 return Equals(other as LocalSearchMetaheuristic);
386 }
387
388 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
389 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
390 public bool Equals(LocalSearchMetaheuristic other) {
391 if (ReferenceEquals(other, null)) {
392 return false;
393 }
394 if (ReferenceEquals(other, this)) {
395 return true;
396 }
397 return Equals(_unknownFields, other._unknownFields);
398 }
399
400 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
401 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
402 public override int GetHashCode() {
403 int hash = 1;
404 if (_unknownFields != null) {
405 hash ^= _unknownFields.GetHashCode();
406 }
407 return hash;
408 }
409
410 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
411 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
412 public override string ToString() {
413 return pb::JsonFormatter.ToDiagnosticString(this);
414 }
415
416 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
417 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
418 public void WriteTo(pb::CodedOutputStream output) {
419 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
420 output.WriteRawMessage(this);
421 #else
422 if (_unknownFields != null) {
423 _unknownFields.WriteTo(output);
424 }
425 #endif
426 }
427
428 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
429 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
430 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
431 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
432 if (_unknownFields != null) {
433 _unknownFields.WriteTo(ref output);
434 }
435 }
436 #endif
437
438 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
439 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
440 public int CalculateSize() {
441 int size = 0;
442 if (_unknownFields != null) {
443 size += _unknownFields.CalculateSize();
444 }
445 return size;
446 }
447
448 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
449 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
451 if (other == null) {
452 return;
453 }
454 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
455 }
456
457 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
458 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
459 public void MergeFrom(pb::CodedInputStream input) {
460 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
461 input.ReadRawMessage(this);
462 #else
463 uint tag;
464 while ((tag = input.ReadTag()) != 0) {
465 switch(tag) {
466 default:
467 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
468 break;
469 }
470 }
471 #endif
472 }
473
474 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
475 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
476 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
477 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
478 uint tag;
479 while ((tag = input.ReadTag()) != 0) {
480 switch(tag) {
481 default:
482 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
483 break;
484 }
485 }
486 }
487 #endif
488
489 #region Nested types
491 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
492 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
493 public static partial class Types {
494 public enum Value {
500 [pbr::OriginalName("UNSET")] Unset = 0,
504 [pbr::OriginalName("AUTOMATIC")] Automatic = 6,
509 [pbr::OriginalName("GREEDY_DESCENT")] GreedyDescent = 1,
515 [pbr::OriginalName("GUIDED_LOCAL_SEARCH")] GuidedLocalSearch = 2,
520 [pbr::OriginalName("SIMULATED_ANNEALING")] SimulatedAnnealing = 3,
525 [pbr::OriginalName("TABU_SEARCH")] TabuSearch = 4,
531 [pbr::OriginalName("GENERIC_TABU_SEARCH")] GenericTabuSearch = 5,
532 }
533
534 }
535 #endregion
536
537 }
538
539 #endregion
540
541}
542
543#endregion Designer generated code
global::Google.Protobuf.Reflection pbr
global::System.Collections.Generic scg
global::Google.Protobuf.Collections pbc
Definition SetCover.pb.cs:9
global::Google.Protobuf pb
Definition SetCover.pb.cs:8
Container for nested types declared in the FirstSolutionStrategy message type.
First solution strategies, used as starting point of local search.
static pb::MessageParser< FirstSolutionStrategy > Parser
Container for nested types declared in the LocalSearchMetaheuristic message type.
Local search metaheuristics used to guide the search. Apart from greedy descent, they will try to esc...
Holder for reflection information generated from ortools/constraint_solver/routing_enums....
static pbr::FileDescriptor Descriptor
File descriptor for ortools/constraint_solver/routing_enums.proto.