5#pragma warning disable 1591, 0612, 3021, 8981
6#region Designer generated code
8using pb = global::Google.Protobuf;
9using pbc = global::Google.Protobuf.Collections;
10using pbr = global::Google.Protobuf.Reflection;
11using scg = global::System.Collections.Generic;
20 get {
return descriptor; }
22 private static pbr::FileDescriptor descriptor;
25 byte[] descriptorData = global::System.Convert.FromBase64String(
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",
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)
63 [global::System.Diagnostics.DebuggerDisplayAttribute(
"{ToString(),nq}")]
64 public sealed partial class RuinStrategy : pb::IMessage<RuinStrategy>
65 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
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; } }
75 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
76 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
78 get {
return global::OperationsResearch.RoutingIlsReflection.Descriptor.MessageTypes[0]; }
81 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
82 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
83 pbr::MessageDescriptor pb::IMessage.Descriptor {
87 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
88 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
93 partial
void OnConstruction();
95 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
96 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
98 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
101 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
102 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
107 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
108 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
109 public override bool Equals(
object other) {
113 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
114 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
116 if (ReferenceEquals(other,
null)) {
119 if (ReferenceEquals(other,
this)) {
122 return Equals(_unknownFields, other._unknownFields);
125 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
126 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
129 if (_unknownFields !=
null) {
130 hash ^= _unknownFields.GetHashCode();
135 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
136 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
138 return pb::JsonFormatter.ToDiagnosticString(
this);
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);
147 if (_unknownFields !=
null) {
148 _unknownFields.WriteTo(output);
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);
163 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
164 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
167 if (_unknownFields !=
null) {
168 size += _unknownFields.CalculateSize();
173 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
174 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
179 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
182 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
183 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
185 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
186 input.ReadRawMessage(
this);
189 while ((tag = input.ReadTag()) != 0) {
192 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
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) {
204 while ((tag = input.ReadTag()) != 0) {
207 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
216 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
217 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
223 [pbr::OriginalName(
"UNSET")] Unset = 0,
227 [pbr::OriginalName(
"SPATIALLY_CLOSE_ROUTES_REMOVAL")] SpatiallyCloseRoutesRemoval = 1,
238 [global::System.Diagnostics.DebuggerDisplayAttribute(
"{ToString(),nq}")]
240 #
if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
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; } }
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]; }
256 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
257 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
258 pbr::MessageDescriptor pb::IMessage.Descriptor {
259 get {
return Descriptor; }
262 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
263 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
268 partial
void OnConstruction();
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);
279 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
280 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
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)]
294 get { return ruinStrategy_; }
296 ruinStrategy_ = value;
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_; }
311 recreateStrategy_ = value;
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_; }
326 numRuinedRoutes_ = value;
330 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
331 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
332 public override bool Equals(
object other) {
336 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
337 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
339 if (ReferenceEquals(other,
null)) {
342 if (ReferenceEquals(other,
this)) {
348 return Equals(_unknownFields, other._unknownFields);
351 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
352 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
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();
364 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
365 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
367 return pb::JsonFormatter.ToDiagnosticString(
this);
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);
377 output.WriteRawTag(8);
380 if (RecreateStrategy != global::Google.OrTools.ConstraintSolver.FirstSolutionStrategy.Types.Value.Unset) {
381 output.WriteRawTag(16);
382 output.WriteEnum((
int) RecreateStrategy);
384 if (NumRuinedRoutes != 0) {
385 output.WriteRawTag(24);
386 output.WriteUInt32(NumRuinedRoutes);
388 if (_unknownFields !=
null) {
389 _unknownFields.WriteTo(output);
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) {
399 output.WriteRawTag(8);
402 if (RecreateStrategy != global::Google.OrTools.ConstraintSolver.FirstSolutionStrategy.Types.Value.Unset) {
403 output.WriteRawTag(16);
404 output.WriteEnum((
int) RecreateStrategy);
406 if (NumRuinedRoutes != 0) {
407 output.WriteRawTag(24);
408 output.WriteUInt32(NumRuinedRoutes);
410 if (_unknownFields !=
null) {
411 _unknownFields.WriteTo(ref output);
416 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
417 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
421 size += 1 + pb::CodedOutputStream.ComputeEnumSize((
int)
RuinStrategy);
423 if (RecreateStrategy != global::Google.OrTools.ConstraintSolver.FirstSolutionStrategy.Types.Value.Unset) {
424 size += 1 + pb::CodedOutputStream.ComputeEnumSize((
int) RecreateStrategy);
426 if (NumRuinedRoutes != 0) {
427 size += 1 + pb::CodedOutputStream.ComputeUInt32Size(NumRuinedRoutes);
429 if (_unknownFields !=
null) {
430 size += _unknownFields.CalculateSize();
435 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
436 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
444 if (other.
RecreateStrategy != global::Google.OrTools.ConstraintSolver.FirstSolutionStrategy.Types.Value.Unset) {
450 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
453 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
454 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
456 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
457 input.ReadRawMessage(
this);
460 while ((tag = input.ReadTag()) != 0) {
463 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
466 RuinStrategy = (global::OperationsResearch.RuinStrategy.Types.Value) input.ReadEnum();
470 RecreateStrategy = (global::Google.OrTools.ConstraintSolver.FirstSolutionStrategy.Types.Value) input.ReadEnum();
474 NumRuinedRoutes = input.ReadUInt32();
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) {
487 while ((tag = input.ReadTag()) != 0) {
490 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
493 RuinStrategy = (global::OperationsResearch.RuinStrategy.Types.Value) input.ReadEnum();
497 RecreateStrategy = (global::Google.OrTools.ConstraintSolver.FirstSolutionStrategy.Types.Value) input.ReadEnum();
501 NumRuinedRoutes = input.ReadUInt32();
514 [global::System.Diagnostics.DebuggerDisplayAttribute(
"{ToString(),nq}")]
516 #
if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
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; } }
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]; }
532 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
533 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
534 pbr::MessageDescriptor pb::IMessage.Descriptor {
535 get {
return Descriptor; }
538 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
539 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
544 partial
void OnConstruction();
546 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
547 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
549 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
552 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
553 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
558 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
559 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
560 public override bool Equals(
object other) {
564 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
565 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
567 if (ReferenceEquals(other,
null)) {
570 if (ReferenceEquals(other,
this)) {
573 return Equals(_unknownFields, other._unknownFields);
576 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
577 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
580 if (_unknownFields !=
null) {
581 hash ^= _unknownFields.GetHashCode();
586 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
587 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
589 return pb::JsonFormatter.ToDiagnosticString(
this);
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);
598 if (_unknownFields !=
null) {
599 _unknownFields.WriteTo(output);
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);
614 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
615 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
618 if (_unknownFields !=
null) {
619 size += _unknownFields.CalculateSize();
624 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
625 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
630 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
633 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
634 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
636 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
637 input.ReadRawMessage(
this);
640 while ((tag = input.ReadTag()) != 0) {
643 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
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) {
655 while ((tag = input.ReadTag()) != 0) {
658 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
667 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
668 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
674 [pbr::OriginalName(
"UNSET")] Unset = 0,
678 [pbr::OriginalName(
"RUIN_AND_RECREATE")] RuinAndRecreate = 1,
691 [global::System.Diagnostics.DebuggerDisplayAttribute(
"{ToString(),nq}")]
693 #
if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
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; } }
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]; }
709 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
710 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
711 pbr::MessageDescriptor pb::IMessage.Descriptor {
712 get {
return Descriptor; }
715 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
716 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
721 partial
void OnConstruction();
723 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
724 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
726 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
729 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
730 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
735 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
736 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
737 public override bool Equals(
object other) {
741 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
742 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
744 if (ReferenceEquals(other,
null)) {
747 if (ReferenceEquals(other,
this)) {
750 return Equals(_unknownFields, other._unknownFields);
753 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
754 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
757 if (_unknownFields !=
null) {
758 hash ^= _unknownFields.GetHashCode();
763 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
764 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
766 return pb::JsonFormatter.ToDiagnosticString(
this);
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);
775 if (_unknownFields !=
null) {
776 _unknownFields.WriteTo(output);
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);
791 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
792 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
795 if (_unknownFields !=
null) {
796 size += _unknownFields.CalculateSize();
801 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
802 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
807 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
810 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
811 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
813 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
814 input.ReadRawMessage(
this);
817 while ((tag = input.ReadTag()) != 0) {
820 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
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) {
832 while ((tag = input.ReadTag()) != 0) {
835 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
844 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
845 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
851 [pbr::OriginalName(
"UNSET")] Unset = 0,
856 [pbr::OriginalName(
"GREEDY_DESCENT")] GreedyDescent = 1,
867 [global::System.Diagnostics.DebuggerDisplayAttribute(
"{ToString(),nq}")]
869 #
if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
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; } }
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]; }
885 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
886 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
887 pbr::MessageDescriptor pb::IMessage.Descriptor {
888 get {
return Descriptor; }
891 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
892 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
897 partial
void OnConstruction();
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);
909 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
910 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
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)]
925 get { return perturbationStrategy_; }
927 perturbationStrategy_ = value;
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)]
940 get {
return ruinRecreateParameters_; }
942 ruinRecreateParameters_ = value;
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_; }
958 improvePerturbedSolution_ = value;
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)]
972 get { return acceptanceStrategy_; }
974 acceptanceStrategy_ = value;
978 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
979 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
980 public override bool Equals(
object other) {
984 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
985 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
987 if (ReferenceEquals(other,
null)) {
990 if (ReferenceEquals(other,
this)) {
997 return Equals(_unknownFields, other._unknownFields);
1000 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1001 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1006 if (ImprovePerturbedSolution !=
false) hash ^= ImprovePerturbedSolution.GetHashCode();
1008 if (_unknownFields !=
null) {
1009 hash ^= _unknownFields.GetHashCode();
1014 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1015 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1017 return pb::JsonFormatter.ToDiagnosticString(
this);
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);
1027 output.WriteRawTag(8);
1030 if (ruinRecreateParameters_ !=
null) {
1031 output.WriteRawTag(18);
1034 if (ImprovePerturbedSolution !=
false) {
1035 output.WriteRawTag(24);
1036 output.WriteBool(ImprovePerturbedSolution);
1039 output.WriteRawTag(32);
1042 if (_unknownFields !=
null) {
1043 _unknownFields.WriteTo(output);
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) {
1053 output.WriteRawTag(8);
1056 if (ruinRecreateParameters_ !=
null) {
1057 output.WriteRawTag(18);
1058 output.WriteMessage(RuinRecreateParameters);
1060 if (ImprovePerturbedSolution !=
false) {
1061 output.WriteRawTag(24);
1062 output.WriteBool(ImprovePerturbedSolution);
1064 if (AcceptanceStrategy != global::OperationsResearch.AcceptanceStrategy.Types.Value.Unset) {
1065 output.WriteRawTag(32);
1066 output.WriteEnum((
int) AcceptanceStrategy);
1068 if (_unknownFields !=
null) {
1069 _unknownFields.WriteTo(ref output);
1074 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1075 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1081 if (ruinRecreateParameters_ !=
null) {
1084 if (ImprovePerturbedSolution !=
false) {
1090 if (_unknownFields !=
null) {
1091 size += _unknownFields.CalculateSize();
1096 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1097 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1099 if (other ==
null) {
1105 if (other.ruinRecreateParameters_ !=
null) {
1106 if (ruinRecreateParameters_ ==
null) {
1117 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
1120 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1121 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1123 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1124 input.ReadRawMessage(
this);
1127 while ((tag = input.ReadTag()) != 0) {
1130 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
1133 PerturbationStrategy = (global::OperationsResearch.PerturbationStrategy.Types.Value) input.ReadEnum();
1137 if (ruinRecreateParameters_ ==
null) {
1144 ImprovePerturbedSolution = input.ReadBool();
1148 AcceptanceStrategy = (global::OperationsResearch.AcceptanceStrategy.Types.Value) input.ReadEnum();
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) {
1161 while ((tag = input.ReadTag()) != 0) {
1164 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
1167 PerturbationStrategy = (global::OperationsResearch.PerturbationStrategy.Types.Value) input.ReadEnum();
1171 if (ruinRecreateParameters_ ==
null) {
1172 RuinRecreateParameters =
new global::OperationsResearch.RuinRecreateParameters();
1174 input.ReadMessage(RuinRecreateParameters);
1178 ImprovePerturbedSolution = input.ReadBool();
1182 AcceptanceStrategy = (global::OperationsResearch.AcceptanceStrategy.Types.Value) input.ReadEnum();
1196#endregion Designer generated code
global::Google.Protobuf.Reflection pbr
global::System.Collections.Generic scg
global::Google.Protobuf.Collections pbc
global::Google.Protobuf pb
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)
override string ToString()
override int GetHashCode()
bool Equals(AcceptanceStrategy other)
void MergeFrom(pb::CodedInputStream input)
void MergeFrom(AcceptanceStrategy other)
AcceptanceStrategy Clone()
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)
override int GetHashCode()
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)
override string ToString()
bool Equals(IteratedLocalSearchParameters other)
global::OperationsResearch.RuinRecreateParameters RuinRecreateParameters
Parameters to customize a ruin and recreate perturbation.
IteratedLocalSearchParameters()
IteratedLocalSearchParameters Clone()
override bool Equals(object other)
Container for nested types declared in the PerturbationStrategy message type.
Defines how a reference solution is perturbed.
PerturbationStrategy Clone()
void MergeFrom(pb::CodedInputStream input)
override bool Equals(object other)
bool Equals(PerturbationStrategy other)
PerturbationStrategy(PerturbationStrategy other)
override int GetHashCode()
void WriteTo(pb::CodedOutputStream output)
void MergeFrom(PerturbationStrategy other)
override string ToString()
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.
override bool Equals(object other)
override int GetHashCode()
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)
RuinRecreateParameters Clone()
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)
override string ToString()
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)
override string ToString()
static pb::MessageParser< RuinStrategy > Parser
override int GetHashCode()
void WriteTo(pb::CodedOutputStream output)
void MergeFrom(RuinStrategy other)
override bool Equals(object other)
void MergeFrom(pb::CodedInputStream input)