Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
RoutingIls.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_ils.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;
12namespace OperationsResearch {
13
15 public static partial class RoutingIlsReflection {
16
17 #region Descriptor
19 public static pbr::FileDescriptor Descriptor {
20 get { return descriptor; }
21 }
22 private static pbr::FileDescriptor descriptor;
23
24 static RoutingIlsReflection() {
25 byte[] descriptorData = global::System.Convert.FromBase64String(
26 string.Concat(
27 "CitvcnRvb2xzL2NvbnN0cmFpbnRfc29sdmVyL3JvdXRpbmdfaWxzLnByb3Rv",
28 "EhNvcGVyYXRpb25zX3Jlc2VhcmNoGi1vcnRvb2xzL2NvbnN0cmFpbnRfc29s",
29 "dmVyL3JvdXRpbmdfZW51bXMucHJvdG8iRgoMUnVpblN0cmF0ZWd5IjYKBVZh",
30 "bHVlEgkKBVVOU0VUEAASIgoeU1BBVElBTExZX0NMT1NFX1JPVVRFU19SRU1P",
31 "VkFMEAEiwAEKFlJ1aW5SZWNyZWF0ZVBhcmFtZXRlcnMSPgoNcnVpbl9zdHJh",
32 "dGVneRgBIAEoDjInLm9wZXJhdGlvbnNfcmVzZWFyY2guUnVpblN0cmF0ZWd5",
33 "LlZhbHVlEksKEXJlY3JlYXRlX3N0cmF0ZWd5GAIgASgOMjAub3BlcmF0aW9u",
34 "c19yZXNlYXJjaC5GaXJzdFNvbHV0aW9uU3RyYXRlZ3kuVmFsdWUSGQoRbnVt",
35 "X3J1aW5lZF9yb3V0ZXMYAyABKA0iQQoUUGVydHVyYmF0aW9uU3RyYXRlZ3ki",
36 "KQoFVmFsdWUSCQoFVU5TRVQQABIVChFSVUlOX0FORF9SRUNSRUFURRABIjwK",
37 "EkFjY2VwdGFuY2VTdHJhdGVneSImCgVWYWx1ZRIJCgVVTlNFVBAAEhIKDkdS",
38 "RUVEWV9ERVNDRU5UEAEirgIKHUl0ZXJhdGVkTG9jYWxTZWFyY2hQYXJhbWV0",
39 "ZXJzEk4KFXBlcnR1cmJhdGlvbl9zdHJhdGVneRgBIAEoDjIvLm9wZXJhdGlv",
40 "bnNfcmVzZWFyY2guUGVydHVyYmF0aW9uU3RyYXRlZ3kuVmFsdWUSTQoYcnVp",
41 "bl9yZWNyZWF0ZV9wYXJhbWV0ZXJzGAIgASgLMisub3BlcmF0aW9uc19yZXNl",
42 "YXJjaC5SdWluUmVjcmVhdGVQYXJhbWV0ZXJzEiIKGmltcHJvdmVfcGVydHVy",
43 "YmVkX3NvbHV0aW9uGAMgASgIEkoKE2FjY2VwdGFuY2Vfc3RyYXRlZ3kYBCAB",
44 "KA4yLS5vcGVyYXRpb25zX3Jlc2VhcmNoLkFjY2VwdGFuY2VTdHJhdGVneS5W",
45 "YWx1ZWIGcHJvdG8z"));
46 descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
47 new pbr::FileDescriptor[] { global::Google.OrTools.ConstraintSolver.RoutingEnumsReflection.Descriptor, },
48 new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
49 new pbr::GeneratedClrTypeInfo(typeof(global::OperationsResearch.RuinStrategy), global::OperationsResearch.RuinStrategy.Parser, null, null, new[]{ typeof(global::OperationsResearch.RuinStrategy.Types.Value) }, null, null),
50 new pbr::GeneratedClrTypeInfo(typeof(global::OperationsResearch.RuinRecreateParameters), global::OperationsResearch.RuinRecreateParameters.Parser, new[]{ "RuinStrategy", "RecreateStrategy", "NumRuinedRoutes" }, null, null, null, null),
51 new pbr::GeneratedClrTypeInfo(typeof(global::OperationsResearch.PerturbationStrategy), global::OperationsResearch.PerturbationStrategy.Parser, null, null, new[]{ typeof(global::OperationsResearch.PerturbationStrategy.Types.Value) }, null, null),
52 new pbr::GeneratedClrTypeInfo(typeof(global::OperationsResearch.AcceptanceStrategy), global::OperationsResearch.AcceptanceStrategy.Parser, null, null, new[]{ typeof(global::OperationsResearch.AcceptanceStrategy.Types.Value) }, null, null),
53 new pbr::GeneratedClrTypeInfo(typeof(global::OperationsResearch.IteratedLocalSearchParameters), global::OperationsResearch.IteratedLocalSearchParameters.Parser, new[]{ "PerturbationStrategy", "RuinRecreateParameters", "ImprovePerturbedSolution", "AcceptanceStrategy" }, null, null, null, null)
54 }));
55 }
56 #endregion
57
58 }
59 #region Messages
63 [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
64 public sealed partial class RuinStrategy : pb::IMessage<RuinStrategy>
65 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
66 , pb::IBufferMessage
67 #endif
68 {
69 private static readonly pb::MessageParser<RuinStrategy> _parser = new pb::MessageParser<RuinStrategy>(() => new RuinStrategy());
70 private pb::UnknownFieldSet _unknownFields;
71 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
72 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
73 public static pb::MessageParser<RuinStrategy> Parser { get { return _parser; } }
74
75 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
76 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
77 public static pbr::MessageDescriptor Descriptor {
78 get { return global::OperationsResearch.RoutingIlsReflection.Descriptor.MessageTypes[0]; }
79 }
80
81 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
82 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
83 pbr::MessageDescriptor pb::IMessage.Descriptor {
84 get { return Descriptor; }
85 }
86
87 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
88 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
89 public RuinStrategy() {
90 OnConstruction();
91 }
92
93 partial void OnConstruction();
94
95 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
96 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
97 public RuinStrategy(RuinStrategy other) : this() {
98 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
99 }
100
101 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
102 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
104 return new RuinStrategy(this);
105 }
106
107 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
108 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
109 public override bool Equals(object other) {
110 return Equals(other as RuinStrategy);
111 }
112
113 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
114 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
115 public bool Equals(RuinStrategy other) {
116 if (ReferenceEquals(other, null)) {
117 return false;
118 }
119 if (ReferenceEquals(other, this)) {
120 return true;
121 }
122 return Equals(_unknownFields, other._unknownFields);
123 }
124
125 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
126 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
127 public override int GetHashCode() {
128 int hash = 1;
129 if (_unknownFields != null) {
130 hash ^= _unknownFields.GetHashCode();
131 }
132 return hash;
133 }
134
135 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
136 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
137 public override string ToString() {
138 return pb::JsonFormatter.ToDiagnosticString(this);
139 }
140
141 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
142 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
143 public void WriteTo(pb::CodedOutputStream output) {
144 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
145 output.WriteRawMessage(this);
146 #else
147 if (_unknownFields != null) {
148 _unknownFields.WriteTo(output);
149 }
150 #endif
151 }
152
153 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
154 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
155 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
156 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
157 if (_unknownFields != null) {
158 _unknownFields.WriteTo(ref output);
159 }
160 }
161 #endif
162
163 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
164 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
165 public int CalculateSize() {
166 int size = 0;
167 if (_unknownFields != null) {
168 size += _unknownFields.CalculateSize();
169 }
170 return size;
171 }
172
173 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
174 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
175 public void MergeFrom(RuinStrategy other) {
176 if (other == null) {
177 return;
178 }
179 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
180 }
181
182 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
183 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
184 public void MergeFrom(pb::CodedInputStream input) {
185 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
186 input.ReadRawMessage(this);
187 #else
188 uint tag;
189 while ((tag = input.ReadTag()) != 0) {
190 switch(tag) {
191 default:
192 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
193 break;
194 }
195 }
196 #endif
197 }
198
199 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
200 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
201 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
202 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
203 uint tag;
204 while ((tag = input.ReadTag()) != 0) {
205 switch(tag) {
206 default:
207 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
208 break;
209 }
210 }
211 }
212 #endif
213
214 #region Nested types
216 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
217 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
218 public static partial class Types {
219 public enum Value {
223 [pbr::OriginalName("UNSET")] Unset = 0,
227 [pbr::OriginalName("SPATIALLY_CLOSE_ROUTES_REMOVAL")] SpatiallyCloseRoutesRemoval = 1,
228 }
229
230 }
231 #endregion
232
233 }
234
238 [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
239 public sealed partial class RuinRecreateParameters : pb::IMessage<RuinRecreateParameters>
240 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
241 , pb::IBufferMessage
242 #endif
243 {
244 private static readonly pb::MessageParser<RuinRecreateParameters> _parser = new pb::MessageParser<RuinRecreateParameters>(() => new RuinRecreateParameters());
245 private pb::UnknownFieldSet _unknownFields;
246 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
247 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
248 public static pb::MessageParser<RuinRecreateParameters> Parser { get { return _parser; } }
249
250 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
251 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
252 public static pbr::MessageDescriptor Descriptor {
253 get { return global::OperationsResearch.RoutingIlsReflection.Descriptor.MessageTypes[1]; }
254 }
255
256 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
257 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
258 pbr::MessageDescriptor pb::IMessage.Descriptor {
259 get { return Descriptor; }
260 }
261
262 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
263 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
265 OnConstruction();
266 }
267
268 partial void OnConstruction();
269
270 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
271 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
273 ruinStrategy_ = other.ruinStrategy_;
274 recreateStrategy_ = other.recreateStrategy_;
275 numRuinedRoutes_ = other.numRuinedRoutes_;
276 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
277 }
278
279 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
280 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
282 return new RuinRecreateParameters(this);
283 }
284
286 public const int RuinStrategyFieldNumber = 1;
287 private global::OperationsResearch.RuinStrategy.Types.Value ruinStrategy_ = global::OperationsResearch.RuinStrategy.Types.Value.Unset;
291 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
292 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
293 public global::OperationsResearch.RuinStrategy.Types.Value RuinStrategy {
294 get { return ruinStrategy_; }
295 set {
296 ruinStrategy_ = value;
297 }
298 }
299
301 public const int RecreateStrategyFieldNumber = 2;
302 private global::Google.OrTools.ConstraintSolver.FirstSolutionStrategy.Types.Value recreateStrategy_ = global::Google.OrTools.ConstraintSolver.FirstSolutionStrategy.Types.Value.Unset;
306 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
307 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
308 public global::Google.OrTools.ConstraintSolver.FirstSolutionStrategy.Types.Value RecreateStrategy {
309 get { return recreateStrategy_; }
310 set {
311 recreateStrategy_ = value;
312 }
313 }
314
316 public const int NumRuinedRoutesFieldNumber = 3;
317 private uint numRuinedRoutes_;
321 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
322 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
323 public uint NumRuinedRoutes {
324 get { return numRuinedRoutes_; }
325 set {
326 numRuinedRoutes_ = value;
327 }
328 }
329
330 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
331 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
332 public override bool Equals(object other) {
333 return Equals(other as RuinRecreateParameters);
334 }
335
336 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
337 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
338 public bool Equals(RuinRecreateParameters other) {
339 if (ReferenceEquals(other, null)) {
340 return false;
341 }
342 if (ReferenceEquals(other, this)) {
343 return true;
344 }
345 if (RuinStrategy != other.RuinStrategy) return false;
346 if (RecreateStrategy != other.RecreateStrategy) return false;
347 if (NumRuinedRoutes != other.NumRuinedRoutes) return false;
348 return Equals(_unknownFields, other._unknownFields);
349 }
350
351 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
352 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
353 public override int GetHashCode() {
354 int hash = 1;
355 if (RuinStrategy != global::OperationsResearch.RuinStrategy.Types.Value.Unset) hash ^= RuinStrategy.GetHashCode();
356 if (RecreateStrategy != global::Google.OrTools.ConstraintSolver.FirstSolutionStrategy.Types.Value.Unset) hash ^= RecreateStrategy.GetHashCode();
357 if (NumRuinedRoutes != 0) hash ^= NumRuinedRoutes.GetHashCode();
358 if (_unknownFields != null) {
359 hash ^= _unknownFields.GetHashCode();
360 }
361 return hash;
362 }
363
364 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
365 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
366 public override string ToString() {
367 return pb::JsonFormatter.ToDiagnosticString(this);
368 }
369
370 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
371 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
372 public void WriteTo(pb::CodedOutputStream output) {
373 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
374 output.WriteRawMessage(this);
375 #else
376 if (RuinStrategy != global::OperationsResearch.RuinStrategy.Types.Value.Unset) {
377 output.WriteRawTag(8);
378 output.WriteEnum((int) RuinStrategy);
379 }
380 if (RecreateStrategy != global::Google.OrTools.ConstraintSolver.FirstSolutionStrategy.Types.Value.Unset) {
381 output.WriteRawTag(16);
382 output.WriteEnum((int) RecreateStrategy);
383 }
384 if (NumRuinedRoutes != 0) {
385 output.WriteRawTag(24);
386 output.WriteUInt32(NumRuinedRoutes);
387 }
388 if (_unknownFields != null) {
389 _unknownFields.WriteTo(output);
390 }
391 #endif
392 }
393
394 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
395 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
396 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
397 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
398 if (RuinStrategy != global::OperationsResearch.RuinStrategy.Types.Value.Unset) {
399 output.WriteRawTag(8);
400 output.WriteEnum((int) RuinStrategy);
401 }
402 if (RecreateStrategy != global::Google.OrTools.ConstraintSolver.FirstSolutionStrategy.Types.Value.Unset) {
403 output.WriteRawTag(16);
404 output.WriteEnum((int) RecreateStrategy);
405 }
406 if (NumRuinedRoutes != 0) {
407 output.WriteRawTag(24);
408 output.WriteUInt32(NumRuinedRoutes);
409 }
410 if (_unknownFields != null) {
411 _unknownFields.WriteTo(ref output);
412 }
413 }
414 #endif
415
416 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
417 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
418 public int CalculateSize() {
419 int size = 0;
420 if (RuinStrategy != global::OperationsResearch.RuinStrategy.Types.Value.Unset) {
421 size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) RuinStrategy);
422 }
423 if (RecreateStrategy != global::Google.OrTools.ConstraintSolver.FirstSolutionStrategy.Types.Value.Unset) {
424 size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) RecreateStrategy);
425 }
426 if (NumRuinedRoutes != 0) {
427 size += 1 + pb::CodedOutputStream.ComputeUInt32Size(NumRuinedRoutes);
428 }
429 if (_unknownFields != null) {
430 size += _unknownFields.CalculateSize();
431 }
432 return size;
433 }
434
435 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
436 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
438 if (other == null) {
439 return;
440 }
441 if (other.RuinStrategy != global::OperationsResearch.RuinStrategy.Types.Value.Unset) {
443 }
444 if (other.RecreateStrategy != global::Google.OrTools.ConstraintSolver.FirstSolutionStrategy.Types.Value.Unset) {
445 RecreateStrategy = other.RecreateStrategy;
446 }
447 if (other.NumRuinedRoutes != 0) {
448 NumRuinedRoutes = other.NumRuinedRoutes;
449 }
450 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
451 }
452
453 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
454 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
455 public void MergeFrom(pb::CodedInputStream input) {
456 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
457 input.ReadRawMessage(this);
458 #else
459 uint tag;
460 while ((tag = input.ReadTag()) != 0) {
461 switch(tag) {
462 default:
463 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
464 break;
465 case 8: {
466 RuinStrategy = (global::OperationsResearch.RuinStrategy.Types.Value) input.ReadEnum();
467 break;
468 }
469 case 16: {
470 RecreateStrategy = (global::Google.OrTools.ConstraintSolver.FirstSolutionStrategy.Types.Value) input.ReadEnum();
471 break;
472 }
473 case 24: {
474 NumRuinedRoutes = input.ReadUInt32();
475 break;
476 }
477 }
478 }
479 #endif
480 }
481
482 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
483 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
484 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
485 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
486 uint tag;
487 while ((tag = input.ReadTag()) != 0) {
488 switch(tag) {
489 default:
490 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
491 break;
492 case 8: {
493 RuinStrategy = (global::OperationsResearch.RuinStrategy.Types.Value) input.ReadEnum();
494 break;
495 }
496 case 16: {
497 RecreateStrategy = (global::Google.OrTools.ConstraintSolver.FirstSolutionStrategy.Types.Value) input.ReadEnum();
498 break;
499 }
500 case 24: {
501 NumRuinedRoutes = input.ReadUInt32();
502 break;
503 }
504 }
505 }
506 }
507 #endif
508
509 }
510
514 [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
515 public sealed partial class PerturbationStrategy : pb::IMessage<PerturbationStrategy>
516 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
517 , pb::IBufferMessage
518 #endif
519 {
520 private static readonly pb::MessageParser<PerturbationStrategy> _parser = new pb::MessageParser<PerturbationStrategy>(() => new PerturbationStrategy());
521 private pb::UnknownFieldSet _unknownFields;
522 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
523 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
524 public static pb::MessageParser<PerturbationStrategy> Parser { get { return _parser; } }
525
526 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
527 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
528 public static pbr::MessageDescriptor Descriptor {
529 get { return global::OperationsResearch.RoutingIlsReflection.Descriptor.MessageTypes[2]; }
530 }
531
532 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
533 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
534 pbr::MessageDescriptor pb::IMessage.Descriptor {
535 get { return Descriptor; }
536 }
537
538 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
539 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
541 OnConstruction();
542 }
543
544 partial void OnConstruction();
545
546 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
547 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
549 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
550 }
551
552 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
553 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
555 return new PerturbationStrategy(this);
556 }
557
558 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
559 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
560 public override bool Equals(object other) {
561 return Equals(other as PerturbationStrategy);
562 }
563
564 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
565 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
566 public bool Equals(PerturbationStrategy other) {
567 if (ReferenceEquals(other, null)) {
568 return false;
569 }
570 if (ReferenceEquals(other, this)) {
571 return true;
572 }
573 return Equals(_unknownFields, other._unknownFields);
574 }
575
576 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
577 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
578 public override int GetHashCode() {
579 int hash = 1;
580 if (_unknownFields != null) {
581 hash ^= _unknownFields.GetHashCode();
582 }
583 return hash;
584 }
585
586 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
587 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
588 public override string ToString() {
589 return pb::JsonFormatter.ToDiagnosticString(this);
590 }
591
592 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
593 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
594 public void WriteTo(pb::CodedOutputStream output) {
595 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
596 output.WriteRawMessage(this);
597 #else
598 if (_unknownFields != null) {
599 _unknownFields.WriteTo(output);
600 }
601 #endif
602 }
603
604 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
605 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
606 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
607 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
608 if (_unknownFields != null) {
609 _unknownFields.WriteTo(ref output);
610 }
611 }
612 #endif
613
614 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
615 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
616 public int CalculateSize() {
617 int size = 0;
618 if (_unknownFields != null) {
619 size += _unknownFields.CalculateSize();
620 }
621 return size;
622 }
623
624 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
625 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
626 public void MergeFrom(PerturbationStrategy other) {
627 if (other == null) {
628 return;
629 }
630 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
631 }
632
633 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
634 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
635 public void MergeFrom(pb::CodedInputStream input) {
636 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
637 input.ReadRawMessage(this);
638 #else
639 uint tag;
640 while ((tag = input.ReadTag()) != 0) {
641 switch(tag) {
642 default:
643 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
644 break;
645 }
646 }
647 #endif
648 }
649
650 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
651 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
652 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
653 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
654 uint tag;
655 while ((tag = input.ReadTag()) != 0) {
656 switch(tag) {
657 default:
658 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
659 break;
660 }
661 }
662 }
663 #endif
664
665 #region Nested types
667 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
668 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
669 public static partial class Types {
670 public enum Value {
674 [pbr::OriginalName("UNSET")] Unset = 0,
678 [pbr::OriginalName("RUIN_AND_RECREATE")] RuinAndRecreate = 1,
679 }
680
681 }
682 #endregion
683
684 }
685
691 [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
692 public sealed partial class AcceptanceStrategy : pb::IMessage<AcceptanceStrategy>
693 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
694 , pb::IBufferMessage
695 #endif
696 {
697 private static readonly pb::MessageParser<AcceptanceStrategy> _parser = new pb::MessageParser<AcceptanceStrategy>(() => new AcceptanceStrategy());
698 private pb::UnknownFieldSet _unknownFields;
699 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
700 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
701 public static pb::MessageParser<AcceptanceStrategy> Parser { get { return _parser; } }
702
703 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
704 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
705 public static pbr::MessageDescriptor Descriptor {
706 get { return global::OperationsResearch.RoutingIlsReflection.Descriptor.MessageTypes[3]; }
707 }
708
709 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
710 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
711 pbr::MessageDescriptor pb::IMessage.Descriptor {
712 get { return Descriptor; }
713 }
714
715 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
716 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
718 OnConstruction();
719 }
720
721 partial void OnConstruction();
722
723 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
724 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
725 public AcceptanceStrategy(AcceptanceStrategy other) : this() {
726 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
727 }
728
729 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
730 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
732 return new AcceptanceStrategy(this);
733 }
734
735 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
736 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
737 public override bool Equals(object other) {
738 return Equals(other as AcceptanceStrategy);
739 }
740
741 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
742 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
743 public bool Equals(AcceptanceStrategy other) {
744 if (ReferenceEquals(other, null)) {
745 return false;
746 }
747 if (ReferenceEquals(other, this)) {
748 return true;
749 }
750 return Equals(_unknownFields, other._unknownFields);
751 }
752
753 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
754 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
755 public override int GetHashCode() {
756 int hash = 1;
757 if (_unknownFields != null) {
758 hash ^= _unknownFields.GetHashCode();
759 }
760 return hash;
761 }
762
763 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
764 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
765 public override string ToString() {
766 return pb::JsonFormatter.ToDiagnosticString(this);
767 }
768
769 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
770 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
771 public void WriteTo(pb::CodedOutputStream output) {
772 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
773 output.WriteRawMessage(this);
774 #else
775 if (_unknownFields != null) {
776 _unknownFields.WriteTo(output);
777 }
778 #endif
779 }
780
781 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
782 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
783 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
784 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
785 if (_unknownFields != null) {
786 _unknownFields.WriteTo(ref output);
787 }
788 }
789 #endif
790
791 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
792 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
793 public int CalculateSize() {
794 int size = 0;
795 if (_unknownFields != null) {
796 size += _unknownFields.CalculateSize();
797 }
798 return size;
799 }
800
801 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
802 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
803 public void MergeFrom(AcceptanceStrategy other) {
804 if (other == null) {
805 return;
806 }
807 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
808 }
809
810 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
811 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
812 public void MergeFrom(pb::CodedInputStream input) {
813 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
814 input.ReadRawMessage(this);
815 #else
816 uint tag;
817 while ((tag = input.ReadTag()) != 0) {
818 switch(tag) {
819 default:
820 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
821 break;
822 }
823 }
824 #endif
825 }
826
827 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
828 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
829 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
830 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
831 uint tag;
832 while ((tag = input.ReadTag()) != 0) {
833 switch(tag) {
834 default:
835 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
836 break;
837 }
838 }
839 }
840 #endif
841
842 #region Nested types
844 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
845 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
846 public static partial class Types {
847 public enum Value {
851 [pbr::OriginalName("UNSET")] Unset = 0,
856 [pbr::OriginalName("GREEDY_DESCENT")] GreedyDescent = 1,
857 }
858
859 }
860 #endregion
861
862 }
863
867 [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
868 public sealed partial class IteratedLocalSearchParameters : pb::IMessage<IteratedLocalSearchParameters>
869 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
870 , pb::IBufferMessage
871 #endif
872 {
873 private static readonly pb::MessageParser<IteratedLocalSearchParameters> _parser = new pb::MessageParser<IteratedLocalSearchParameters>(() => new IteratedLocalSearchParameters());
874 private pb::UnknownFieldSet _unknownFields;
875 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
876 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
877 public static pb::MessageParser<IteratedLocalSearchParameters> Parser { get { return _parser; } }
878
879 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
880 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
881 public static pbr::MessageDescriptor Descriptor {
882 get { return global::OperationsResearch.RoutingIlsReflection.Descriptor.MessageTypes[4]; }
883 }
884
885 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
886 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
887 pbr::MessageDescriptor pb::IMessage.Descriptor {
888 get { return Descriptor; }
889 }
890
891 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
892 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
894 OnConstruction();
895 }
896
897 partial void OnConstruction();
898
899 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
900 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
902 perturbationStrategy_ = other.perturbationStrategy_;
903 ruinRecreateParameters_ = other.ruinRecreateParameters_ != null ? other.ruinRecreateParameters_.Clone() : null;
904 improvePerturbedSolution_ = other.improvePerturbedSolution_;
905 acceptanceStrategy_ = other.acceptanceStrategy_;
906 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
907 }
908
909 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
910 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
914
916 public const int PerturbationStrategyFieldNumber = 1;
917 private global::OperationsResearch.PerturbationStrategy.Types.Value perturbationStrategy_ = global::OperationsResearch.PerturbationStrategy.Types.Value.Unset;
922 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
923 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
924 public global::OperationsResearch.PerturbationStrategy.Types.Value PerturbationStrategy {
925 get { return perturbationStrategy_; }
926 set {
927 perturbationStrategy_ = value;
928 }
929 }
930
932 public const int RuinRecreateParametersFieldNumber = 2;
933 private global::OperationsResearch.RuinRecreateParameters ruinRecreateParameters_;
937 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
938 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
939 public global::OperationsResearch.RuinRecreateParameters RuinRecreateParameters {
940 get { return ruinRecreateParameters_; }
941 set {
942 ruinRecreateParameters_ = value;
943 }
944 }
945
947 public const int ImprovePerturbedSolutionFieldNumber = 3;
948 private bool improvePerturbedSolution_;
953 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
954 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
955 public bool ImprovePerturbedSolution {
956 get { return improvePerturbedSolution_; }
957 set {
958 improvePerturbedSolution_ = value;
959 }
960 }
961
963 public const int AcceptanceStrategyFieldNumber = 4;
964 private global::OperationsResearch.AcceptanceStrategy.Types.Value acceptanceStrategy_ = global::OperationsResearch.AcceptanceStrategy.Types.Value.Unset;
969 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
970 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
971 public global::OperationsResearch.AcceptanceStrategy.Types.Value AcceptanceStrategy {
972 get { return acceptanceStrategy_; }
973 set {
974 acceptanceStrategy_ = value;
975 }
976 }
977
978 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
979 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
980 public override bool Equals(object other) {
981 return Equals(other as IteratedLocalSearchParameters);
982 }
983
984 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
985 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
987 if (ReferenceEquals(other, null)) {
988 return false;
989 }
990 if (ReferenceEquals(other, this)) {
991 return true;
992 }
993 if (PerturbationStrategy != other.PerturbationStrategy) return false;
994 if (!object.Equals(RuinRecreateParameters, other.RuinRecreateParameters)) return false;
995 if (ImprovePerturbedSolution != other.ImprovePerturbedSolution) return false;
996 if (AcceptanceStrategy != other.AcceptanceStrategy) return false;
997 return Equals(_unknownFields, other._unknownFields);
998 }
999
1000 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1001 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1002 public override int GetHashCode() {
1003 int hash = 1;
1004 if (PerturbationStrategy != global::OperationsResearch.PerturbationStrategy.Types.Value.Unset) hash ^= PerturbationStrategy.GetHashCode();
1005 if (ruinRecreateParameters_ != null) hash ^= RuinRecreateParameters.GetHashCode();
1006 if (ImprovePerturbedSolution != false) hash ^= ImprovePerturbedSolution.GetHashCode();
1007 if (AcceptanceStrategy != global::OperationsResearch.AcceptanceStrategy.Types.Value.Unset) hash ^= AcceptanceStrategy.GetHashCode();
1008 if (_unknownFields != null) {
1009 hash ^= _unknownFields.GetHashCode();
1010 }
1011 return hash;
1012 }
1013
1014 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1015 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1016 public override string ToString() {
1017 return pb::JsonFormatter.ToDiagnosticString(this);
1018 }
1019
1020 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1021 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1022 public void WriteTo(pb::CodedOutputStream output) {
1023 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1024 output.WriteRawMessage(this);
1025 #else
1026 if (PerturbationStrategy != global::OperationsResearch.PerturbationStrategy.Types.Value.Unset) {
1027 output.WriteRawTag(8);
1028 output.WriteEnum((int) PerturbationStrategy);
1029 }
1030 if (ruinRecreateParameters_ != null) {
1031 output.WriteRawTag(18);
1032 output.WriteMessage(RuinRecreateParameters);
1033 }
1034 if (ImprovePerturbedSolution != false) {
1035 output.WriteRawTag(24);
1036 output.WriteBool(ImprovePerturbedSolution);
1037 }
1038 if (AcceptanceStrategy != global::OperationsResearch.AcceptanceStrategy.Types.Value.Unset) {
1039 output.WriteRawTag(32);
1040 output.WriteEnum((int) AcceptanceStrategy);
1041 }
1042 if (_unknownFields != null) {
1043 _unknownFields.WriteTo(output);
1044 }
1045 #endif
1046 }
1047
1048 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1049 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1050 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1051 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
1052 if (PerturbationStrategy != global::OperationsResearch.PerturbationStrategy.Types.Value.Unset) {
1053 output.WriteRawTag(8);
1054 output.WriteEnum((int) PerturbationStrategy);
1055 }
1056 if (ruinRecreateParameters_ != null) {
1057 output.WriteRawTag(18);
1058 output.WriteMessage(RuinRecreateParameters);
1059 }
1060 if (ImprovePerturbedSolution != false) {
1061 output.WriteRawTag(24);
1062 output.WriteBool(ImprovePerturbedSolution);
1063 }
1064 if (AcceptanceStrategy != global::OperationsResearch.AcceptanceStrategy.Types.Value.Unset) {
1065 output.WriteRawTag(32);
1066 output.WriteEnum((int) AcceptanceStrategy);
1067 }
1068 if (_unknownFields != null) {
1069 _unknownFields.WriteTo(ref output);
1070 }
1071 }
1072 #endif
1073
1074 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1075 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1076 public int CalculateSize() {
1077 int size = 0;
1078 if (PerturbationStrategy != global::OperationsResearch.PerturbationStrategy.Types.Value.Unset) {
1079 size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) PerturbationStrategy);
1080 }
1081 if (ruinRecreateParameters_ != null) {
1082 size += 1 + pb::CodedOutputStream.ComputeMessageSize(RuinRecreateParameters);
1083 }
1084 if (ImprovePerturbedSolution != false) {
1085 size += 1 + 1;
1086 }
1087 if (AcceptanceStrategy != global::OperationsResearch.AcceptanceStrategy.Types.Value.Unset) {
1088 size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) AcceptanceStrategy);
1089 }
1090 if (_unknownFields != null) {
1091 size += _unknownFields.CalculateSize();
1092 }
1093 return size;
1094 }
1095
1096 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1097 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1099 if (other == null) {
1100 return;
1101 }
1102 if (other.PerturbationStrategy != global::OperationsResearch.PerturbationStrategy.Types.Value.Unset) {
1104 }
1105 if (other.ruinRecreateParameters_ != null) {
1106 if (ruinRecreateParameters_ == null) {
1107 RuinRecreateParameters = new global::OperationsResearch.RuinRecreateParameters();
1108 }
1110 }
1111 if (other.ImprovePerturbedSolution != false) {
1112 ImprovePerturbedSolution = other.ImprovePerturbedSolution;
1113 }
1114 if (other.AcceptanceStrategy != global::OperationsResearch.AcceptanceStrategy.Types.Value.Unset) {
1116 }
1117 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
1118 }
1119
1120 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1121 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1122 public void MergeFrom(pb::CodedInputStream input) {
1123 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1124 input.ReadRawMessage(this);
1125 #else
1126 uint tag;
1127 while ((tag = input.ReadTag()) != 0) {
1128 switch(tag) {
1129 default:
1130 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
1131 break;
1132 case 8: {
1133 PerturbationStrategy = (global::OperationsResearch.PerturbationStrategy.Types.Value) input.ReadEnum();
1134 break;
1135 }
1136 case 18: {
1137 if (ruinRecreateParameters_ == null) {
1138 RuinRecreateParameters = new global::OperationsResearch.RuinRecreateParameters();
1139 }
1140 input.ReadMessage(RuinRecreateParameters);
1141 break;
1142 }
1143 case 24: {
1144 ImprovePerturbedSolution = input.ReadBool();
1145 break;
1146 }
1147 case 32: {
1148 AcceptanceStrategy = (global::OperationsResearch.AcceptanceStrategy.Types.Value) input.ReadEnum();
1149 break;
1150 }
1151 }
1152 }
1153 #endif
1154 }
1155
1156 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1157 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1158 [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1159 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
1160 uint tag;
1161 while ((tag = input.ReadTag()) != 0) {
1162 switch(tag) {
1163 default:
1164 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
1165 break;
1166 case 8: {
1167 PerturbationStrategy = (global::OperationsResearch.PerturbationStrategy.Types.Value) input.ReadEnum();
1168 break;
1169 }
1170 case 18: {
1171 if (ruinRecreateParameters_ == null) {
1172 RuinRecreateParameters = new global::OperationsResearch.RuinRecreateParameters();
1173 }
1174 input.ReadMessage(RuinRecreateParameters);
1175 break;
1176 }
1177 case 24: {
1178 ImprovePerturbedSolution = input.ReadBool();
1179 break;
1180 }
1181 case 32: {
1182 AcceptanceStrategy = (global::OperationsResearch.AcceptanceStrategy.Types.Value) input.ReadEnum();
1183 break;
1184 }
1185 }
1186 }
1187 }
1188 #endif
1189
1190 }
1191
1192 #endregion
1193
1194}
1195
1196#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 AcceptanceStrategy message type.
Determines when a neighbor solution, obtained by the application of a perturbation and improvement st...
void WriteTo(pb::CodedOutputStream output)
override bool Equals(object other)
AcceptanceStrategy(AcceptanceStrategy other)
bool Equals(AcceptanceStrategy other)
void MergeFrom(pb::CodedInputStream input)
void MergeFrom(AcceptanceStrategy other)
Specifies the behavior of a search based on ILS.
global::OperationsResearch.AcceptanceStrategy.Types.Value AcceptanceStrategy
Determines when the neighbor solution S', possibly improved if improve_perturbed_solution is true,...
global::OperationsResearch.PerturbationStrategy.Types.Value PerturbationStrategy
Determines how a reference solution S is perturbed to obtain a neighbor solution S'.
void MergeFrom(pb::CodedInputStream input)
IteratedLocalSearchParameters(IteratedLocalSearchParameters other)
void MergeFrom(IteratedLocalSearchParameters other)
bool ImprovePerturbedSolution
Determines whether solution S', obtained from the perturbation, should be optimized with a local sear...
void WriteTo(pb::CodedOutputStream output)
bool Equals(IteratedLocalSearchParameters other)
global::OperationsResearch.RuinRecreateParameters RuinRecreateParameters
Parameters to customize a ruin and recreate perturbation.
Container for nested types declared in the PerturbationStrategy message type.
Defines how a reference solution is perturbed.
void MergeFrom(pb::CodedInputStream input)
override bool Equals(object other)
bool Equals(PerturbationStrategy other)
PerturbationStrategy(PerturbationStrategy other)
void WriteTo(pb::CodedOutputStream output)
void MergeFrom(PerturbationStrategy other)
Holder for reflection information generated from ortools/constraint_solver/routing_ils....
static pbr::FileDescriptor Descriptor
File descriptor for ortools/constraint_solver/routing_ils.proto.
Parameters to configure a perturbation based on a ruin and recreate approach.
global::OperationsResearch.RuinStrategy.Types.Value RuinStrategy
Strategy defining how a reference solution is ruined.
RuinRecreateParameters(RuinRecreateParameters other)
global::Google.OrTools.ConstraintSolver.FirstSolutionStrategy.Types.Value RecreateStrategy
Strategy defining how a reference solution is recreated.
bool Equals(RuinRecreateParameters other)
void MergeFrom(RuinRecreateParameters other)
void MergeFrom(pb::CodedInputStream input)
uint NumRuinedRoutes
Number of routes removed during a ruin application defined on routes.
void WriteTo(pb::CodedOutputStream output)
Container for nested types declared in the RuinStrategy message type.
Ruin strategies, used in perturbation based on ruin and recreate approaches.
static pbr::MessageDescriptor Descriptor
bool Equals(RuinStrategy other)
RuinStrategy(RuinStrategy other)
static pb::MessageParser< RuinStrategy > Parser
void WriteTo(pb::CodedOutputStream output)
void MergeFrom(RuinStrategy other)
override bool Equals(object other)
void MergeFrom(pb::CodedInputStream input)