6package com.google.ortools.constraintsolver;
15@com.google.protobuf.Generated
16public final class RuinRecreateParameters
extends
17 com.google.protobuf.GeneratedMessage implements
20private static final long serialVersionUID = 0L;
22 com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
23 com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
28 "RuinRecreateParameters");
31 private RuinRecreateParameters(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
34 private RuinRecreateParameters() {
35 ruinStrategies_ = java.util.Collections.emptyList();
36 ruinCompositionStrategy_ = 0;
39 public static final com.google.protobuf.Descriptors.Descriptor
41 return com.google.ortools.constraintsolver.RoutingIls.internal_static_operations_research_RuinRecreateParameters_descriptor;
45 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
47 return com.google.ortools.constraintsolver.RoutingIls.internal_static_operations_research_RuinRecreateParameters_fieldAccessorTable
48 .ensureFieldAccessorsInitialized(
49 com.google.ortools.constraintsolver.RuinRecreateParameters.class, com.google.ortools.constraintsolver.RuinRecreateParameters.Builder.class);
52 private int bitField0_;
54 @SuppressWarnings(
"serial")
65 return ruinStrategies_;
75 public java.util.List<? extends com.google.ortools.constraintsolver.RuinStrategyOrBuilder>
77 return ruinStrategies_;
88 return ruinStrategies_.size();
99 return ruinStrategies_.get(index);
111 return ruinStrategies_.get(index);
115 private int ruinCompositionStrategy_ = 0;
126 return ruinCompositionStrategy_;
154 return ((bitField0_ & 0x00000001) != 0);
166 return recreateStrategy_ ==
null ? com.google.ortools.constraintsolver.RecreateStrategy.getDefaultInstance() : recreateStrategy_;
177 return recreateStrategy_ ==
null ? com.google.ortools.constraintsolver.RecreateStrategy.getDefaultInstance() : recreateStrategy_;
181 private double routeSelectionNeighborsRatio_ = 0D;
207 return ((bitField0_ & 0x00000002) != 0);
234 return routeSelectionNeighborsRatio_;
238 private int routeSelectionMinNeighbors_ = 0;
245 return ((bitField0_ & 0x00000004) != 0);
253 return routeSelectionMinNeighbors_;
257 private int routeSelectionMaxNeighbors_ = 0;
264 return ((bitField0_ & 0x00000008) != 0);
272 return routeSelectionMaxNeighbors_;
275 private byte memoizedIsInitialized = -1;
282 memoizedIsInitialized = 1;
287 public void writeTo(com.google.protobuf.CodedOutputStream output)
288 throws java.io.IOException {
289 for (
int i = 0; i < ruinStrategies_.size(); i++) {
290 output.writeMessage(1, ruinStrategies_.get(i));
292 if (ruinCompositionStrategy_ != com.google.ortools.constraintsolver.RuinCompositionStrategy.Value.UNSET.getNumber()) {
293 output.writeEnum(2, ruinCompositionStrategy_);
295 if (((bitField0_ & 0x00000001) != 0)) {
298 if (((bitField0_ & 0x00000002) != 0)) {
299 output.writeDouble(4, routeSelectionNeighborsRatio_);
301 if (((bitField0_ & 0x00000004) != 0)) {
302 output.writeUInt32(5, routeSelectionMinNeighbors_);
304 if (((bitField0_ & 0x00000008) != 0)) {
305 output.writeUInt32(6, routeSelectionMaxNeighbors_);
307 getUnknownFields().writeTo(output);
312 int size = memoizedSize;
313 if (size != -1)
return size;
316 for (
int i = 0; i < ruinStrategies_.size(); i++) {
317 size += com.google.protobuf.CodedOutputStream
318 .computeMessageSize(1, ruinStrategies_.get(i));
320 if (ruinCompositionStrategy_ != com.google.ortools.constraintsolver.RuinCompositionStrategy.Value.UNSET.getNumber()) {
321 size += com.google.protobuf.CodedOutputStream
322 .computeEnumSize(2, ruinCompositionStrategy_);
324 if (((bitField0_ & 0x00000001) != 0)) {
325 size += com.google.protobuf.CodedOutputStream
328 if (((bitField0_ & 0x00000002) != 0)) {
329 size += com.google.protobuf.CodedOutputStream
330 .computeDoubleSize(4, routeSelectionNeighborsRatio_);
332 if (((bitField0_ & 0x00000004) != 0)) {
333 size += com.google.protobuf.CodedOutputStream
334 .computeUInt32Size(5, routeSelectionMinNeighbors_);
336 if (((bitField0_ & 0x00000008) != 0)) {
337 size += com.google.protobuf.CodedOutputStream
338 .computeUInt32Size(6, routeSelectionMaxNeighbors_);
340 size += getUnknownFields().getSerializedSize();
346 public boolean equals(
final java.lang.Object obj) {
350 if (!(obj instanceof com.google.ortools.constraintsolver.RuinRecreateParameters)) {
351 return super.equals(obj);
357 if (ruinCompositionStrategy_ != other.ruinCompositionStrategy_)
return false;
366 != java.lang.Double.doubleToLongBits(
379 if (!getUnknownFields().
equals(other.getUnknownFields()))
return false;
385 if (memoizedHashCode != 0) {
386 return memoizedHashCode;
395 hash = (53 * hash) + ruinCompositionStrategy_;
402 hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
413 hash = (29 * hash) + getUnknownFields().hashCode();
414 memoizedHashCode = hash;
419 java.nio.ByteBuffer data)
420 throws com.google.protobuf.InvalidProtocolBufferException {
421 return PARSER.parseFrom(data);
424 java.nio.ByteBuffer data,
425 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
426 throws com.google.protobuf.InvalidProtocolBufferException {
427 return PARSER.parseFrom(data, extensionRegistry);
430 com.google.protobuf.ByteString data)
431 throws com.google.protobuf.InvalidProtocolBufferException {
432 return PARSER.parseFrom(data);
435 com.google.protobuf.ByteString data,
436 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
437 throws com.google.protobuf.InvalidProtocolBufferException {
438 return PARSER.parseFrom(data, extensionRegistry);
441 throws com.google.protobuf.InvalidProtocolBufferException {
442 return PARSER.parseFrom(data);
446 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
447 throws com.google.protobuf.InvalidProtocolBufferException {
448 return PARSER.parseFrom(data, extensionRegistry);
451 throws java.io.IOException {
452 return com.google.protobuf.GeneratedMessage
453 .parseWithIOException(PARSER, input);
456 java.io.InputStream input,
457 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
458 throws java.io.IOException {
459 return com.google.protobuf.GeneratedMessage
460 .parseWithIOException(PARSER, input, extensionRegistry);
464 throws java.io.IOException {
465 return com.google.protobuf.GeneratedMessage
466 .parseDelimitedWithIOException(PARSER, input);
470 java.io.InputStream input,
471 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
472 throws java.io.IOException {
473 return com.google.protobuf.GeneratedMessage
474 .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
477 com.google.protobuf.CodedInputStream input)
478 throws java.io.IOException {
479 return com.google.protobuf.GeneratedMessage
480 .parseWithIOException(PARSER, input);
483 com.google.protobuf.CodedInputStream input,
484 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
485 throws java.io.IOException {
486 return com.google.protobuf.GeneratedMessage
487 .parseWithIOException(PARSER, input, extensionRegistry);
493 return DEFAULT_INSTANCE.toBuilder();
495 public static Builder newBuilder(com.google.ortools.constraintsolver.RuinRecreateParameters prototype) {
496 return DEFAULT_INSTANCE.toBuilder().
mergeFrom(prototype);
500 return this == DEFAULT_INSTANCE
506 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
517 public static final class Builder
extends
518 com.google.protobuf.GeneratedMessage.Builder<Builder> implements
521 public static final com.google.protobuf.Descriptors.Descriptor
523 return com.google.ortools.constraintsolver.RoutingIls.internal_static_operations_research_RuinRecreateParameters_descriptor;
527 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
529 return com.google.ortools.constraintsolver.RoutingIls.internal_static_operations_research_RuinRecreateParameters_fieldAccessorTable
530 .ensureFieldAccessorsInitialized(
531 com.google.ortools.constraintsolver.RuinRecreateParameters.class, com.google.ortools.constraintsolver.RuinRecreateParameters.Builder.class);
536 maybeForceBuilderInitialization();
540 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
542 maybeForceBuilderInitialization();
544 private void maybeForceBuilderInitialization() {
545 if (com.google.protobuf.GeneratedMessage
546 .alwaysUseFieldBuilders) {
547 internalGetRuinStrategiesFieldBuilder();
548 internalGetRecreateStrategyFieldBuilder();
555 if (ruinStrategiesBuilder_ ==
null) {
556 ruinStrategies_ = java.util.Collections.emptyList();
558 ruinStrategies_ =
null;
559 ruinStrategiesBuilder_.clear();
561 bitField0_ = (bitField0_ & ~0x00000001);
562 ruinCompositionStrategy_ = 0;
563 recreateStrategy_ =
null;
564 if (recreateStrategyBuilder_ !=
null) {
565 recreateStrategyBuilder_.dispose();
566 recreateStrategyBuilder_ =
null;
568 routeSelectionNeighborsRatio_ = 0D;
569 routeSelectionMinNeighbors_ = 0;
570 routeSelectionMaxNeighbors_ = 0;
575 public com.google.protobuf.Descriptors.Descriptor
577 return com.google.ortools.constraintsolver.RoutingIls.internal_static_operations_research_RuinRecreateParameters_descriptor;
582 return com.google.ortools.constraintsolver.RuinRecreateParameters.getDefaultInstance();
589 throw newUninitializedMessageException(result);
597 buildPartialRepeatedFields(result);
598 if (bitField0_ != 0) { buildPartial0(result); }
603 private void buildPartialRepeatedFields(com.google.ortools.constraintsolver.RuinRecreateParameters result) {
604 if (ruinStrategiesBuilder_ ==
null) {
605 if (((bitField0_ & 0x00000001) != 0)) {
606 ruinStrategies_ = java.util.Collections.unmodifiableList(ruinStrategies_);
607 bitField0_ = (bitField0_ & ~0x00000001);
609 result.ruinStrategies_ = ruinStrategies_;
611 result.ruinStrategies_ = ruinStrategiesBuilder_.build();
615 private void buildPartial0(com.google.ortools.constraintsolver.RuinRecreateParameters result) {
616 int from_bitField0_ = bitField0_;
617 if (((from_bitField0_ & 0x00000002) != 0)) {
618 result.ruinCompositionStrategy_ = ruinCompositionStrategy_;
620 int to_bitField0_ = 0;
621 if (((from_bitField0_ & 0x00000004) != 0)) {
622 result.recreateStrategy_ = recreateStrategyBuilder_ ==
null
624 : recreateStrategyBuilder_.build();
625 to_bitField0_ |= 0x00000001;
627 if (((from_bitField0_ & 0x00000008) != 0)) {
628 result.routeSelectionNeighborsRatio_ = routeSelectionNeighborsRatio_;
629 to_bitField0_ |= 0x00000002;
631 if (((from_bitField0_ & 0x00000010) != 0)) {
632 result.routeSelectionMinNeighbors_ = routeSelectionMinNeighbors_;
633 to_bitField0_ |= 0x00000004;
635 if (((from_bitField0_ & 0x00000020) != 0)) {
636 result.routeSelectionMaxNeighbors_ = routeSelectionMaxNeighbors_;
637 to_bitField0_ |= 0x00000008;
639 result.bitField0_ |= to_bitField0_;
643 public Builder
mergeFrom(com.google.protobuf.Message other) {
644 if (other instanceof com.google.ortools.constraintsolver.RuinRecreateParameters) {
645 return mergeFrom((com.google.ortools.constraintsolver.RuinRecreateParameters)other);
647 super.mergeFrom(other);
652 public Builder
mergeFrom(com.google.ortools.constraintsolver.RuinRecreateParameters other) {
653 if (other == com.google.ortools.constraintsolver.RuinRecreateParameters.getDefaultInstance())
return this;
654 if (ruinStrategiesBuilder_ ==
null) {
655 if (!other.ruinStrategies_.isEmpty()) {
656 if (ruinStrategies_.isEmpty()) {
657 ruinStrategies_ = other.ruinStrategies_;
658 bitField0_ = (bitField0_ & ~0x00000001);
660 ensureRuinStrategiesIsMutable();
661 ruinStrategies_.addAll(other.ruinStrategies_);
666 if (!other.ruinStrategies_.isEmpty()) {
667 if (ruinStrategiesBuilder_.isEmpty()) {
668 ruinStrategiesBuilder_.dispose();
669 ruinStrategiesBuilder_ =
null;
670 ruinStrategies_ = other.ruinStrategies_;
671 bitField0_ = (bitField0_ & ~0x00000001);
672 ruinStrategiesBuilder_ =
673 com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
674 internalGetRuinStrategiesFieldBuilder() :
null;
676 ruinStrategiesBuilder_.addAllMessages(other.ruinStrategies_);
680 if (other.ruinCompositionStrategy_ != 0) {
683 if (other.hasRecreateStrategy()) {
686 if (other.hasRouteSelectionNeighborsRatio()) {
689 if (other.hasRouteSelectionMinNeighbors()) {
692 if (other.hasRouteSelectionMaxNeighbors()) {
695 this.mergeUnknownFields(other.getUnknownFields());
707 com.google.protobuf.CodedInputStream input,
708 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
709 throws java.io.IOException {
710 if (extensionRegistry ==
null) {
711 throw new java.lang.NullPointerException();
714 boolean done =
false;
716 int tag = input.readTag();
724 com.google.ortools.constraintsolver.RuinStrategy.parser(),
726 if (ruinStrategiesBuilder_ ==
null) {
727 ensureRuinStrategiesIsMutable();
728 ruinStrategies_.add(m);
730 ruinStrategiesBuilder_.addMessage(m);
735 ruinCompositionStrategy_ = input.readEnum();
736 bitField0_ |= 0x00000002;
741 internalGetRecreateStrategyFieldBuilder().getBuilder(),
743 bitField0_ |= 0x00000004;
747 routeSelectionNeighborsRatio_ = input.readDouble();
748 bitField0_ |= 0x00000008;
752 routeSelectionMinNeighbors_ = input.readUInt32();
753 bitField0_ |= 0x00000010;
757 routeSelectionMaxNeighbors_ = input.readUInt32();
758 bitField0_ |= 0x00000020;
762 if (!super.parseUnknownField(input, extensionRegistry, tag)) {
769 }
catch (com.google.protobuf.InvalidProtocolBufferException e) {
770 throw e.unwrapIOException();
776 private int bitField0_;
778 private java.util.List<com.google.ortools.constraintsolver.RuinStrategy> ruinStrategies_ =
779 java.util.Collections.emptyList();
780 private void ensureRuinStrategiesIsMutable() {
781 if (!((bitField0_ & 0x00000001) != 0)) {
782 ruinStrategies_ =
new java.util.ArrayList<com.google.ortools.constraintsolver.RuinStrategy>(ruinStrategies_);
783 bitField0_ |= 0x00000001;
787 private com.google.protobuf.RepeatedFieldBuilder<
788 com.google.ortools.constraintsolver.RuinStrategy, com.google.ortools.constraintsolver.RuinStrategy.Builder, com.google.ortools.constraintsolver.RuinStrategyOrBuilder> ruinStrategiesBuilder_;
798 if (ruinStrategiesBuilder_ ==
null) {
799 return java.util.Collections.unmodifiableList(ruinStrategies_);
801 return ruinStrategiesBuilder_.getMessageList();
812 if (ruinStrategiesBuilder_ ==
null) {
813 return ruinStrategies_.size();
815 return ruinStrategiesBuilder_.getCount();
826 if (ruinStrategiesBuilder_ ==
null) {
827 return ruinStrategies_.get(index);
829 return ruinStrategiesBuilder_.getMessage(index);
840 int index, com.google.ortools.constraintsolver.RuinStrategy value) {
841 if (ruinStrategiesBuilder_ ==
null) {
843 throw new NullPointerException();
845 ensureRuinStrategiesIsMutable();
846 ruinStrategies_.set(index, value);
849 ruinStrategiesBuilder_.setMessage(index, value);
861 int index, com.google.ortools.constraintsolver.RuinStrategy.Builder builderForValue) {
862 if (ruinStrategiesBuilder_ ==
null) {
863 ensureRuinStrategiesIsMutable();
864 ruinStrategies_.set(index, builderForValue.build());
867 ruinStrategiesBuilder_.setMessage(index, builderForValue.build());
879 if (ruinStrategiesBuilder_ ==
null) {
881 throw new NullPointerException();
883 ensureRuinStrategiesIsMutable();
884 ruinStrategies_.add(value);
887 ruinStrategiesBuilder_.addMessage(value);
899 int index, com.google.ortools.constraintsolver.RuinStrategy value) {
900 if (ruinStrategiesBuilder_ ==
null) {
902 throw new NullPointerException();
904 ensureRuinStrategiesIsMutable();
905 ruinStrategies_.add(index, value);
908 ruinStrategiesBuilder_.addMessage(index, value);
920 com.google.ortools.constraintsolver.RuinStrategy.Builder builderForValue) {
921 if (ruinStrategiesBuilder_ ==
null) {
922 ensureRuinStrategiesIsMutable();
923 ruinStrategies_.add(builderForValue.build());
926 ruinStrategiesBuilder_.addMessage(builderForValue.build());
938 int index, com.google.ortools.constraintsolver.RuinStrategy.Builder builderForValue) {
939 if (ruinStrategiesBuilder_ ==
null) {
940 ensureRuinStrategiesIsMutable();
941 ruinStrategies_.add(index, builderForValue.build());
944 ruinStrategiesBuilder_.addMessage(index, builderForValue.build());
956 java.lang.Iterable<? extends com.google.ortools.constraintsolver.RuinStrategy> values) {
957 if (ruinStrategiesBuilder_ ==
null) {
958 ensureRuinStrategiesIsMutable();
959 com.google.protobuf.AbstractMessageLite.Builder.addAll(
960 values, ruinStrategies_);
963 ruinStrategiesBuilder_.addAllMessages(values);
975 if (ruinStrategiesBuilder_ ==
null) {
976 ruinStrategies_ = java.util.Collections.emptyList();
977 bitField0_ = (bitField0_ & ~0x00000001);
980 ruinStrategiesBuilder_.clear();
992 if (ruinStrategiesBuilder_ ==
null) {
993 ensureRuinStrategiesIsMutable();
994 ruinStrategies_.remove(index);
997 ruinStrategiesBuilder_.remove(index);
1010 return internalGetRuinStrategiesFieldBuilder().getBuilder(index);
1021 if (ruinStrategiesBuilder_ ==
null) {
1022 return ruinStrategies_.get(index); }
else {
1023 return ruinStrategiesBuilder_.getMessageOrBuilder(index);
1033 public java.util.List<? extends com.google.ortools.constraintsolver.RuinStrategyOrBuilder>
1035 if (ruinStrategiesBuilder_ !=
null) {
1036 return ruinStrategiesBuilder_.getMessageOrBuilderList();
1038 return java.util.Collections.unmodifiableList(ruinStrategies_);
1049 return internalGetRuinStrategiesFieldBuilder().addBuilder(
1050 com.google.ortools.constraintsolver.RuinStrategy.getDefaultInstance());
1061 return internalGetRuinStrategiesFieldBuilder().addBuilder(
1062 index, com.google.ortools.constraintsolver.RuinStrategy.getDefaultInstance());
1071 public java.util.List<com.google.ortools.constraintsolver.RuinStrategy.Builder>
1073 return internalGetRuinStrategiesFieldBuilder().getBuilderList();
1075 private com.google.protobuf.RepeatedFieldBuilder<
1076 com.google.ortools.constraintsolver.RuinStrategy, com.google.ortools.constraintsolver.RuinStrategy.Builder, com.google.ortools.constraintsolver.RuinStrategyOrBuilder>
1077 internalGetRuinStrategiesFieldBuilder() {
1078 if (ruinStrategiesBuilder_ ==
null) {
1079 ruinStrategiesBuilder_ =
new com.google.protobuf.RepeatedFieldBuilder<
1080 com.google.ortools.constraintsolver.RuinStrategy, com.google.ortools.constraintsolver.RuinStrategy.Builder, com.google.ortools.constraintsolver.RuinStrategyOrBuilder>(
1082 ((bitField0_ & 0x00000001) != 0),
1083 getParentForChildren(),
1085 ruinStrategies_ =
null;
1087 return ruinStrategiesBuilder_;
1090 private int ruinCompositionStrategy_ = 0;
1101 return ruinCompositionStrategy_;
1114 ruinCompositionStrategy_ = value;
1115 bitField0_ |= 0x00000002;
1144 if (value ==
null) {
throw new NullPointerException(); }
1145 bitField0_ |= 0x00000002;
1146 ruinCompositionStrategy_ = value.getNumber();
1160 bitField0_ = (bitField0_ & ~0x00000002);
1161 ruinCompositionStrategy_ = 0;
1167 private com.google.protobuf.SingleFieldBuilder<
1168 com.google.ortools.constraintsolver.RecreateStrategy, com.google.ortools.constraintsolver.RecreateStrategy.Builder, com.google.ortools.constraintsolver.RecreateStrategyOrBuilder> recreateStrategyBuilder_;
1178 return ((bitField0_ & 0x00000004) != 0);
1189 if (recreateStrategyBuilder_ ==
null) {
1190 return recreateStrategy_ ==
null ? com.google.ortools.constraintsolver.RecreateStrategy.getDefaultInstance() : recreateStrategy_;
1192 return recreateStrategyBuilder_.getMessage();
1203 if (recreateStrategyBuilder_ ==
null) {
1204 if (value ==
null) {
1205 throw new NullPointerException();
1207 recreateStrategy_ = value;
1209 recreateStrategyBuilder_.setMessage(value);
1211 bitField0_ |= 0x00000004;
1223 com.google.ortools.constraintsolver.RecreateStrategy.Builder builderForValue) {
1224 if (recreateStrategyBuilder_ ==
null) {
1225 recreateStrategy_ = builderForValue.build();
1227 recreateStrategyBuilder_.setMessage(builderForValue.build());
1229 bitField0_ |= 0x00000004;
1241 if (recreateStrategyBuilder_ ==
null) {
1242 if (((bitField0_ & 0x00000004) != 0) &&
1243 recreateStrategy_ !=
null &&
1244 recreateStrategy_ != com.google.ortools.constraintsolver.RecreateStrategy.getDefaultInstance()) {
1247 recreateStrategy_ = value;
1250 recreateStrategyBuilder_.mergeFrom(value);
1252 if (recreateStrategy_ !=
null) {
1253 bitField0_ |= 0x00000004;
1266 bitField0_ = (bitField0_ & ~0x00000004);
1267 recreateStrategy_ =
null;
1268 if (recreateStrategyBuilder_ !=
null) {
1269 recreateStrategyBuilder_.dispose();
1270 recreateStrategyBuilder_ =
null;
1283 bitField0_ |= 0x00000004;
1285 return internalGetRecreateStrategyFieldBuilder().getBuilder();
1295 if (recreateStrategyBuilder_ !=
null) {
1296 return recreateStrategyBuilder_.getMessageOrBuilder();
1298 return recreateStrategy_ ==
null ?
1299 com.google.ortools.constraintsolver.RecreateStrategy.getDefaultInstance() : recreateStrategy_;
1309 private com.google.protobuf.SingleFieldBuilder<
1310 com.google.ortools.constraintsolver.RecreateStrategy, com.google.ortools.constraintsolver.RecreateStrategy.Builder, com.google.ortools.constraintsolver.RecreateStrategyOrBuilder>
1311 internalGetRecreateStrategyFieldBuilder() {
1312 if (recreateStrategyBuilder_ ==
null) {
1313 recreateStrategyBuilder_ =
new com.google.protobuf.SingleFieldBuilder<
1314 com.google.ortools.constraintsolver.RecreateStrategy, com.google.ortools.constraintsolver.RecreateStrategy.Builder, com.google.ortools.constraintsolver.RecreateStrategyOrBuilder>(
1316 getParentForChildren(),
1318 recreateStrategy_ =
null;
1320 return recreateStrategyBuilder_;
1323 private double routeSelectionNeighborsRatio_ ;
1349 return ((bitField0_ & 0x00000008) != 0);
1376 return routeSelectionNeighborsRatio_;
1404 routeSelectionNeighborsRatio_ = value;
1405 bitField0_ |= 0x00000008;
1433 bitField0_ = (bitField0_ & ~0x00000008);
1434 routeSelectionNeighborsRatio_ = 0D;
1439 private int routeSelectionMinNeighbors_ ;
1446 return ((bitField0_ & 0x00000010) != 0);
1454 return routeSelectionMinNeighbors_;
1463 routeSelectionMinNeighbors_ = value;
1464 bitField0_ |= 0x00000010;
1473 bitField0_ = (bitField0_ & ~0x00000010);
1474 routeSelectionMinNeighbors_ = 0;
1479 private int routeSelectionMaxNeighbors_ ;
1486 return ((bitField0_ & 0x00000020) != 0);
1494 return routeSelectionMaxNeighbors_;
1503 routeSelectionMaxNeighbors_ = value;
1504 bitField0_ |= 0x00000020;
1513 bitField0_ = (bitField0_ & ~0x00000020);
1514 routeSelectionMaxNeighbors_ = 0;
1525 DEFAULT_INSTANCE =
new com.google.ortools.constraintsolver.RuinRecreateParameters();
1529 return DEFAULT_INSTANCE;
1536 com.google.protobuf.CodedInputStream input,
1537 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1538 throws com.google.protobuf.InvalidProtocolBufferException {
1541 builder.mergeFrom(input, extensionRegistry);
1542 }
catch (com.google.protobuf.InvalidProtocolBufferException e) {
1543 throw e.setUnfinishedMessage(builder.buildPartial());
1544 }
catch (com.google.protobuf.UninitializedMessageException e) {
1545 throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
1546 }
catch (java.io.IOException e) {
1547 throw new com.google.protobuf.InvalidProtocolBufferException(e)
1548 .setUnfinishedMessage(builder.buildPartial());
1550 return builder.buildPartial();
1554 public static com.google.protobuf.Parser<RuinRecreateParameters>
parser() {
1565 return DEFAULT_INSTANCE;