Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
RoutingIls.java
Go to the documentation of this file.
1// Generated by the protocol buffer compiler. DO NOT EDIT!
2// source: ortools/constraint_solver/routing_ils.proto
3// Protobuf Java Version: 4.26.1
4
5package operations_research;
6
7public final class RoutingIls {
8 private RoutingIls() {}
9 static {
10 com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
11 com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
12 /* major= */ 4,
13 /* minor= */ 26,
14 /* patch= */ 1,
15 /* suffix= */ "",
16 RoutingIls.class.getName());
17 }
18 public static void registerAllExtensions(
19 com.google.protobuf.ExtensionRegistryLite registry) {
20 }
21
22 public static void registerAllExtensions(
23 com.google.protobuf.ExtensionRegistry registry) {
25 (com.google.protobuf.ExtensionRegistryLite) registry);
26 }
27 public interface RuinStrategyOrBuilder extends
28 // @@protoc_insertion_point(interface_extends:operations_research.RuinStrategy)
29 com.google.protobuf.MessageOrBuilder {
30 }
38 public static final class RuinStrategy extends
39 com.google.protobuf.GeneratedMessage implements
40 // @@protoc_insertion_point(message_implements:operations_research.RuinStrategy)
42 private static final long serialVersionUID = 0L;
43 static {
44 com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
45 com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
46 /* major= */ 4,
47 /* minor= */ 26,
48 /* patch= */ 1,
49 /* suffix= */ "",
50 RuinStrategy.class.getName());
51 }
52 // Use RuinStrategy.newBuilder() to construct.
53 private RuinStrategy(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
54 super(builder);
55 }
56 private RuinStrategy() {
57 }
58
59 public static final com.google.protobuf.Descriptors.Descriptor
61 return operations_research.RoutingIls.internal_static_operations_research_RuinStrategy_descriptor;
62 }
63
64 @java.lang.Override
65 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
67 return operations_research.RoutingIls.internal_static_operations_research_RuinStrategy_fieldAccessorTable
68 .ensureFieldAccessorsInitialized(
70 }
71
75 public enum Value
76 implements com.google.protobuf.ProtocolMessageEnum {
94 ;
95
96 static {
97 com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
98 com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
99 /* major= */ 4,
100 /* minor= */ 26,
101 /* patch= */ 1,
102 /* suffix= */ "",
103 Value.class.getName());
104 }
112 public static final int UNSET_VALUE = 0;
120 public static final int SPATIALLY_CLOSE_ROUTES_REMOVAL_VALUE = 1;
121
122
123 public final int getNumber() {
124 if (this == UNRECOGNIZED) {
125 throw new java.lang.IllegalArgumentException(
126 "Can't get the number of an unknown enum value.");
127 }
128 return value;
129 }
130
136 @java.lang.Deprecated
137 public static Value valueOf(int value) {
138 return forNumber(value);
139 }
140
145 public static Value forNumber(int value) {
146 switch (value) {
147 case 0: return UNSET;
148 case 1: return SPATIALLY_CLOSE_ROUTES_REMOVAL;
149 default: return null;
150 }
151 }
152
153 public static com.google.protobuf.Internal.EnumLiteMap<Value>
155 return internalValueMap;
156 }
157 private static final com.google.protobuf.Internal.EnumLiteMap<
158 Value> internalValueMap =
159 new com.google.protobuf.Internal.EnumLiteMap<Value>() {
160 public Value findValueByNumber(int number) {
161 return Value.forNumber(number);
162 }
163 };
164
165 public final com.google.protobuf.Descriptors.EnumValueDescriptor
167 if (this == UNRECOGNIZED) {
168 throw new java.lang.IllegalStateException(
169 "Can't get the descriptor of an unrecognized enum value.");
170 }
171 return getDescriptor().getValues().get(ordinal());
172 }
173 public final com.google.protobuf.Descriptors.EnumDescriptor
175 return getDescriptor();
176 }
177 public static final com.google.protobuf.Descriptors.EnumDescriptor
179 return operations_research.RoutingIls.RuinStrategy.getDescriptor().getEnumTypes().get(0);
180 }
181
182 private static final Value[] VALUES = values();
183
184 public static Value valueOf(
185 com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
186 if (desc.getType() != getDescriptor()) {
187 throw new java.lang.IllegalArgumentException(
188 "EnumValueDescriptor is not for this type.");
189 }
190 if (desc.getIndex() == -1) {
191 return UNRECOGNIZED;
192 }
193 return VALUES[desc.getIndex()];
194 }
195
196 private final int value;
197
198 private Value(int value) {
199 this.value = value;
200 }
201
202 // @@protoc_insertion_point(enum_scope:operations_research.RuinStrategy.Value)
203 }
204
205 private byte memoizedIsInitialized = -1;
206 @java.lang.Override
207 public final boolean isInitialized() {
208 byte isInitialized = memoizedIsInitialized;
209 if (isInitialized == 1) return true;
210 if (isInitialized == 0) return false;
211
212 memoizedIsInitialized = 1;
213 return true;
214 }
215
216 @java.lang.Override
217 public void writeTo(com.google.protobuf.CodedOutputStream output)
218 throws java.io.IOException {
219 getUnknownFields().writeTo(output);
220 }
221
222 @java.lang.Override
223 public int getSerializedSize() {
224 int size = memoizedSize;
225 if (size != -1) return size;
226
227 size = 0;
228 size += getUnknownFields().getSerializedSize();
229 memoizedSize = size;
230 return size;
231 }
232
233 @java.lang.Override
234 public boolean equals(final java.lang.Object obj) {
235 if (obj == this) {
236 return true;
237 }
238 if (!(obj instanceof operations_research.RoutingIls.RuinStrategy)) {
239 return super.equals(obj);
240 }
242
243 if (!getUnknownFields().equals(other.getUnknownFields())) return false;
244 return true;
245 }
246
247 @java.lang.Override
248 public int hashCode() {
249 if (memoizedHashCode != 0) {
250 return memoizedHashCode;
251 }
252 int hash = 41;
253 hash = (19 * hash) + getDescriptor().hashCode();
254 hash = (29 * hash) + getUnknownFields().hashCode();
255 memoizedHashCode = hash;
256 return hash;
257 }
258
260 java.nio.ByteBuffer data)
261 throws com.google.protobuf.InvalidProtocolBufferException {
262 return PARSER.parseFrom(data);
263 }
265 java.nio.ByteBuffer data,
266 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
267 throws com.google.protobuf.InvalidProtocolBufferException {
268 return PARSER.parseFrom(data, extensionRegistry);
269 }
271 com.google.protobuf.ByteString data)
272 throws com.google.protobuf.InvalidProtocolBufferException {
273 return PARSER.parseFrom(data);
274 }
276 com.google.protobuf.ByteString data,
277 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
278 throws com.google.protobuf.InvalidProtocolBufferException {
279 return PARSER.parseFrom(data, extensionRegistry);
280 }
282 throws com.google.protobuf.InvalidProtocolBufferException {
283 return PARSER.parseFrom(data);
284 }
286 byte[] data,
287 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
288 throws com.google.protobuf.InvalidProtocolBufferException {
289 return PARSER.parseFrom(data, extensionRegistry);
290 }
291 public static operations_research.RoutingIls.RuinStrategy parseFrom(java.io.InputStream input)
292 throws java.io.IOException {
293 return com.google.protobuf.GeneratedMessage
294 .parseWithIOException(PARSER, input);
295 }
297 java.io.InputStream input,
298 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
299 throws java.io.IOException {
300 return com.google.protobuf.GeneratedMessage
301 .parseWithIOException(PARSER, input, extensionRegistry);
302 }
303
305 throws java.io.IOException {
306 return com.google.protobuf.GeneratedMessage
307 .parseDelimitedWithIOException(PARSER, input);
308 }
309
311 java.io.InputStream input,
312 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
313 throws java.io.IOException {
314 return com.google.protobuf.GeneratedMessage
315 .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
316 }
318 com.google.protobuf.CodedInputStream input)
319 throws java.io.IOException {
320 return com.google.protobuf.GeneratedMessage
321 .parseWithIOException(PARSER, input);
322 }
324 com.google.protobuf.CodedInputStream input,
325 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
326 throws java.io.IOException {
327 return com.google.protobuf.GeneratedMessage
328 .parseWithIOException(PARSER, input, extensionRegistry);
329 }
330
331 @java.lang.Override
332 public Builder newBuilderForType() { return newBuilder(); }
333 public static Builder newBuilder() {
334 return DEFAULT_INSTANCE.toBuilder();
335 }
337 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
338 }
339 @java.lang.Override
341 return this == DEFAULT_INSTANCE
342 ? new Builder() : new Builder().mergeFrom(this);
343 }
344
345 @java.lang.Override
347 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
348 Builder builder = new Builder(parent);
349 return builder;
350 }
358 public static final class Builder extends
359 com.google.protobuf.GeneratedMessage.Builder<Builder> implements
360 // @@protoc_insertion_point(builder_implements:operations_research.RuinStrategy)
362 public static final com.google.protobuf.Descriptors.Descriptor
364 return operations_research.RoutingIls.internal_static_operations_research_RuinStrategy_descriptor;
365 }
366
367 @java.lang.Override
368 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
370 return operations_research.RoutingIls.internal_static_operations_research_RuinStrategy_fieldAccessorTable
371 .ensureFieldAccessorsInitialized(
373 }
374
375 // Construct using operations_research.RoutingIls.RuinStrategy.newBuilder()
376 private Builder() {
377
378 }
379
380 private Builder(
381 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
382 super(parent);
383
384 }
385 @java.lang.Override
386 public Builder clear() {
387 super.clear();
388 return this;
389 }
390
391 @java.lang.Override
392 public com.google.protobuf.Descriptors.Descriptor
394 return operations_research.RoutingIls.internal_static_operations_research_RuinStrategy_descriptor;
395 }
396
397 @java.lang.Override
401
402 @java.lang.Override
405 if (!result.isInitialized()) {
406 throw newUninitializedMessageException(result);
407 }
408 return result;
409 }
410
411 @java.lang.Override
417
418 @java.lang.Override
419 public Builder mergeFrom(com.google.protobuf.Message other) {
420 if (other instanceof operations_research.RoutingIls.RuinStrategy) {
422 } else {
423 super.mergeFrom(other);
424 return this;
425 }
426 }
427
430 this.mergeUnknownFields(other.getUnknownFields());
431 onChanged();
432 return this;
433 }
434
435 @java.lang.Override
436 public final boolean isInitialized() {
437 return true;
438 }
439
440 @java.lang.Override
442 com.google.protobuf.CodedInputStream input,
443 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
444 throws java.io.IOException {
445 if (extensionRegistry == null) {
446 throw new java.lang.NullPointerException();
447 }
448 try {
449 boolean done = false;
450 while (!done) {
451 int tag = input.readTag();
452 switch (tag) {
453 case 0:
454 done = true;
455 break;
456 default: {
457 if (!super.parseUnknownField(input, extensionRegistry, tag)) {
458 done = true; // was an endgroup tag
459 }
460 break;
461 } // default:
462 } // switch (tag)
463 } // while (!done)
464 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
465 throw e.unwrapIOException();
466 } finally {
467 onChanged();
468 } // finally
469 return this;
470 }
471
472 // @@protoc_insertion_point(builder_scope:operations_research.RuinStrategy)
473 }
474
475 // @@protoc_insertion_point(class_scope:operations_research.RuinStrategy)
476 private static final operations_research.RoutingIls.RuinStrategy DEFAULT_INSTANCE;
477 static {
478 DEFAULT_INSTANCE = new operations_research.RoutingIls.RuinStrategy();
479 }
480
482 return DEFAULT_INSTANCE;
483 }
484
485 private static final com.google.protobuf.Parser<RuinStrategy>
486 PARSER = new com.google.protobuf.AbstractParser<RuinStrategy>() {
487 @java.lang.Override
488 public RuinStrategy parsePartialFrom(
489 com.google.protobuf.CodedInputStream input,
490 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
491 throws com.google.protobuf.InvalidProtocolBufferException {
492 Builder builder = newBuilder();
493 try {
494 builder.mergeFrom(input, extensionRegistry);
495 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
496 throw e.setUnfinishedMessage(builder.buildPartial());
497 } catch (com.google.protobuf.UninitializedMessageException e) {
498 throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
499 } catch (java.io.IOException e) {
500 throw new com.google.protobuf.InvalidProtocolBufferException(e)
501 .setUnfinishedMessage(builder.buildPartial());
502 }
503 return builder.buildPartial();
504 }
505 };
506
507 public static com.google.protobuf.Parser<RuinStrategy> parser() {
508 return PARSER;
509 }
510
511 @java.lang.Override
512 public com.google.protobuf.Parser<RuinStrategy> getParserForType() {
513 return PARSER;
514 }
515
516 @java.lang.Override
518 return DEFAULT_INSTANCE;
519 }
520
521 }
522
523 public interface RuinRecreateParametersOrBuilder extends
524 // @@protoc_insertion_point(interface_extends:operations_research.RuinRecreateParameters)
525 com.google.protobuf.MessageOrBuilder {
526
545
564
574 }
582 public static final class RuinRecreateParameters extends
583 com.google.protobuf.GeneratedMessage implements
584 // @@protoc_insertion_point(message_implements:operations_research.RuinRecreateParameters)
586 private static final long serialVersionUID = 0L;
587 static {
588 com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
589 com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
590 /* major= */ 4,
591 /* minor= */ 26,
592 /* patch= */ 1,
593 /* suffix= */ "",
594 RuinRecreateParameters.class.getName());
595 }
596 // Use RuinRecreateParameters.newBuilder() to construct.
597 private RuinRecreateParameters(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
598 super(builder);
599 }
600 private RuinRecreateParameters() {
601 ruinStrategy_ = 0;
602 recreateStrategy_ = 0;
603 }
604
605 public static final com.google.protobuf.Descriptors.Descriptor
607 return operations_research.RoutingIls.internal_static_operations_research_RuinRecreateParameters_descriptor;
608 }
609
610 @java.lang.Override
611 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
613 return operations_research.RoutingIls.internal_static_operations_research_RuinRecreateParameters_fieldAccessorTable
614 .ensureFieldAccessorsInitialized(
616 }
617
618 public static final int RUIN_STRATEGY_FIELD_NUMBER = 1;
619 private int ruinStrategy_ = 0;
628 @java.lang.Override public int getRuinStrategyValue() {
629 return ruinStrategy_;
630 }
641 return result == null ? operations_research.RoutingIls.RuinStrategy.Value.UNRECOGNIZED : result;
642 }
643
644 public static final int RECREATE_STRATEGY_FIELD_NUMBER = 2;
645 private int recreateStrategy_ = 0;
654 @java.lang.Override public int getRecreateStrategyValue() {
655 return recreateStrategy_;
656 }
666 com.google.ortools.constraintsolver.FirstSolutionStrategy.Value result = com.google.ortools.constraintsolver.FirstSolutionStrategy.Value.forNumber(recreateStrategy_);
667 return result == null ? com.google.ortools.constraintsolver.FirstSolutionStrategy.Value.UNRECOGNIZED : result;
668 }
669
670 public static final int NUM_RUINED_ROUTES_FIELD_NUMBER = 3;
671 private int numRuinedRoutes_ = 0;
680 @java.lang.Override
681 public int getNumRuinedRoutes() {
682 return numRuinedRoutes_;
683 }
684
685 private byte memoizedIsInitialized = -1;
686 @java.lang.Override
687 public final boolean isInitialized() {
688 byte isInitialized = memoizedIsInitialized;
689 if (isInitialized == 1) return true;
690 if (isInitialized == 0) return false;
691
692 memoizedIsInitialized = 1;
693 return true;
694 }
695
696 @java.lang.Override
697 public void writeTo(com.google.protobuf.CodedOutputStream output)
698 throws java.io.IOException {
699 if (ruinStrategy_ != operations_research.RoutingIls.RuinStrategy.Value.UNSET.getNumber()) {
700 output.writeEnum(1, ruinStrategy_);
701 }
702 if (recreateStrategy_ != com.google.ortools.constraintsolver.FirstSolutionStrategy.Value.UNSET.getNumber()) {
703 output.writeEnum(2, recreateStrategy_);
704 }
705 if (numRuinedRoutes_ != 0) {
706 output.writeUInt32(3, numRuinedRoutes_);
707 }
708 getUnknownFields().writeTo(output);
709 }
710
711 @java.lang.Override
712 public int getSerializedSize() {
713 int size = memoizedSize;
714 if (size != -1) return size;
715
716 size = 0;
717 if (ruinStrategy_ != operations_research.RoutingIls.RuinStrategy.Value.UNSET.getNumber()) {
718 size += com.google.protobuf.CodedOutputStream
719 .computeEnumSize(1, ruinStrategy_);
720 }
721 if (recreateStrategy_ != com.google.ortools.constraintsolver.FirstSolutionStrategy.Value.UNSET.getNumber()) {
722 size += com.google.protobuf.CodedOutputStream
723 .computeEnumSize(2, recreateStrategy_);
724 }
725 if (numRuinedRoutes_ != 0) {
726 size += com.google.protobuf.CodedOutputStream
727 .computeUInt32Size(3, numRuinedRoutes_);
728 }
729 size += getUnknownFields().getSerializedSize();
730 memoizedSize = size;
731 return size;
732 }
733
734 @java.lang.Override
735 public boolean equals(final java.lang.Object obj) {
736 if (obj == this) {
737 return true;
738 }
740 return super.equals(obj);
741 }
743
744 if (ruinStrategy_ != other.ruinStrategy_) return false;
745 if (recreateStrategy_ != other.recreateStrategy_) return false;
747 != other.getNumRuinedRoutes()) return false;
748 if (!getUnknownFields().equals(other.getUnknownFields())) return false;
749 return true;
750 }
751
752 @java.lang.Override
753 public int hashCode() {
754 if (memoizedHashCode != 0) {
755 return memoizedHashCode;
756 }
757 int hash = 41;
758 hash = (19 * hash) + getDescriptor().hashCode();
759 hash = (37 * hash) + RUIN_STRATEGY_FIELD_NUMBER;
760 hash = (53 * hash) + ruinStrategy_;
761 hash = (37 * hash) + RECREATE_STRATEGY_FIELD_NUMBER;
762 hash = (53 * hash) + recreateStrategy_;
763 hash = (37 * hash) + NUM_RUINED_ROUTES_FIELD_NUMBER;
764 hash = (53 * hash) + getNumRuinedRoutes();
765 hash = (29 * hash) + getUnknownFields().hashCode();
766 memoizedHashCode = hash;
767 return hash;
768 }
769
771 java.nio.ByteBuffer data)
772 throws com.google.protobuf.InvalidProtocolBufferException {
773 return PARSER.parseFrom(data);
774 }
776 java.nio.ByteBuffer data,
777 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
778 throws com.google.protobuf.InvalidProtocolBufferException {
779 return PARSER.parseFrom(data, extensionRegistry);
780 }
782 com.google.protobuf.ByteString data)
783 throws com.google.protobuf.InvalidProtocolBufferException {
784 return PARSER.parseFrom(data);
785 }
787 com.google.protobuf.ByteString data,
788 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
789 throws com.google.protobuf.InvalidProtocolBufferException {
790 return PARSER.parseFrom(data, extensionRegistry);
791 }
793 throws com.google.protobuf.InvalidProtocolBufferException {
794 return PARSER.parseFrom(data);
795 }
797 byte[] data,
798 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
799 throws com.google.protobuf.InvalidProtocolBufferException {
800 return PARSER.parseFrom(data, extensionRegistry);
801 }
803 throws java.io.IOException {
804 return com.google.protobuf.GeneratedMessage
805 .parseWithIOException(PARSER, input);
806 }
808 java.io.InputStream input,
809 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
810 throws java.io.IOException {
811 return com.google.protobuf.GeneratedMessage
812 .parseWithIOException(PARSER, input, extensionRegistry);
813 }
814
816 throws java.io.IOException {
817 return com.google.protobuf.GeneratedMessage
818 .parseDelimitedWithIOException(PARSER, input);
819 }
820
822 java.io.InputStream input,
823 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
824 throws java.io.IOException {
825 return com.google.protobuf.GeneratedMessage
826 .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
827 }
829 com.google.protobuf.CodedInputStream input)
830 throws java.io.IOException {
831 return com.google.protobuf.GeneratedMessage
832 .parseWithIOException(PARSER, input);
833 }
835 com.google.protobuf.CodedInputStream input,
836 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
837 throws java.io.IOException {
838 return com.google.protobuf.GeneratedMessage
839 .parseWithIOException(PARSER, input, extensionRegistry);
840 }
841
842 @java.lang.Override
843 public Builder newBuilderForType() { return newBuilder(); }
844 public static Builder newBuilder() {
845 return DEFAULT_INSTANCE.toBuilder();
846 }
848 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
849 }
850 @java.lang.Override
852 return this == DEFAULT_INSTANCE
853 ? new Builder() : new Builder().mergeFrom(this);
854 }
855
856 @java.lang.Override
858 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
859 Builder builder = new Builder(parent);
860 return builder;
861 }
869 public static final class Builder extends
870 com.google.protobuf.GeneratedMessage.Builder<Builder> implements
871 // @@protoc_insertion_point(builder_implements:operations_research.RuinRecreateParameters)
873 public static final com.google.protobuf.Descriptors.Descriptor
875 return operations_research.RoutingIls.internal_static_operations_research_RuinRecreateParameters_descriptor;
876 }
877
878 @java.lang.Override
879 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
881 return operations_research.RoutingIls.internal_static_operations_research_RuinRecreateParameters_fieldAccessorTable
882 .ensureFieldAccessorsInitialized(
884 }
885
886 // Construct using operations_research.RoutingIls.RuinRecreateParameters.newBuilder()
887 private Builder() {
888
889 }
890
891 private Builder(
892 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
893 super(parent);
894
895 }
896 @java.lang.Override
897 public Builder clear() {
898 super.clear();
899 bitField0_ = 0;
900 ruinStrategy_ = 0;
901 recreateStrategy_ = 0;
902 numRuinedRoutes_ = 0;
903 return this;
904 }
905
906 @java.lang.Override
907 public com.google.protobuf.Descriptors.Descriptor
909 return operations_research.RoutingIls.internal_static_operations_research_RuinRecreateParameters_descriptor;
910 }
911
912 @java.lang.Override
916
917 @java.lang.Override
920 if (!result.isInitialized()) {
921 throw newUninitializedMessageException(result);
922 }
923 return result;
924 }
925
926 @java.lang.Override
929 if (bitField0_ != 0) { buildPartial0(result); }
930 onBuilt();
931 return result;
932 }
933
934 private void buildPartial0(operations_research.RoutingIls.RuinRecreateParameters result) {
935 int from_bitField0_ = bitField0_;
936 if (((from_bitField0_ & 0x00000001) != 0)) {
937 result.ruinStrategy_ = ruinStrategy_;
938 }
939 if (((from_bitField0_ & 0x00000002) != 0)) {
940 result.recreateStrategy_ = recreateStrategy_;
941 }
942 if (((from_bitField0_ & 0x00000004) != 0)) {
943 result.numRuinedRoutes_ = numRuinedRoutes_;
944 }
945 }
946
947 @java.lang.Override
948 public Builder mergeFrom(com.google.protobuf.Message other) {
951 } else {
952 super.mergeFrom(other);
953 return this;
954 }
955 }
956
959 if (other.ruinStrategy_ != 0) {
960 setRuinStrategyValue(other.getRuinStrategyValue());
961 }
962 if (other.recreateStrategy_ != 0) {
963 setRecreateStrategyValue(other.getRecreateStrategyValue());
964 }
965 if (other.getNumRuinedRoutes() != 0) {
966 setNumRuinedRoutes(other.getNumRuinedRoutes());
967 }
968 this.mergeUnknownFields(other.getUnknownFields());
969 onChanged();
970 return this;
971 }
972
973 @java.lang.Override
974 public final boolean isInitialized() {
975 return true;
976 }
977
978 @java.lang.Override
980 com.google.protobuf.CodedInputStream input,
981 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
982 throws java.io.IOException {
983 if (extensionRegistry == null) {
984 throw new java.lang.NullPointerException();
985 }
986 try {
987 boolean done = false;
988 while (!done) {
989 int tag = input.readTag();
990 switch (tag) {
991 case 0:
992 done = true;
993 break;
994 case 8: {
995 ruinStrategy_ = input.readEnum();
996 bitField0_ |= 0x00000001;
997 break;
998 } // case 8
999 case 16: {
1000 recreateStrategy_ = input.readEnum();
1001 bitField0_ |= 0x00000002;
1002 break;
1003 } // case 16
1004 case 24: {
1005 numRuinedRoutes_ = input.readUInt32();
1006 bitField0_ |= 0x00000004;
1007 break;
1008 } // case 24
1009 default: {
1010 if (!super.parseUnknownField(input, extensionRegistry, tag)) {
1011 done = true; // was an endgroup tag
1012 }
1013 break;
1014 } // default:
1015 } // switch (tag)
1016 } // while (!done)
1017 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
1018 throw e.unwrapIOException();
1019 } finally {
1020 onChanged();
1021 } // finally
1022 return this;
1023 }
1024 private int bitField0_;
1025
1026 private int ruinStrategy_ = 0;
1035 @java.lang.Override public int getRuinStrategyValue() {
1036 return ruinStrategy_;
1037 }
1047 public Builder setRuinStrategyValue(int value) {
1048 ruinStrategy_ = value;
1049 bitField0_ |= 0x00000001;
1050 onChanged();
1051 return this;
1052 }
1061 @java.lang.Override
1064 return result == null ? operations_research.RoutingIls.RuinStrategy.Value.UNRECOGNIZED : result;
1065 }
1076 if (value == null) {
1077 throw new NullPointerException();
1078 }
1079 bitField0_ |= 0x00000001;
1080 ruinStrategy_ = value.getNumber();
1081 onChanged();
1082 return this;
1083 }
1093 bitField0_ = (bitField0_ & ~0x00000001);
1094 ruinStrategy_ = 0;
1095 onChanged();
1096 return this;
1097 }
1098
1099 private int recreateStrategy_ = 0;
1108 @java.lang.Override public int getRecreateStrategyValue() {
1109 return recreateStrategy_;
1110 }
1121 recreateStrategy_ = value;
1122 bitField0_ |= 0x00000002;
1123 onChanged();
1124 return this;
1125 }
1134 @java.lang.Override
1136 com.google.ortools.constraintsolver.FirstSolutionStrategy.Value result = com.google.ortools.constraintsolver.FirstSolutionStrategy.Value.forNumber(recreateStrategy_);
1137 return result == null ? com.google.ortools.constraintsolver.FirstSolutionStrategy.Value.UNRECOGNIZED : result;
1138 }
1148 public Builder setRecreateStrategy(com.google.ortools.constraintsolver.FirstSolutionStrategy.Value value) {
1149 if (value == null) {
1150 throw new NullPointerException();
1151 }
1152 bitField0_ |= 0x00000002;
1153 recreateStrategy_ = value.getNumber();
1154 onChanged();
1155 return this;
1156 }
1166 bitField0_ = (bitField0_ & ~0x00000002);
1167 recreateStrategy_ = 0;
1168 onChanged();
1169 return this;
1170 }
1171
1172 private int numRuinedRoutes_ ;
1181 @java.lang.Override
1182 public int getNumRuinedRoutes() {
1183 return numRuinedRoutes_;
1184 }
1194 public Builder setNumRuinedRoutes(int value) {
1195
1196 numRuinedRoutes_ = value;
1197 bitField0_ |= 0x00000004;
1198 onChanged();
1199 return this;
1200 }
1210 bitField0_ = (bitField0_ & ~0x00000004);
1211 numRuinedRoutes_ = 0;
1212 onChanged();
1213 return this;
1214 }
1215
1216 // @@protoc_insertion_point(builder_scope:operations_research.RuinRecreateParameters)
1217 }
1218
1219 // @@protoc_insertion_point(class_scope:operations_research.RuinRecreateParameters)
1220 private static final operations_research.RoutingIls.RuinRecreateParameters DEFAULT_INSTANCE;
1221 static {
1222 DEFAULT_INSTANCE = new operations_research.RoutingIls.RuinRecreateParameters();
1223 }
1224
1226 return DEFAULT_INSTANCE;
1227 }
1228
1229 private static final com.google.protobuf.Parser<RuinRecreateParameters>
1230 PARSER = new com.google.protobuf.AbstractParser<RuinRecreateParameters>() {
1231 @java.lang.Override
1232 public RuinRecreateParameters parsePartialFrom(
1233 com.google.protobuf.CodedInputStream input,
1234 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1235 throws com.google.protobuf.InvalidProtocolBufferException {
1236 Builder builder = newBuilder();
1237 try {
1238 builder.mergeFrom(input, extensionRegistry);
1239 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
1240 throw e.setUnfinishedMessage(builder.buildPartial());
1241 } catch (com.google.protobuf.UninitializedMessageException e) {
1242 throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
1243 } catch (java.io.IOException e) {
1244 throw new com.google.protobuf.InvalidProtocolBufferException(e)
1245 .setUnfinishedMessage(builder.buildPartial());
1246 }
1247 return builder.buildPartial();
1248 }
1249 };
1250
1251 public static com.google.protobuf.Parser<RuinRecreateParameters> parser() {
1252 return PARSER;
1253 }
1254
1255 @java.lang.Override
1256 public com.google.protobuf.Parser<RuinRecreateParameters> getParserForType() {
1257 return PARSER;
1258 }
1259
1260 @java.lang.Override
1264
1265 }
1266
1267 public interface PerturbationStrategyOrBuilder extends
1268 // @@protoc_insertion_point(interface_extends:operations_research.PerturbationStrategy)
1269 com.google.protobuf.MessageOrBuilder {
1270 }
1278 public static final class PerturbationStrategy extends
1279 com.google.protobuf.GeneratedMessage implements
1280 // @@protoc_insertion_point(message_implements:operations_research.PerturbationStrategy)
1282 private static final long serialVersionUID = 0L;
1283 static {
1284 com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
1285 com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
1286 /* major= */ 4,
1287 /* minor= */ 26,
1288 /* patch= */ 1,
1289 /* suffix= */ "",
1290 PerturbationStrategy.class.getName());
1291 }
1292 // Use PerturbationStrategy.newBuilder() to construct.
1293 private PerturbationStrategy(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
1294 super(builder);
1295 }
1296 private PerturbationStrategy() {
1297 }
1298
1299 public static final com.google.protobuf.Descriptors.Descriptor
1301 return operations_research.RoutingIls.internal_static_operations_research_PerturbationStrategy_descriptor;
1302 }
1303
1304 @java.lang.Override
1305 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
1307 return operations_research.RoutingIls.internal_static_operations_research_PerturbationStrategy_fieldAccessorTable
1308 .ensureFieldAccessorsInitialized(
1310 }
1311
1315 public enum Value
1316 implements com.google.protobuf.ProtocolMessageEnum {
1334 ;
1335
1336 static {
1337 com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
1338 com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
1339 /* major= */ 4,
1340 /* minor= */ 26,
1341 /* patch= */ 1,
1342 /* suffix= */ "",
1343 Value.class.getName());
1344 }
1352 public static final int UNSET_VALUE = 0;
1360 public static final int RUIN_AND_RECREATE_VALUE = 1;
1361
1362
1363 public final int getNumber() {
1364 if (this == UNRECOGNIZED) {
1365 throw new java.lang.IllegalArgumentException(
1366 "Can't get the number of an unknown enum value.");
1367 }
1368 return value;
1369 }
1370
1376 @java.lang.Deprecated
1377 public static Value valueOf(int value) {
1378 return forNumber(value);
1379 }
1380
1385 public static Value forNumber(int value) {
1386 switch (value) {
1387 case 0: return UNSET;
1388 case 1: return RUIN_AND_RECREATE;
1389 default: return null;
1390 }
1391 }
1392
1393 public static com.google.protobuf.Internal.EnumLiteMap<Value>
1395 return internalValueMap;
1396 }
1397 private static final com.google.protobuf.Internal.EnumLiteMap<
1398 Value> internalValueMap =
1399 new com.google.protobuf.Internal.EnumLiteMap<Value>() {
1400 public Value findValueByNumber(int number) {
1401 return Value.forNumber(number);
1402 }
1403 };
1404
1405 public final com.google.protobuf.Descriptors.EnumValueDescriptor
1407 if (this == UNRECOGNIZED) {
1408 throw new java.lang.IllegalStateException(
1409 "Can't get the descriptor of an unrecognized enum value.");
1410 }
1411 return getDescriptor().getValues().get(ordinal());
1412 }
1413 public final com.google.protobuf.Descriptors.EnumDescriptor
1415 return getDescriptor();
1416 }
1417 public static final com.google.protobuf.Descriptors.EnumDescriptor
1420 }
1421
1422 private static final Value[] VALUES = values();
1423
1424 public static Value valueOf(
1425 com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
1426 if (desc.getType() != getDescriptor()) {
1427 throw new java.lang.IllegalArgumentException(
1428 "EnumValueDescriptor is not for this type.");
1429 }
1430 if (desc.getIndex() == -1) {
1431 return UNRECOGNIZED;
1432 }
1433 return VALUES[desc.getIndex()];
1434 }
1435
1436 private final int value;
1437
1438 private Value(int value) {
1439 this.value = value;
1440 }
1441
1442 // @@protoc_insertion_point(enum_scope:operations_research.PerturbationStrategy.Value)
1443 }
1444
1445 private byte memoizedIsInitialized = -1;
1446 @java.lang.Override
1447 public final boolean isInitialized() {
1448 byte isInitialized = memoizedIsInitialized;
1449 if (isInitialized == 1) return true;
1450 if (isInitialized == 0) return false;
1451
1452 memoizedIsInitialized = 1;
1453 return true;
1454 }
1455
1456 @java.lang.Override
1457 public void writeTo(com.google.protobuf.CodedOutputStream output)
1458 throws java.io.IOException {
1459 getUnknownFields().writeTo(output);
1460 }
1461
1462 @java.lang.Override
1463 public int getSerializedSize() {
1464 int size = memoizedSize;
1465 if (size != -1) return size;
1466
1467 size = 0;
1468 size += getUnknownFields().getSerializedSize();
1469 memoizedSize = size;
1470 return size;
1471 }
1472
1473 @java.lang.Override
1474 public boolean equals(final java.lang.Object obj) {
1475 if (obj == this) {
1476 return true;
1477 }
1478 if (!(obj instanceof operations_research.RoutingIls.PerturbationStrategy)) {
1479 return super.equals(obj);
1480 }
1482
1483 if (!getUnknownFields().equals(other.getUnknownFields())) return false;
1484 return true;
1485 }
1486
1487 @java.lang.Override
1488 public int hashCode() {
1489 if (memoizedHashCode != 0) {
1490 return memoizedHashCode;
1491 }
1492 int hash = 41;
1493 hash = (19 * hash) + getDescriptor().hashCode();
1494 hash = (29 * hash) + getUnknownFields().hashCode();
1495 memoizedHashCode = hash;
1496 return hash;
1497 }
1498
1500 java.nio.ByteBuffer data)
1501 throws com.google.protobuf.InvalidProtocolBufferException {
1502 return PARSER.parseFrom(data);
1503 }
1505 java.nio.ByteBuffer data,
1506 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1507 throws com.google.protobuf.InvalidProtocolBufferException {
1508 return PARSER.parseFrom(data, extensionRegistry);
1509 }
1511 com.google.protobuf.ByteString data)
1512 throws com.google.protobuf.InvalidProtocolBufferException {
1513 return PARSER.parseFrom(data);
1514 }
1516 com.google.protobuf.ByteString data,
1517 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1518 throws com.google.protobuf.InvalidProtocolBufferException {
1519 return PARSER.parseFrom(data, extensionRegistry);
1520 }
1522 throws com.google.protobuf.InvalidProtocolBufferException {
1523 return PARSER.parseFrom(data);
1524 }
1526 byte[] data,
1527 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1528 throws com.google.protobuf.InvalidProtocolBufferException {
1529 return PARSER.parseFrom(data, extensionRegistry);
1530 }
1532 throws java.io.IOException {
1533 return com.google.protobuf.GeneratedMessage
1534 .parseWithIOException(PARSER, input);
1535 }
1537 java.io.InputStream input,
1538 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1539 throws java.io.IOException {
1540 return com.google.protobuf.GeneratedMessage
1541 .parseWithIOException(PARSER, input, extensionRegistry);
1542 }
1543
1545 throws java.io.IOException {
1546 return com.google.protobuf.GeneratedMessage
1547 .parseDelimitedWithIOException(PARSER, input);
1548 }
1549
1551 java.io.InputStream input,
1552 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1553 throws java.io.IOException {
1554 return com.google.protobuf.GeneratedMessage
1555 .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
1556 }
1558 com.google.protobuf.CodedInputStream input)
1559 throws java.io.IOException {
1560 return com.google.protobuf.GeneratedMessage
1561 .parseWithIOException(PARSER, input);
1562 }
1564 com.google.protobuf.CodedInputStream input,
1565 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1566 throws java.io.IOException {
1567 return com.google.protobuf.GeneratedMessage
1568 .parseWithIOException(PARSER, input, extensionRegistry);
1569 }
1570
1571 @java.lang.Override
1572 public Builder newBuilderForType() { return newBuilder(); }
1573 public static Builder newBuilder() {
1574 return DEFAULT_INSTANCE.toBuilder();
1575 }
1577 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
1578 }
1579 @java.lang.Override
1581 return this == DEFAULT_INSTANCE
1582 ? new Builder() : new Builder().mergeFrom(this);
1583 }
1584
1585 @java.lang.Override
1587 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
1588 Builder builder = new Builder(parent);
1589 return builder;
1590 }
1598 public static final class Builder extends
1599 com.google.protobuf.GeneratedMessage.Builder<Builder> implements
1600 // @@protoc_insertion_point(builder_implements:operations_research.PerturbationStrategy)
1602 public static final com.google.protobuf.Descriptors.Descriptor
1604 return operations_research.RoutingIls.internal_static_operations_research_PerturbationStrategy_descriptor;
1605 }
1606
1607 @java.lang.Override
1608 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
1610 return operations_research.RoutingIls.internal_static_operations_research_PerturbationStrategy_fieldAccessorTable
1611 .ensureFieldAccessorsInitialized(
1613 }
1614
1615 // Construct using operations_research.RoutingIls.PerturbationStrategy.newBuilder()
1616 private Builder() {
1617
1618 }
1619
1620 private Builder(
1621 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
1622 super(parent);
1623
1624 }
1625 @java.lang.Override
1626 public Builder clear() {
1627 super.clear();
1628 return this;
1629 }
1630
1631 @java.lang.Override
1632 public com.google.protobuf.Descriptors.Descriptor
1634 return operations_research.RoutingIls.internal_static_operations_research_PerturbationStrategy_descriptor;
1635 }
1636
1637 @java.lang.Override
1641
1642 @java.lang.Override
1645 if (!result.isInitialized()) {
1646 throw newUninitializedMessageException(result);
1647 }
1648 return result;
1649 }
1650
1651 @java.lang.Override
1657
1658 @java.lang.Override
1659 public Builder mergeFrom(com.google.protobuf.Message other) {
1662 } else {
1663 super.mergeFrom(other);
1664 return this;
1665 }
1666 }
1667
1670 this.mergeUnknownFields(other.getUnknownFields());
1671 onChanged();
1672 return this;
1673 }
1674
1675 @java.lang.Override
1676 public final boolean isInitialized() {
1677 return true;
1678 }
1679
1680 @java.lang.Override
1682 com.google.protobuf.CodedInputStream input,
1683 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1684 throws java.io.IOException {
1685 if (extensionRegistry == null) {
1686 throw new java.lang.NullPointerException();
1687 }
1688 try {
1689 boolean done = false;
1690 while (!done) {
1691 int tag = input.readTag();
1692 switch (tag) {
1693 case 0:
1694 done = true;
1695 break;
1696 default: {
1697 if (!super.parseUnknownField(input, extensionRegistry, tag)) {
1698 done = true; // was an endgroup tag
1699 }
1700 break;
1701 } // default:
1702 } // switch (tag)
1703 } // while (!done)
1704 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
1705 throw e.unwrapIOException();
1706 } finally {
1707 onChanged();
1708 } // finally
1709 return this;
1710 }
1711
1712 // @@protoc_insertion_point(builder_scope:operations_research.PerturbationStrategy)
1713 }
1714
1715 // @@protoc_insertion_point(class_scope:operations_research.PerturbationStrategy)
1716 private static final operations_research.RoutingIls.PerturbationStrategy DEFAULT_INSTANCE;
1717 static {
1718 DEFAULT_INSTANCE = new operations_research.RoutingIls.PerturbationStrategy();
1719 }
1720
1722 return DEFAULT_INSTANCE;
1723 }
1724
1725 private static final com.google.protobuf.Parser<PerturbationStrategy>
1726 PARSER = new com.google.protobuf.AbstractParser<PerturbationStrategy>() {
1727 @java.lang.Override
1728 public PerturbationStrategy parsePartialFrom(
1729 com.google.protobuf.CodedInputStream input,
1730 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1731 throws com.google.protobuf.InvalidProtocolBufferException {
1732 Builder builder = newBuilder();
1733 try {
1734 builder.mergeFrom(input, extensionRegistry);
1735 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
1736 throw e.setUnfinishedMessage(builder.buildPartial());
1737 } catch (com.google.protobuf.UninitializedMessageException e) {
1738 throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
1739 } catch (java.io.IOException e) {
1740 throw new com.google.protobuf.InvalidProtocolBufferException(e)
1741 .setUnfinishedMessage(builder.buildPartial());
1742 }
1743 return builder.buildPartial();
1744 }
1745 };
1746
1747 public static com.google.protobuf.Parser<PerturbationStrategy> parser() {
1748 return PARSER;
1749 }
1750
1751 @java.lang.Override
1752 public com.google.protobuf.Parser<PerturbationStrategy> getParserForType() {
1753 return PARSER;
1754 }
1755
1756 @java.lang.Override
1758 return DEFAULT_INSTANCE;
1759 }
1760
1761 }
1762
1763 public interface AcceptanceStrategyOrBuilder extends
1764 // @@protoc_insertion_point(interface_extends:operations_research.AcceptanceStrategy)
1765 com.google.protobuf.MessageOrBuilder {
1766 }
1776 public static final class AcceptanceStrategy extends
1777 com.google.protobuf.GeneratedMessage implements
1778 // @@protoc_insertion_point(message_implements:operations_research.AcceptanceStrategy)
1780 private static final long serialVersionUID = 0L;
1781 static {
1782 com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
1783 com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
1784 /* major= */ 4,
1785 /* minor= */ 26,
1786 /* patch= */ 1,
1787 /* suffix= */ "",
1788 AcceptanceStrategy.class.getName());
1789 }
1790 // Use AcceptanceStrategy.newBuilder() to construct.
1791 private AcceptanceStrategy(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
1792 super(builder);
1793 }
1794 private AcceptanceStrategy() {
1795 }
1796
1797 public static final com.google.protobuf.Descriptors.Descriptor
1799 return operations_research.RoutingIls.internal_static_operations_research_AcceptanceStrategy_descriptor;
1800 }
1801
1802 @java.lang.Override
1803 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
1805 return operations_research.RoutingIls.internal_static_operations_research_AcceptanceStrategy_fieldAccessorTable
1806 .ensureFieldAccessorsInitialized(
1808 }
1809
1813 public enum Value
1814 implements com.google.protobuf.ProtocolMessageEnum {
1833 ;
1834
1835 static {
1836 com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
1837 com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
1838 /* major= */ 4,
1839 /* minor= */ 26,
1840 /* patch= */ 1,
1841 /* suffix= */ "",
1842 Value.class.getName());
1843 }
1851 public static final int UNSET_VALUE = 0;
1860 public static final int GREEDY_DESCENT_VALUE = 1;
1861
1862
1863 public final int getNumber() {
1864 if (this == UNRECOGNIZED) {
1865 throw new java.lang.IllegalArgumentException(
1866 "Can't get the number of an unknown enum value.");
1867 }
1868 return value;
1869 }
1870
1876 @java.lang.Deprecated
1877 public static Value valueOf(int value) {
1878 return forNumber(value);
1879 }
1880
1885 public static Value forNumber(int value) {
1886 switch (value) {
1887 case 0: return UNSET;
1888 case 1: return GREEDY_DESCENT;
1889 default: return null;
1890 }
1891 }
1892
1893 public static com.google.protobuf.Internal.EnumLiteMap<Value>
1895 return internalValueMap;
1896 }
1897 private static final com.google.protobuf.Internal.EnumLiteMap<
1898 Value> internalValueMap =
1899 new com.google.protobuf.Internal.EnumLiteMap<Value>() {
1900 public Value findValueByNumber(int number) {
1901 return Value.forNumber(number);
1902 }
1903 };
1904
1905 public final com.google.protobuf.Descriptors.EnumValueDescriptor
1907 if (this == UNRECOGNIZED) {
1908 throw new java.lang.IllegalStateException(
1909 "Can't get the descriptor of an unrecognized enum value.");
1910 }
1911 return getDescriptor().getValues().get(ordinal());
1912 }
1913 public final com.google.protobuf.Descriptors.EnumDescriptor
1915 return getDescriptor();
1916 }
1917 public static final com.google.protobuf.Descriptors.EnumDescriptor
1919 return operations_research.RoutingIls.AcceptanceStrategy.getDescriptor().getEnumTypes().get(0);
1920 }
1921
1922 private static final Value[] VALUES = values();
1923
1924 public static Value valueOf(
1925 com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
1926 if (desc.getType() != getDescriptor()) {
1927 throw new java.lang.IllegalArgumentException(
1928 "EnumValueDescriptor is not for this type.");
1929 }
1930 if (desc.getIndex() == -1) {
1931 return UNRECOGNIZED;
1932 }
1933 return VALUES[desc.getIndex()];
1934 }
1935
1936 private final int value;
1937
1938 private Value(int value) {
1939 this.value = value;
1940 }
1941
1942 // @@protoc_insertion_point(enum_scope:operations_research.AcceptanceStrategy.Value)
1943 }
1944
1945 private byte memoizedIsInitialized = -1;
1946 @java.lang.Override
1947 public final boolean isInitialized() {
1948 byte isInitialized = memoizedIsInitialized;
1949 if (isInitialized == 1) return true;
1950 if (isInitialized == 0) return false;
1951
1952 memoizedIsInitialized = 1;
1953 return true;
1954 }
1955
1956 @java.lang.Override
1957 public void writeTo(com.google.protobuf.CodedOutputStream output)
1958 throws java.io.IOException {
1959 getUnknownFields().writeTo(output);
1960 }
1961
1962 @java.lang.Override
1963 public int getSerializedSize() {
1964 int size = memoizedSize;
1965 if (size != -1) return size;
1966
1967 size = 0;
1968 size += getUnknownFields().getSerializedSize();
1969 memoizedSize = size;
1970 return size;
1971 }
1972
1973 @java.lang.Override
1974 public boolean equals(final java.lang.Object obj) {
1975 if (obj == this) {
1976 return true;
1977 }
1978 if (!(obj instanceof operations_research.RoutingIls.AcceptanceStrategy)) {
1979 return super.equals(obj);
1980 }
1982
1983 if (!getUnknownFields().equals(other.getUnknownFields())) return false;
1984 return true;
1985 }
1986
1987 @java.lang.Override
1988 public int hashCode() {
1989 if (memoizedHashCode != 0) {
1990 return memoizedHashCode;
1991 }
1992 int hash = 41;
1993 hash = (19 * hash) + getDescriptor().hashCode();
1994 hash = (29 * hash) + getUnknownFields().hashCode();
1995 memoizedHashCode = hash;
1996 return hash;
1997 }
1998
2000 java.nio.ByteBuffer data)
2001 throws com.google.protobuf.InvalidProtocolBufferException {
2002 return PARSER.parseFrom(data);
2003 }
2005 java.nio.ByteBuffer data,
2006 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2007 throws com.google.protobuf.InvalidProtocolBufferException {
2008 return PARSER.parseFrom(data, extensionRegistry);
2009 }
2011 com.google.protobuf.ByteString data)
2012 throws com.google.protobuf.InvalidProtocolBufferException {
2013 return PARSER.parseFrom(data);
2014 }
2016 com.google.protobuf.ByteString data,
2017 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2018 throws com.google.protobuf.InvalidProtocolBufferException {
2019 return PARSER.parseFrom(data, extensionRegistry);
2020 }
2022 throws com.google.protobuf.InvalidProtocolBufferException {
2023 return PARSER.parseFrom(data);
2024 }
2026 byte[] data,
2027 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2028 throws com.google.protobuf.InvalidProtocolBufferException {
2029 return PARSER.parseFrom(data, extensionRegistry);
2030 }
2031 public static operations_research.RoutingIls.AcceptanceStrategy parseFrom(java.io.InputStream input)
2032 throws java.io.IOException {
2033 return com.google.protobuf.GeneratedMessage
2034 .parseWithIOException(PARSER, input);
2035 }
2037 java.io.InputStream input,
2038 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2039 throws java.io.IOException {
2040 return com.google.protobuf.GeneratedMessage
2041 .parseWithIOException(PARSER, input, extensionRegistry);
2042 }
2043
2045 throws java.io.IOException {
2046 return com.google.protobuf.GeneratedMessage
2047 .parseDelimitedWithIOException(PARSER, input);
2048 }
2049
2051 java.io.InputStream input,
2052 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2053 throws java.io.IOException {
2054 return com.google.protobuf.GeneratedMessage
2055 .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
2056 }
2058 com.google.protobuf.CodedInputStream input)
2059 throws java.io.IOException {
2060 return com.google.protobuf.GeneratedMessage
2061 .parseWithIOException(PARSER, input);
2062 }
2064 com.google.protobuf.CodedInputStream input,
2065 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2066 throws java.io.IOException {
2067 return com.google.protobuf.GeneratedMessage
2068 .parseWithIOException(PARSER, input, extensionRegistry);
2069 }
2070
2071 @java.lang.Override
2072 public Builder newBuilderForType() { return newBuilder(); }
2073 public static Builder newBuilder() {
2074 return DEFAULT_INSTANCE.toBuilder();
2075 }
2077 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
2078 }
2079 @java.lang.Override
2081 return this == DEFAULT_INSTANCE
2082 ? new Builder() : new Builder().mergeFrom(this);
2083 }
2084
2085 @java.lang.Override
2087 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
2088 Builder builder = new Builder(parent);
2089 return builder;
2090 }
2100 public static final class Builder extends
2101 com.google.protobuf.GeneratedMessage.Builder<Builder> implements
2102 // @@protoc_insertion_point(builder_implements:operations_research.AcceptanceStrategy)
2104 public static final com.google.protobuf.Descriptors.Descriptor
2106 return operations_research.RoutingIls.internal_static_operations_research_AcceptanceStrategy_descriptor;
2107 }
2108
2109 @java.lang.Override
2110 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
2112 return operations_research.RoutingIls.internal_static_operations_research_AcceptanceStrategy_fieldAccessorTable
2113 .ensureFieldAccessorsInitialized(
2115 }
2116
2117 // Construct using operations_research.RoutingIls.AcceptanceStrategy.newBuilder()
2118 private Builder() {
2119
2120 }
2121
2122 private Builder(
2123 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
2124 super(parent);
2125
2126 }
2127 @java.lang.Override
2128 public Builder clear() {
2129 super.clear();
2130 return this;
2131 }
2132
2133 @java.lang.Override
2134 public com.google.protobuf.Descriptors.Descriptor
2136 return operations_research.RoutingIls.internal_static_operations_research_AcceptanceStrategy_descriptor;
2137 }
2138
2139 @java.lang.Override
2143
2144 @java.lang.Override
2147 if (!result.isInitialized()) {
2148 throw newUninitializedMessageException(result);
2149 }
2150 return result;
2151 }
2152
2153 @java.lang.Override
2159
2160 @java.lang.Override
2161 public Builder mergeFrom(com.google.protobuf.Message other) {
2162 if (other instanceof operations_research.RoutingIls.AcceptanceStrategy) {
2164 } else {
2165 super.mergeFrom(other);
2166 return this;
2167 }
2168 }
2169
2172 this.mergeUnknownFields(other.getUnknownFields());
2173 onChanged();
2174 return this;
2175 }
2176
2177 @java.lang.Override
2178 public final boolean isInitialized() {
2179 return true;
2180 }
2181
2182 @java.lang.Override
2184 com.google.protobuf.CodedInputStream input,
2185 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2186 throws java.io.IOException {
2187 if (extensionRegistry == null) {
2188 throw new java.lang.NullPointerException();
2189 }
2190 try {
2191 boolean done = false;
2192 while (!done) {
2193 int tag = input.readTag();
2194 switch (tag) {
2195 case 0:
2196 done = true;
2197 break;
2198 default: {
2199 if (!super.parseUnknownField(input, extensionRegistry, tag)) {
2200 done = true; // was an endgroup tag
2201 }
2202 break;
2203 } // default:
2204 } // switch (tag)
2205 } // while (!done)
2206 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
2207 throw e.unwrapIOException();
2208 } finally {
2209 onChanged();
2210 } // finally
2211 return this;
2212 }
2213
2214 // @@protoc_insertion_point(builder_scope:operations_research.AcceptanceStrategy)
2215 }
2216
2217 // @@protoc_insertion_point(class_scope:operations_research.AcceptanceStrategy)
2218 private static final operations_research.RoutingIls.AcceptanceStrategy DEFAULT_INSTANCE;
2219 static {
2220 DEFAULT_INSTANCE = new operations_research.RoutingIls.AcceptanceStrategy();
2221 }
2222
2224 return DEFAULT_INSTANCE;
2225 }
2226
2227 private static final com.google.protobuf.Parser<AcceptanceStrategy>
2228 PARSER = new com.google.protobuf.AbstractParser<AcceptanceStrategy>() {
2229 @java.lang.Override
2230 public AcceptanceStrategy parsePartialFrom(
2231 com.google.protobuf.CodedInputStream input,
2232 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2233 throws com.google.protobuf.InvalidProtocolBufferException {
2234 Builder builder = newBuilder();
2235 try {
2236 builder.mergeFrom(input, extensionRegistry);
2237 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
2238 throw e.setUnfinishedMessage(builder.buildPartial());
2239 } catch (com.google.protobuf.UninitializedMessageException e) {
2240 throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
2241 } catch (java.io.IOException e) {
2242 throw new com.google.protobuf.InvalidProtocolBufferException(e)
2243 .setUnfinishedMessage(builder.buildPartial());
2244 }
2245 return builder.buildPartial();
2246 }
2247 };
2248
2249 public static com.google.protobuf.Parser<AcceptanceStrategy> parser() {
2250 return PARSER;
2251 }
2252
2253 @java.lang.Override
2254 public com.google.protobuf.Parser<AcceptanceStrategy> getParserForType() {
2255 return PARSER;
2256 }
2257
2258 @java.lang.Override
2260 return DEFAULT_INSTANCE;
2261 }
2262
2263 }
2264
2356 public static final class IteratedLocalSearchParameters extends
2357 com.google.protobuf.GeneratedMessage implements
2358 // @@protoc_insertion_point(message_implements:operations_research.IteratedLocalSearchParameters)
2360 private static final long serialVersionUID = 0L;
2361 static {
2362 com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
2363 com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
2364 /* major= */ 4,
2365 /* minor= */ 26,
2366 /* patch= */ 1,
2367 /* suffix= */ "",
2368 IteratedLocalSearchParameters.class.getName());
2369 }
2370 // Use IteratedLocalSearchParameters.newBuilder() to construct.
2371 private IteratedLocalSearchParameters(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
2372 super(builder);
2373 }
2375 perturbationStrategy_ = 0;
2376 acceptanceStrategy_ = 0;
2377 }
2378
2379 public static final com.google.protobuf.Descriptors.Descriptor
2381 return operations_research.RoutingIls.internal_static_operations_research_IteratedLocalSearchParameters_descriptor;
2382 }
2383
2384 @java.lang.Override
2385 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
2387 return operations_research.RoutingIls.internal_static_operations_research_IteratedLocalSearchParameters_fieldAccessorTable
2388 .ensureFieldAccessorsInitialized(
2390 }
2391
2392 private int bitField0_;
2393 public static final int PERTURBATION_STRATEGY_FIELD_NUMBER = 1;
2394 private int perturbationStrategy_ = 0;
2404 @java.lang.Override public int getPerturbationStrategyValue() {
2405 return perturbationStrategy_;
2406 }
2418 return result == null ? operations_research.RoutingIls.PerturbationStrategy.Value.UNRECOGNIZED : result;
2419 }
2420
2421 public static final int RUIN_RECREATE_PARAMETERS_FIELD_NUMBER = 2;
2422 private operations_research.RoutingIls.RuinRecreateParameters ruinRecreateParameters_;
2431 @java.lang.Override
2432 public boolean hasRuinRecreateParameters() {
2433 return ((bitField0_ & 0x00000001) != 0);
2434 }
2443 @java.lang.Override
2454 @java.lang.Override
2458
2459 public static final int IMPROVE_PERTURBED_SOLUTION_FIELD_NUMBER = 3;
2460 private boolean improvePerturbedSolution_ = false;
2470 @java.lang.Override
2472 return improvePerturbedSolution_;
2473 }
2474
2475 public static final int ACCEPTANCE_STRATEGY_FIELD_NUMBER = 4;
2476 private int acceptanceStrategy_ = 0;
2486 @java.lang.Override public int getAcceptanceStrategyValue() {
2487 return acceptanceStrategy_;
2488 }
2500 return result == null ? operations_research.RoutingIls.AcceptanceStrategy.Value.UNRECOGNIZED : result;
2501 }
2502
2503 private byte memoizedIsInitialized = -1;
2504 @java.lang.Override
2505 public final boolean isInitialized() {
2506 byte isInitialized = memoizedIsInitialized;
2507 if (isInitialized == 1) return true;
2508 if (isInitialized == 0) return false;
2509
2510 memoizedIsInitialized = 1;
2511 return true;
2512 }
2513
2514 @java.lang.Override
2515 public void writeTo(com.google.protobuf.CodedOutputStream output)
2516 throws java.io.IOException {
2517 if (perturbationStrategy_ != operations_research.RoutingIls.PerturbationStrategy.Value.UNSET.getNumber()) {
2518 output.writeEnum(1, perturbationStrategy_);
2519 }
2520 if (((bitField0_ & 0x00000001) != 0)) {
2521 output.writeMessage(2, getRuinRecreateParameters());
2522 }
2523 if (improvePerturbedSolution_ != false) {
2524 output.writeBool(3, improvePerturbedSolution_);
2525 }
2526 if (acceptanceStrategy_ != operations_research.RoutingIls.AcceptanceStrategy.Value.UNSET.getNumber()) {
2527 output.writeEnum(4, acceptanceStrategy_);
2528 }
2529 getUnknownFields().writeTo(output);
2530 }
2531
2532 @java.lang.Override
2533 public int getSerializedSize() {
2534 int size = memoizedSize;
2535 if (size != -1) return size;
2536
2537 size = 0;
2538 if (perturbationStrategy_ != operations_research.RoutingIls.PerturbationStrategy.Value.UNSET.getNumber()) {
2539 size += com.google.protobuf.CodedOutputStream
2540 .computeEnumSize(1, perturbationStrategy_);
2541 }
2542 if (((bitField0_ & 0x00000001) != 0)) {
2543 size += com.google.protobuf.CodedOutputStream
2544 .computeMessageSize(2, getRuinRecreateParameters());
2545 }
2546 if (improvePerturbedSolution_ != false) {
2547 size += com.google.protobuf.CodedOutputStream
2548 .computeBoolSize(3, improvePerturbedSolution_);
2549 }
2550 if (acceptanceStrategy_ != operations_research.RoutingIls.AcceptanceStrategy.Value.UNSET.getNumber()) {
2551 size += com.google.protobuf.CodedOutputStream
2552 .computeEnumSize(4, acceptanceStrategy_);
2553 }
2554 size += getUnknownFields().getSerializedSize();
2555 memoizedSize = size;
2556 return size;
2557 }
2558
2559 @java.lang.Override
2560 public boolean equals(final java.lang.Object obj) {
2561 if (obj == this) {
2562 return true;
2563 }
2565 return super.equals(obj);
2566 }
2568
2569 if (perturbationStrategy_ != other.perturbationStrategy_) return false;
2570 if (hasRuinRecreateParameters() != other.hasRuinRecreateParameters()) return false;
2573 .equals(other.getRuinRecreateParameters())) return false;
2574 }
2576 != other.getImprovePerturbedSolution()) return false;
2577 if (acceptanceStrategy_ != other.acceptanceStrategy_) return false;
2578 if (!getUnknownFields().equals(other.getUnknownFields())) return false;
2579 return true;
2580 }
2581
2582 @java.lang.Override
2583 public int hashCode() {
2584 if (memoizedHashCode != 0) {
2585 return memoizedHashCode;
2586 }
2587 int hash = 41;
2588 hash = (19 * hash) + getDescriptor().hashCode();
2589 hash = (37 * hash) + PERTURBATION_STRATEGY_FIELD_NUMBER;
2590 hash = (53 * hash) + perturbationStrategy_;
2592 hash = (37 * hash) + RUIN_RECREATE_PARAMETERS_FIELD_NUMBER;
2593 hash = (53 * hash) + getRuinRecreateParameters().hashCode();
2594 }
2595 hash = (37 * hash) + IMPROVE_PERTURBED_SOLUTION_FIELD_NUMBER;
2596 hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
2598 hash = (37 * hash) + ACCEPTANCE_STRATEGY_FIELD_NUMBER;
2599 hash = (53 * hash) + acceptanceStrategy_;
2600 hash = (29 * hash) + getUnknownFields().hashCode();
2601 memoizedHashCode = hash;
2602 return hash;
2603 }
2604
2606 java.nio.ByteBuffer data)
2607 throws com.google.protobuf.InvalidProtocolBufferException {
2608 return PARSER.parseFrom(data);
2609 }
2611 java.nio.ByteBuffer data,
2612 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2613 throws com.google.protobuf.InvalidProtocolBufferException {
2614 return PARSER.parseFrom(data, extensionRegistry);
2615 }
2617 com.google.protobuf.ByteString data)
2618 throws com.google.protobuf.InvalidProtocolBufferException {
2619 return PARSER.parseFrom(data);
2620 }
2622 com.google.protobuf.ByteString data,
2623 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2624 throws com.google.protobuf.InvalidProtocolBufferException {
2625 return PARSER.parseFrom(data, extensionRegistry);
2626 }
2628 throws com.google.protobuf.InvalidProtocolBufferException {
2629 return PARSER.parseFrom(data);
2630 }
2632 byte[] data,
2633 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2634 throws com.google.protobuf.InvalidProtocolBufferException {
2635 return PARSER.parseFrom(data, extensionRegistry);
2636 }
2638 throws java.io.IOException {
2639 return com.google.protobuf.GeneratedMessage
2640 .parseWithIOException(PARSER, input);
2641 }
2643 java.io.InputStream input,
2644 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2645 throws java.io.IOException {
2646 return com.google.protobuf.GeneratedMessage
2647 .parseWithIOException(PARSER, input, extensionRegistry);
2648 }
2649
2651 throws java.io.IOException {
2652 return com.google.protobuf.GeneratedMessage
2653 .parseDelimitedWithIOException(PARSER, input);
2654 }
2655
2657 java.io.InputStream input,
2658 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2659 throws java.io.IOException {
2660 return com.google.protobuf.GeneratedMessage
2661 .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
2662 }
2664 com.google.protobuf.CodedInputStream input)
2665 throws java.io.IOException {
2666 return com.google.protobuf.GeneratedMessage
2667 .parseWithIOException(PARSER, input);
2668 }
2670 com.google.protobuf.CodedInputStream input,
2671 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2672 throws java.io.IOException {
2673 return com.google.protobuf.GeneratedMessage
2674 .parseWithIOException(PARSER, input, extensionRegistry);
2675 }
2676
2677 @java.lang.Override
2678 public Builder newBuilderForType() { return newBuilder(); }
2679 public static Builder newBuilder() {
2680 return DEFAULT_INSTANCE.toBuilder();
2681 }
2683 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
2684 }
2685 @java.lang.Override
2687 return this == DEFAULT_INSTANCE
2688 ? new Builder() : new Builder().mergeFrom(this);
2689 }
2690
2691 @java.lang.Override
2693 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
2694 Builder builder = new Builder(parent);
2695 return builder;
2696 }
2704 public static final class Builder extends
2705 com.google.protobuf.GeneratedMessage.Builder<Builder> implements
2706 // @@protoc_insertion_point(builder_implements:operations_research.IteratedLocalSearchParameters)
2708 public static final com.google.protobuf.Descriptors.Descriptor
2710 return operations_research.RoutingIls.internal_static_operations_research_IteratedLocalSearchParameters_descriptor;
2711 }
2712
2713 @java.lang.Override
2714 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
2716 return operations_research.RoutingIls.internal_static_operations_research_IteratedLocalSearchParameters_fieldAccessorTable
2717 .ensureFieldAccessorsInitialized(
2719 }
2720
2721 // Construct using operations_research.RoutingIls.IteratedLocalSearchParameters.newBuilder()
2722 private Builder() {
2723 maybeForceBuilderInitialization();
2724 }
2725
2726 private Builder(
2727 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
2728 super(parent);
2729 maybeForceBuilderInitialization();
2730 }
2731 private void maybeForceBuilderInitialization() {
2732 if (com.google.protobuf.GeneratedMessage
2733 .alwaysUseFieldBuilders) {
2734 getRuinRecreateParametersFieldBuilder();
2735 }
2736 }
2737 @java.lang.Override
2738 public Builder clear() {
2739 super.clear();
2740 bitField0_ = 0;
2741 perturbationStrategy_ = 0;
2742 ruinRecreateParameters_ = null;
2743 if (ruinRecreateParametersBuilder_ != null) {
2744 ruinRecreateParametersBuilder_.dispose();
2745 ruinRecreateParametersBuilder_ = null;
2746 }
2747 improvePerturbedSolution_ = false;
2748 acceptanceStrategy_ = 0;
2749 return this;
2750 }
2751
2752 @java.lang.Override
2753 public com.google.protobuf.Descriptors.Descriptor
2755 return operations_research.RoutingIls.internal_static_operations_research_IteratedLocalSearchParameters_descriptor;
2756 }
2757
2758 @java.lang.Override
2762
2763 @java.lang.Override
2766 if (!result.isInitialized()) {
2767 throw newUninitializedMessageException(result);
2768 }
2769 return result;
2770 }
2771
2772 @java.lang.Override
2775 if (bitField0_ != 0) { buildPartial0(result); }
2776 onBuilt();
2777 return result;
2778 }
2779
2780 private void buildPartial0(operations_research.RoutingIls.IteratedLocalSearchParameters result) {
2781 int from_bitField0_ = bitField0_;
2782 if (((from_bitField0_ & 0x00000001) != 0)) {
2783 result.perturbationStrategy_ = perturbationStrategy_;
2784 }
2785 int to_bitField0_ = 0;
2786 if (((from_bitField0_ & 0x00000002) != 0)) {
2787 result.ruinRecreateParameters_ = ruinRecreateParametersBuilder_ == null
2788 ? ruinRecreateParameters_
2789 : ruinRecreateParametersBuilder_.build();
2790 to_bitField0_ |= 0x00000001;
2791 }
2792 if (((from_bitField0_ & 0x00000004) != 0)) {
2793 result.improvePerturbedSolution_ = improvePerturbedSolution_;
2794 }
2795 if (((from_bitField0_ & 0x00000008) != 0)) {
2796 result.acceptanceStrategy_ = acceptanceStrategy_;
2797 }
2798 result.bitField0_ |= to_bitField0_;
2799 }
2800
2801 @java.lang.Override
2802 public Builder mergeFrom(com.google.protobuf.Message other) {
2805 } else {
2806 super.mergeFrom(other);
2807 return this;
2808 }
2809 }
2810
2813 if (other.perturbationStrategy_ != 0) {
2814 setPerturbationStrategyValue(other.getPerturbationStrategyValue());
2815 }
2816 if (other.hasRuinRecreateParameters()) {
2817 mergeRuinRecreateParameters(other.getRuinRecreateParameters());
2818 }
2819 if (other.getImprovePerturbedSolution() != false) {
2820 setImprovePerturbedSolution(other.getImprovePerturbedSolution());
2821 }
2822 if (other.acceptanceStrategy_ != 0) {
2823 setAcceptanceStrategyValue(other.getAcceptanceStrategyValue());
2824 }
2825 this.mergeUnknownFields(other.getUnknownFields());
2826 onChanged();
2827 return this;
2828 }
2829
2830 @java.lang.Override
2831 public final boolean isInitialized() {
2832 return true;
2833 }
2834
2835 @java.lang.Override
2837 com.google.protobuf.CodedInputStream input,
2838 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2839 throws java.io.IOException {
2840 if (extensionRegistry == null) {
2841 throw new java.lang.NullPointerException();
2842 }
2843 try {
2844 boolean done = false;
2845 while (!done) {
2846 int tag = input.readTag();
2847 switch (tag) {
2848 case 0:
2849 done = true;
2850 break;
2851 case 8: {
2852 perturbationStrategy_ = input.readEnum();
2853 bitField0_ |= 0x00000001;
2854 break;
2855 } // case 8
2856 case 18: {
2857 input.readMessage(
2858 getRuinRecreateParametersFieldBuilder().getBuilder(),
2859 extensionRegistry);
2860 bitField0_ |= 0x00000002;
2861 break;
2862 } // case 18
2863 case 24: {
2864 improvePerturbedSolution_ = input.readBool();
2865 bitField0_ |= 0x00000004;
2866 break;
2867 } // case 24
2868 case 32: {
2869 acceptanceStrategy_ = input.readEnum();
2870 bitField0_ |= 0x00000008;
2871 break;
2872 } // case 32
2873 default: {
2874 if (!super.parseUnknownField(input, extensionRegistry, tag)) {
2875 done = true; // was an endgroup tag
2876 }
2877 break;
2878 } // default:
2879 } // switch (tag)
2880 } // while (!done)
2881 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
2882 throw e.unwrapIOException();
2883 } finally {
2884 onChanged();
2885 } // finally
2886 return this;
2887 }
2888 private int bitField0_;
2889
2890 private int perturbationStrategy_ = 0;
2900 @java.lang.Override public int getPerturbationStrategyValue() {
2901 return perturbationStrategy_;
2902 }
2914 perturbationStrategy_ = value;
2915 bitField0_ |= 0x00000001;
2916 onChanged();
2917 return this;
2918 }
2928 @java.lang.Override
2931 return result == null ? operations_research.RoutingIls.PerturbationStrategy.Value.UNRECOGNIZED : result;
2932 }
2944 if (value == null) {
2945 throw new NullPointerException();
2946 }
2947 bitField0_ |= 0x00000001;
2948 perturbationStrategy_ = value.getNumber();
2949 onChanged();
2950 return this;
2951 }
2962 bitField0_ = (bitField0_ & ~0x00000001);
2963 perturbationStrategy_ = 0;
2964 onChanged();
2965 return this;
2966 }
2967
2968 private operations_research.RoutingIls.RuinRecreateParameters ruinRecreateParameters_;
2969 private com.google.protobuf.SingleFieldBuilder<
2979 public boolean hasRuinRecreateParameters() {
2980 return ((bitField0_ & 0x00000002) != 0);
2981 }
2991 if (ruinRecreateParametersBuilder_ == null) {
2992 return ruinRecreateParameters_ == null ? operations_research.RoutingIls.RuinRecreateParameters.getDefaultInstance() : ruinRecreateParameters_;
2993 } else {
2994 return ruinRecreateParametersBuilder_.getMessage();
2995 }
2996 }
3005 if (ruinRecreateParametersBuilder_ == null) {
3006 if (value == null) {
3007 throw new NullPointerException();
3008 }
3009 ruinRecreateParameters_ = value;
3010 } else {
3011 ruinRecreateParametersBuilder_.setMessage(value);
3012 }
3013 bitField0_ |= 0x00000002;
3014 onChanged();
3015 return this;
3016 }
3026 if (ruinRecreateParametersBuilder_ == null) {
3027 ruinRecreateParameters_ = builderForValue.build();
3028 } else {
3029 ruinRecreateParametersBuilder_.setMessage(builderForValue.build());
3030 }
3031 bitField0_ |= 0x00000002;
3032 onChanged();
3033 return this;
3034 }
3043 if (ruinRecreateParametersBuilder_ == null) {
3044 if (((bitField0_ & 0x00000002) != 0) &&
3045 ruinRecreateParameters_ != null &&
3047 getRuinRecreateParametersBuilder().mergeFrom(value);
3048 } else {
3049 ruinRecreateParameters_ = value;
3050 }
3051 } else {
3052 ruinRecreateParametersBuilder_.mergeFrom(value);
3053 }
3054 if (ruinRecreateParameters_ != null) {
3055 bitField0_ |= 0x00000002;
3056 onChanged();
3057 }
3058 return this;
3059 }
3068 bitField0_ = (bitField0_ & ~0x00000002);
3069 ruinRecreateParameters_ = null;
3070 if (ruinRecreateParametersBuilder_ != null) {
3071 ruinRecreateParametersBuilder_.dispose();
3072 ruinRecreateParametersBuilder_ = null;
3073 }
3074 onChanged();
3075 return this;
3076 }
3085 bitField0_ |= 0x00000002;
3086 onChanged();
3087 return getRuinRecreateParametersFieldBuilder().getBuilder();
3088 }
3097 if (ruinRecreateParametersBuilder_ != null) {
3098 return ruinRecreateParametersBuilder_.getMessageOrBuilder();
3099 } else {
3100 return ruinRecreateParameters_ == null ?
3102 }
3103 }
3111 private com.google.protobuf.SingleFieldBuilder<
3113 getRuinRecreateParametersFieldBuilder() {
3114 if (ruinRecreateParametersBuilder_ == null) {
3115 ruinRecreateParametersBuilder_ = new com.google.protobuf.SingleFieldBuilder<
3118 getParentForChildren(),
3119 isClean());
3120 ruinRecreateParameters_ = null;
3121 }
3122 return ruinRecreateParametersBuilder_;
3123 }
3124
3125 private boolean improvePerturbedSolution_ ;
3135 @java.lang.Override
3137 return improvePerturbedSolution_;
3138 }
3149 public Builder setImprovePerturbedSolution(boolean value) {
3150
3151 improvePerturbedSolution_ = value;
3152 bitField0_ |= 0x00000004;
3153 onChanged();
3154 return this;
3155 }
3166 bitField0_ = (bitField0_ & ~0x00000004);
3167 improvePerturbedSolution_ = false;
3168 onChanged();
3169 return this;
3170 }
3171
3172 private int acceptanceStrategy_ = 0;
3182 @java.lang.Override public int getAcceptanceStrategyValue() {
3183 return acceptanceStrategy_;
3184 }
3196 acceptanceStrategy_ = value;
3197 bitField0_ |= 0x00000008;
3198 onChanged();
3199 return this;
3200 }
3210 @java.lang.Override
3213 return result == null ? operations_research.RoutingIls.AcceptanceStrategy.Value.UNRECOGNIZED : result;
3214 }
3226 if (value == null) {
3227 throw new NullPointerException();
3228 }
3229 bitField0_ |= 0x00000008;
3230 acceptanceStrategy_ = value.getNumber();
3231 onChanged();
3232 return this;
3233 }
3244 bitField0_ = (bitField0_ & ~0x00000008);
3245 acceptanceStrategy_ = 0;
3246 onChanged();
3247 return this;
3248 }
3249
3250 // @@protoc_insertion_point(builder_scope:operations_research.IteratedLocalSearchParameters)
3251 }
3252
3253 // @@protoc_insertion_point(class_scope:operations_research.IteratedLocalSearchParameters)
3254 private static final operations_research.RoutingIls.IteratedLocalSearchParameters DEFAULT_INSTANCE;
3255 static {
3257 }
3258
3260 return DEFAULT_INSTANCE;
3261 }
3262
3263 private static final com.google.protobuf.Parser<IteratedLocalSearchParameters>
3264 PARSER = new com.google.protobuf.AbstractParser<IteratedLocalSearchParameters>() {
3265 @java.lang.Override
3266 public IteratedLocalSearchParameters parsePartialFrom(
3267 com.google.protobuf.CodedInputStream input,
3268 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
3269 throws com.google.protobuf.InvalidProtocolBufferException {
3270 Builder builder = newBuilder();
3271 try {
3272 builder.mergeFrom(input, extensionRegistry);
3273 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
3274 throw e.setUnfinishedMessage(builder.buildPartial());
3275 } catch (com.google.protobuf.UninitializedMessageException e) {
3276 throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
3277 } catch (java.io.IOException e) {
3278 throw new com.google.protobuf.InvalidProtocolBufferException(e)
3279 .setUnfinishedMessage(builder.buildPartial());
3280 }
3281 return builder.buildPartial();
3282 }
3283 };
3284
3285 public static com.google.protobuf.Parser<IteratedLocalSearchParameters> parser() {
3286 return PARSER;
3287 }
3288
3289 @java.lang.Override
3290 public com.google.protobuf.Parser<IteratedLocalSearchParameters> getParserForType() {
3291 return PARSER;
3292 }
3293
3294 @java.lang.Override
3298
3299 }
3300
3301 private static final com.google.protobuf.Descriptors.Descriptor
3302 internal_static_operations_research_RuinStrategy_descriptor;
3303 private static final
3304 com.google.protobuf.GeneratedMessage.FieldAccessorTable
3305 internal_static_operations_research_RuinStrategy_fieldAccessorTable;
3306 private static final com.google.protobuf.Descriptors.Descriptor
3307 internal_static_operations_research_RuinRecreateParameters_descriptor;
3308 private static final
3309 com.google.protobuf.GeneratedMessage.FieldAccessorTable
3310 internal_static_operations_research_RuinRecreateParameters_fieldAccessorTable;
3311 private static final com.google.protobuf.Descriptors.Descriptor
3312 internal_static_operations_research_PerturbationStrategy_descriptor;
3313 private static final
3314 com.google.protobuf.GeneratedMessage.FieldAccessorTable
3315 internal_static_operations_research_PerturbationStrategy_fieldAccessorTable;
3316 private static final com.google.protobuf.Descriptors.Descriptor
3317 internal_static_operations_research_AcceptanceStrategy_descriptor;
3318 private static final
3319 com.google.protobuf.GeneratedMessage.FieldAccessorTable
3320 internal_static_operations_research_AcceptanceStrategy_fieldAccessorTable;
3321 private static final com.google.protobuf.Descriptors.Descriptor
3322 internal_static_operations_research_IteratedLocalSearchParameters_descriptor;
3323 private static final
3324 com.google.protobuf.GeneratedMessage.FieldAccessorTable
3325 internal_static_operations_research_IteratedLocalSearchParameters_fieldAccessorTable;
3326
3327 public static com.google.protobuf.Descriptors.FileDescriptor
3329 return descriptor;
3330 }
3331 private static com.google.protobuf.Descriptors.FileDescriptor
3332 descriptor;
3333 static {
3334 java.lang.String[] descriptorData = {
3335 "\n+ortools/constraint_solver/routing_ils." +
3336 "proto\022\023operations_research\032-ortools/cons" +
3337 "traint_solver/routing_enums.proto\"F\n\014Rui" +
3338 "nStrategy\"6\n\005Value\022\t\n\005UNSET\020\000\022\"\n\036SPATIAL" +
3339 "LY_CLOSE_ROUTES_REMOVAL\020\001\"\300\001\n\026RuinRecrea" +
3340 "teParameters\022>\n\rruin_strategy\030\001 \001(\0162\'.op" +
3341 "erations_research.RuinStrategy.Value\022K\n\021" +
3342 "recreate_strategy\030\002 \001(\01620.operations_res" +
3343 "earch.FirstSolutionStrategy.Value\022\031\n\021num" +
3344 "_ruined_routes\030\003 \001(\r\"A\n\024PerturbationStra" +
3345 "tegy\")\n\005Value\022\t\n\005UNSET\020\000\022\025\n\021RUIN_AND_REC" +
3346 "REATE\020\001\"<\n\022AcceptanceStrategy\"&\n\005Value\022\t" +
3347 "\n\005UNSET\020\000\022\022\n\016GREEDY_DESCENT\020\001\"\256\002\n\035Iterat" +
3348 "edLocalSearchParameters\022N\n\025perturbation_" +
3349 "strategy\030\001 \001(\0162/.operations_research.Per" +
3350 "turbationStrategy.Value\022M\n\030ruin_recreate" +
3351 "_parameters\030\002 \001(\0132+.operations_research." +
3352 "RuinRecreateParameters\022\"\n\032improve_pertur" +
3353 "bed_solution\030\003 \001(\010\022J\n\023acceptance_strateg" +
3354 "y\030\004 \001(\0162-.operations_research.Acceptance" +
3355 "Strategy.Valueb\006proto3"
3356 };
3357 descriptor = com.google.protobuf.Descriptors.FileDescriptor
3358 .internalBuildGeneratedFileFrom(descriptorData,
3359 new com.google.protobuf.Descriptors.FileDescriptor[] {
3360 com.google.ortools.constraintsolver.RoutingEnums.getDescriptor(),
3361 });
3362 internal_static_operations_research_RuinStrategy_descriptor =
3363 getDescriptor().getMessageTypes().get(0);
3364 internal_static_operations_research_RuinStrategy_fieldAccessorTable = new
3365 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
3366 internal_static_operations_research_RuinStrategy_descriptor,
3367 new java.lang.String[] { });
3368 internal_static_operations_research_RuinRecreateParameters_descriptor =
3369 getDescriptor().getMessageTypes().get(1);
3370 internal_static_operations_research_RuinRecreateParameters_fieldAccessorTable = new
3371 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
3372 internal_static_operations_research_RuinRecreateParameters_descriptor,
3373 new java.lang.String[] { "RuinStrategy", "RecreateStrategy", "NumRuinedRoutes", });
3374 internal_static_operations_research_PerturbationStrategy_descriptor =
3375 getDescriptor().getMessageTypes().get(2);
3376 internal_static_operations_research_PerturbationStrategy_fieldAccessorTable = new
3377 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
3378 internal_static_operations_research_PerturbationStrategy_descriptor,
3379 new java.lang.String[] { });
3380 internal_static_operations_research_AcceptanceStrategy_descriptor =
3381 getDescriptor().getMessageTypes().get(3);
3382 internal_static_operations_research_AcceptanceStrategy_fieldAccessorTable = new
3383 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
3384 internal_static_operations_research_AcceptanceStrategy_descriptor,
3385 new java.lang.String[] { });
3386 internal_static_operations_research_IteratedLocalSearchParameters_descriptor =
3387 getDescriptor().getMessageTypes().get(4);
3388 internal_static_operations_research_IteratedLocalSearchParameters_fieldAccessorTable = new
3389 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
3390 internal_static_operations_research_IteratedLocalSearchParameters_descriptor,
3391 new java.lang.String[] { "PerturbationStrategy", "RuinRecreateParameters", "ImprovePerturbedSolution", "AcceptanceStrategy", });
3392 descriptor.resolveAllFeaturesImmutable();
3393 com.google.ortools.constraintsolver.RoutingEnums.getDescriptor();
3394 }
3395
3396 // @@protoc_insertion_point(outer_class_scope)
3397}
Builder mergeFrom(operations_research.RoutingIls.AcceptanceStrategy other)
operations_research.RoutingIls.AcceptanceStrategy getDefaultInstanceForType()
com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Builder mergeFrom(com.google.protobuf.Message other)
operations_research.RoutingIls.AcceptanceStrategy build()
com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
operations_research.RoutingIls.AcceptanceStrategy buildPartial()
Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Builder newBuilder(operations_research.RoutingIls.AcceptanceStrategy prototype)
static operations_research.RoutingIls.AcceptanceStrategy parseFrom(com.google.protobuf.CodedInputStream input)
operations_research.RoutingIls.AcceptanceStrategy getDefaultInstanceForType()
static operations_research.RoutingIls.AcceptanceStrategy parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static operations_research.RoutingIls.AcceptanceStrategy parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static operations_research.RoutingIls.AcceptanceStrategy parseDelimitedFrom(java.io.InputStream input)
static operations_research.RoutingIls.AcceptanceStrategy parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static operations_research.RoutingIls.AcceptanceStrategy parseFrom(java.nio.ByteBuffer data)
static com.google.protobuf.Parser< AcceptanceStrategy > parser()
void writeTo(com.google.protobuf.CodedOutputStream output)
static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
static operations_research.RoutingIls.AcceptanceStrategy parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
boolean equals(final java.lang.Object obj)
static operations_research.RoutingIls.AcceptanceStrategy getDefaultInstance()
static operations_research.RoutingIls.AcceptanceStrategy parseFrom(com.google.protobuf.ByteString data)
static operations_research.RoutingIls.AcceptanceStrategy parseFrom(byte[] data)
static operations_research.RoutingIls.AcceptanceStrategy parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
com.google.protobuf.Parser< AcceptanceStrategy > getParserForType()
static operations_research.RoutingIls.AcceptanceStrategy parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static operations_research.RoutingIls.AcceptanceStrategy parseFrom(java.io.InputStream input)
com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
operations_research.RoutingIls.IteratedLocalSearchParameters buildPartial()
operations_research.RoutingIls.PerturbationStrategy.Value getPerturbationStrategy()
com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
operations_research.RoutingIls.RuinRecreateParameters.Builder getRuinRecreateParametersBuilder()
operations_research.RoutingIls.IteratedLocalSearchParameters getDefaultInstanceForType()
Builder setPerturbationStrategy(operations_research.RoutingIls.PerturbationStrategy.Value value)
Builder setAcceptanceStrategy(operations_research.RoutingIls.AcceptanceStrategy.Value value)
Builder mergeFrom(operations_research.RoutingIls.IteratedLocalSearchParameters other)
operations_research.RoutingIls.AcceptanceStrategy.Value getAcceptanceStrategy()
Builder setRuinRecreateParameters(operations_research.RoutingIls.RuinRecreateParameters value)
static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
operations_research.RoutingIls.IteratedLocalSearchParameters build()
Builder setRuinRecreateParameters(operations_research.RoutingIls.RuinRecreateParameters.Builder builderForValue)
com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
operations_research.RoutingIls.RuinRecreateParameters getRuinRecreateParameters()
operations_research.RoutingIls.RuinRecreateParametersOrBuilder getRuinRecreateParametersOrBuilder()
Builder mergeRuinRecreateParameters(operations_research.RoutingIls.RuinRecreateParameters value)
static operations_research.RoutingIls.IteratedLocalSearchParameters parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
static operations_research.RoutingIls.IteratedLocalSearchParameters parseDelimitedFrom(java.io.InputStream input)
static operations_research.RoutingIls.IteratedLocalSearchParameters parseFrom(com.google.protobuf.CodedInputStream input)
operations_research.RoutingIls.AcceptanceStrategy.Value getAcceptanceStrategy()
com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
static operations_research.RoutingIls.IteratedLocalSearchParameters parseFrom(java.nio.ByteBuffer data)
void writeTo(com.google.protobuf.CodedOutputStream output)
operations_research.RoutingIls.PerturbationStrategy.Value getPerturbationStrategy()
static operations_research.RoutingIls.IteratedLocalSearchParameters parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
operations_research.RoutingIls.RuinRecreateParametersOrBuilder getRuinRecreateParametersOrBuilder()
com.google.protobuf.Parser< IteratedLocalSearchParameters > getParserForType()
static operations_research.RoutingIls.IteratedLocalSearchParameters parseFrom(java.io.InputStream input)
operations_research.RoutingIls.RuinRecreateParameters getRuinRecreateParameters()
static operations_research.RoutingIls.IteratedLocalSearchParameters parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
operations_research.RoutingIls.IteratedLocalSearchParameters getDefaultInstanceForType()
static Builder newBuilder(operations_research.RoutingIls.IteratedLocalSearchParameters prototype)
static com.google.protobuf.Parser< IteratedLocalSearchParameters > parser()
static operations_research.RoutingIls.IteratedLocalSearchParameters parseFrom(com.google.protobuf.ByteString data)
static operations_research.RoutingIls.IteratedLocalSearchParameters parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static operations_research.RoutingIls.IteratedLocalSearchParameters getDefaultInstance()
static operations_research.RoutingIls.IteratedLocalSearchParameters parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static operations_research.RoutingIls.IteratedLocalSearchParameters parseFrom(byte[] data)
static operations_research.RoutingIls.IteratedLocalSearchParameters parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
operations_research.RoutingIls.PerturbationStrategy build()
Builder mergeFrom(operations_research.RoutingIls.PerturbationStrategy other)
com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
Builder mergeFrom(com.google.protobuf.Message other)
static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
operations_research.RoutingIls.PerturbationStrategy getDefaultInstanceForType()
operations_research.RoutingIls.PerturbationStrategy buildPartial()
static operations_research.RoutingIls.PerturbationStrategy parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static operations_research.RoutingIls.PerturbationStrategy parseFrom(byte[] data)
boolean equals(final java.lang.Object obj)
operations_research.RoutingIls.PerturbationStrategy getDefaultInstanceForType()
void writeTo(com.google.protobuf.CodedOutputStream output)
static operations_research.RoutingIls.PerturbationStrategy parseFrom(com.google.protobuf.ByteString data)
static operations_research.RoutingIls.PerturbationStrategy parseFrom(com.google.protobuf.CodedInputStream input)
com.google.protobuf.Parser< PerturbationStrategy > getParserForType()
static Builder newBuilder(operations_research.RoutingIls.PerturbationStrategy prototype)
static com.google.protobuf.Parser< PerturbationStrategy > parser()
static operations_research.RoutingIls.PerturbationStrategy parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
static operations_research.RoutingIls.PerturbationStrategy parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static operations_research.RoutingIls.PerturbationStrategy getDefaultInstance()
static operations_research.RoutingIls.PerturbationStrategy parseFrom(java.nio.ByteBuffer data)
static operations_research.RoutingIls.PerturbationStrategy parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static operations_research.RoutingIls.PerturbationStrategy parseFrom(java.io.InputStream input)
static operations_research.RoutingIls.PerturbationStrategy parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static operations_research.RoutingIls.PerturbationStrategy parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
static operations_research.RoutingIls.PerturbationStrategy parseDelimitedFrom(java.io.InputStream input)
operations_research.RoutingIls.RuinStrategy.Value getRuinStrategy()
operations_research.RoutingIls.RuinRecreateParameters buildPartial()
com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
operations_research.RoutingIls.RuinRecreateParameters getDefaultInstanceForType()
com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
Builder mergeFrom(operations_research.RoutingIls.RuinRecreateParameters other)
operations_research.RoutingIls.RuinRecreateParameters build()
Builder setRuinStrategy(operations_research.RoutingIls.RuinStrategy.Value value)
Builder mergeFrom(com.google.protobuf.Message other)
com.google.ortools.constraintsolver.FirstSolutionStrategy.Value getRecreateStrategy()
Builder setRecreateStrategy(com.google.ortools.constraintsolver.FirstSolutionStrategy.Value value)
Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser< RuinRecreateParameters > parser()
void writeTo(com.google.protobuf.CodedOutputStream output)
com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
static operations_research.RoutingIls.RuinRecreateParameters parseFrom(java.nio.ByteBuffer data)
com.google.protobuf.Parser< RuinRecreateParameters > getParserForType()
static operations_research.RoutingIls.RuinRecreateParameters parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
com.google.ortools.constraintsolver.FirstSolutionStrategy.Value getRecreateStrategy()
operations_research.RoutingIls.RuinStrategy.Value getRuinStrategy()
static Builder newBuilder(operations_research.RoutingIls.RuinRecreateParameters prototype)
static operations_research.RoutingIls.RuinRecreateParameters parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static operations_research.RoutingIls.RuinRecreateParameters getDefaultInstance()
static operations_research.RoutingIls.RuinRecreateParameters parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
static operations_research.RoutingIls.RuinRecreateParameters parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
boolean equals(final java.lang.Object obj)
static operations_research.RoutingIls.RuinRecreateParameters parseDelimitedFrom(java.io.InputStream input)
Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
operations_research.RoutingIls.RuinRecreateParameters getDefaultInstanceForType()
static operations_research.RoutingIls.RuinRecreateParameters parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static operations_research.RoutingIls.RuinRecreateParameters parseFrom(java.io.InputStream input)
static operations_research.RoutingIls.RuinRecreateParameters parseFrom(byte[] data)
static operations_research.RoutingIls.RuinRecreateParameters parseFrom(com.google.protobuf.CodedInputStream input)
static operations_research.RoutingIls.RuinRecreateParameters parseFrom(com.google.protobuf.ByteString data)
static operations_research.RoutingIls.RuinRecreateParameters parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
operations_research.RoutingIls.RuinStrategy buildPartial()
static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
operations_research.RoutingIls.RuinStrategy build()
com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
operations_research.RoutingIls.RuinStrategy getDefaultInstanceForType()
com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
Builder mergeFrom(operations_research.RoutingIls.RuinStrategy other)
Builder mergeFrom(com.google.protobuf.Message other)
boolean equals(final java.lang.Object obj)
void writeTo(com.google.protobuf.CodedOutputStream output)
com.google.protobuf.Parser< RuinStrategy > getParserForType()
static com.google.protobuf.Parser< RuinStrategy > parser()
static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
static operations_research.RoutingIls.RuinStrategy parseFrom(java.io.InputStream input)
static operations_research.RoutingIls.RuinStrategy parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Builder newBuilder(operations_research.RoutingIls.RuinStrategy prototype)
static operations_research.RoutingIls.RuinStrategy parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
static operations_research.RoutingIls.RuinStrategy parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static operations_research.RoutingIls.RuinStrategy parseDelimitedFrom(java.io.InputStream input)
static operations_research.RoutingIls.RuinStrategy parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static operations_research.RoutingIls.RuinStrategy getDefaultInstance()
static operations_research.RoutingIls.RuinStrategy parseFrom(com.google.protobuf.CodedInputStream input)
static operations_research.RoutingIls.RuinStrategy parseFrom(com.google.protobuf.ByteString data)
static operations_research.RoutingIls.RuinStrategy parseFrom(byte[] data)
static operations_research.RoutingIls.RuinStrategy parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static operations_research.RoutingIls.RuinStrategy parseFrom(java.nio.ByteBuffer data)
static operations_research.RoutingIls.RuinStrategy parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
operations_research.RoutingIls.RuinStrategy getDefaultInstanceForType()
Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry)
static com.google.protobuf.Descriptors.FileDescriptor getDescriptor()
static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry)
final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
static Value valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
static com.google.protobuf.Internal.EnumLiteMap< Value > internalGetValueMap()
static Value valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
static com.google.protobuf.Internal.EnumLiteMap< Value > internalGetValueMap()
final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
static Value valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
static com.google.protobuf.Internal.EnumLiteMap< Value > internalGetValueMap()
operations_research.RoutingIls.RuinRecreateParametersOrBuilder getRuinRecreateParametersOrBuilder()
operations_research.RoutingIls.AcceptanceStrategy.Value getAcceptanceStrategy()
operations_research.RoutingIls.RuinRecreateParameters getRuinRecreateParameters()
operations_research.RoutingIls.PerturbationStrategy.Value getPerturbationStrategy()
operations_research.RoutingIls.RuinStrategy.Value getRuinStrategy()
com.google.ortools.constraintsolver.FirstSolutionStrategy.Value getRecreateStrategy()