public final class RandomWalkRuinStrategy extends com.google.protobuf.GeneratedMessage implements RandomWalkRuinStrategyOrBuilder
Ruin strategy that removes a number of customers by performing a random walk on the underlying routing solution. More precisely, starting from a randomly selected seed visit, the walk is extended by either moving within the same route or by jumping to a visit served by a different neighboring route. Every active visit encountered along this random walk is made unperformed.Protobuf type
operations_research.RandomWalkRuinStrategy
Modifier and Type | Class and Description |
---|---|
static class |
RandomWalkRuinStrategy.Builder
Ruin strategy that removes a number of customers by performing a random walk
on the underlying routing solution.
|
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message,T>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter
Modifier and Type | Field and Description |
---|---|
static int |
NUM_REMOVED_VISITS_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
static RandomWalkRuinStrategy |
getDefaultInstance() |
RandomWalkRuinStrategy |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
int |
getNumRemovedVisits()
Number of visits removed during a ruin application defined on visits.
|
com.google.protobuf.Parser<RandomWalkRuinStrategy> |
getParserForType() |
int |
getSerializedSize() |
int |
hashCode() |
boolean |
hasNumRemovedVisits()
Number of visits removed during a ruin application defined on visits.
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static RandomWalkRuinStrategy.Builder |
newBuilder() |
static RandomWalkRuinStrategy.Builder |
newBuilder(RandomWalkRuinStrategy prototype) |
RandomWalkRuinStrategy.Builder |
newBuilderForType() |
protected RandomWalkRuinStrategy.Builder |
newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) |
static RandomWalkRuinStrategy |
parseDelimitedFrom(java.io.InputStream input) |
static RandomWalkRuinStrategy |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RandomWalkRuinStrategy |
parseFrom(byte[] data) |
static RandomWalkRuinStrategy |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RandomWalkRuinStrategy |
parseFrom(java.nio.ByteBuffer data) |
static RandomWalkRuinStrategy |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RandomWalkRuinStrategy |
parseFrom(com.google.protobuf.ByteString data) |
static RandomWalkRuinStrategy |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RandomWalkRuinStrategy |
parseFrom(com.google.protobuf.CodedInputStream input) |
static RandomWalkRuinStrategy |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RandomWalkRuinStrategy |
parseFrom(java.io.InputStream input) |
static RandomWalkRuinStrategy |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<RandomWalkRuinStrategy> |
parser() |
RandomWalkRuinStrategy.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashFields, toString
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public static final int NUM_REMOVED_VISITS_FIELD_NUMBER
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage
public boolean hasNumRemovedVisits()
Number of visits removed during a ruin application defined on visits. Note that pickup and delivery pairs are considered as a single entity, i.e., the removal of a pickup (respectively delivery) causes the removal of the associated delivery (respectively pickup) and it counts as a single removal.
optional uint32 num_removed_visits = 7;
hasNumRemovedVisits
in interface RandomWalkRuinStrategyOrBuilder
public int getNumRemovedVisits()
Number of visits removed during a ruin application defined on visits. Note that pickup and delivery pairs are considered as a single entity, i.e., the removal of a pickup (respectively delivery) causes the removal of the associated delivery (respectively pickup) and it counts as a single removal.
optional uint32 num_removed_visits = 7;
getNumRemovedVisits
in interface RandomWalkRuinStrategyOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.GeneratedMessage
java.io.IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.GeneratedMessage
public boolean equals(java.lang.Object obj)
equals
in interface com.google.protobuf.Message
equals
in class com.google.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface com.google.protobuf.Message
hashCode
in class com.google.protobuf.AbstractMessage
public static RandomWalkRuinStrategy parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static RandomWalkRuinStrategy parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static RandomWalkRuinStrategy parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static RandomWalkRuinStrategy parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static RandomWalkRuinStrategy parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static RandomWalkRuinStrategy parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static RandomWalkRuinStrategy parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static RandomWalkRuinStrategy parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static RandomWalkRuinStrategy parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static RandomWalkRuinStrategy parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static RandomWalkRuinStrategy parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOException
public static RandomWalkRuinStrategy parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public RandomWalkRuinStrategy.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static RandomWalkRuinStrategy.Builder newBuilder()
public static RandomWalkRuinStrategy.Builder newBuilder(RandomWalkRuinStrategy prototype)
public RandomWalkRuinStrategy.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected RandomWalkRuinStrategy.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.AbstractMessage
public static RandomWalkRuinStrategy getDefaultInstance()
public static com.google.protobuf.Parser<RandomWalkRuinStrategy> parser()
public com.google.protobuf.Parser<RandomWalkRuinStrategy> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessage
public RandomWalkRuinStrategy getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
Copyright © 2025. All rights reserved.