![]() |
Google OR-Tools v9.12
a fast and portable software suite for combinatorial optimization
|
Classes | |
class | Builder |
Public Member Functions | |
boolean | hasNumRemovedVisits () |
int | getNumRemovedVisits () |
final boolean | isInitialized () |
void | writeTo (com.google.protobuf.CodedOutputStream output) throws java.io.IOException |
int | getSerializedSize () |
boolean | equals (final java.lang.Object obj) |
int | hashCode () |
Builder | newBuilderForType () |
Builder | toBuilder () |
com.google.protobuf.Parser< RandomWalkRuinStrategy > | getParserForType () |
com.google.ortools.constraintsolver.RandomWalkRuinStrategy | getDefaultInstanceForType () |
Static Public Member Functions | |
static final com.google.protobuf.Descriptors.Descriptor | getDescriptor () |
static com.google.ortools.constraintsolver.RandomWalkRuinStrategy | parseFrom (java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.constraintsolver.RandomWalkRuinStrategy | parseFrom (java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.constraintsolver.RandomWalkRuinStrategy | parseFrom (com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.constraintsolver.RandomWalkRuinStrategy | parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.constraintsolver.RandomWalkRuinStrategy | parseFrom (byte[] data) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.constraintsolver.RandomWalkRuinStrategy | parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.constraintsolver.RandomWalkRuinStrategy | parseFrom (java.io.InputStream input) throws java.io.IOException |
static com.google.ortools.constraintsolver.RandomWalkRuinStrategy | parseFrom (java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException |
static com.google.ortools.constraintsolver.RandomWalkRuinStrategy | parseDelimitedFrom (java.io.InputStream input) throws java.io.IOException |
static com.google.ortools.constraintsolver.RandomWalkRuinStrategy | parseDelimitedFrom (java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException |
static com.google.ortools.constraintsolver.RandomWalkRuinStrategy | parseFrom (com.google.protobuf.CodedInputStream input) throws java.io.IOException |
static com.google.ortools.constraintsolver.RandomWalkRuinStrategy | parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException |
static Builder | newBuilder () |
static Builder | newBuilder (com.google.ortools.constraintsolver.RandomWalkRuinStrategy prototype) |
static com.google.ortools.constraintsolver.RandomWalkRuinStrategy | getDefaultInstance () |
static com.google.protobuf.Parser< RandomWalkRuinStrategy > | parser () |
Static Public Attributes | |
static final int | NUM_REMOVED_VISITS_FIELD_NUMBER = 7 |
Protected Member Functions | |
com.google.protobuf.GeneratedMessage.FieldAccessorTable | internalGetFieldAccessorTable () |
Builder | newBuilderForType (com.google.protobuf.GeneratedMessage.BuilderParent parent) |
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
Definition at line 20 of file RandomWalkRuinStrategy.java.
boolean com.google.ortools.constraintsolver.RandomWalkRuinStrategy.equals | ( | final java.lang.Object | obj | ) |
Definition at line 126 of file RandomWalkRuinStrategy.java.
|
static |
Definition at line 481 of file RandomWalkRuinStrategy.java.
com.google.ortools.constraintsolver.RandomWalkRuinStrategy com.google.ortools.constraintsolver.RandomWalkRuinStrategy.getDefaultInstanceForType | ( | ) |
Definition at line 517 of file RandomWalkRuinStrategy.java.
|
static |
Definition at line 42 of file RandomWalkRuinStrategy.java.
int com.google.ortools.constraintsolver.RandomWalkRuinStrategy.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;
Implements com.google.ortools.constraintsolver.RandomWalkRuinStrategyOrBuilder.
Definition at line 86 of file RandomWalkRuinStrategy.java.
com.google.protobuf.Parser< RandomWalkRuinStrategy > com.google.ortools.constraintsolver.RandomWalkRuinStrategy.getParserForType | ( | ) |
Definition at line 512 of file RandomWalkRuinStrategy.java.
int com.google.ortools.constraintsolver.RandomWalkRuinStrategy.getSerializedSize | ( | ) |
Definition at line 111 of file RandomWalkRuinStrategy.java.
int com.google.ortools.constraintsolver.RandomWalkRuinStrategy.hashCode | ( | ) |
Definition at line 145 of file RandomWalkRuinStrategy.java.
boolean com.google.ortools.constraintsolver.RandomWalkRuinStrategy.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;
Implements com.google.ortools.constraintsolver.RandomWalkRuinStrategyOrBuilder.
Definition at line 70 of file RandomWalkRuinStrategy.java.
|
protected |
Definition at line 48 of file RandomWalkRuinStrategy.java.
final boolean com.google.ortools.constraintsolver.RandomWalkRuinStrategy.isInitialized | ( | ) |
Definition at line 92 of file RandomWalkRuinStrategy.java.
|
static |
Definition at line 234 of file RandomWalkRuinStrategy.java.
|
static |
Definition at line 237 of file RandomWalkRuinStrategy.java.
Builder com.google.ortools.constraintsolver.RandomWalkRuinStrategy.newBuilderForType | ( | ) |
Definition at line 233 of file RandomWalkRuinStrategy.java.
|
protected |
Definition at line 247 of file RandomWalkRuinStrategy.java.
|
static |
Definition at line 205 of file RandomWalkRuinStrategy.java.
|
static |
Definition at line 211 of file RandomWalkRuinStrategy.java.
|
static |
Definition at line 182 of file RandomWalkRuinStrategy.java.
|
static |
Definition at line 186 of file RandomWalkRuinStrategy.java.
|
static |
Definition at line 171 of file RandomWalkRuinStrategy.java.
|
static |
Definition at line 176 of file RandomWalkRuinStrategy.java.
|
static |
Definition at line 218 of file RandomWalkRuinStrategy.java.
|
static |
Definition at line 224 of file RandomWalkRuinStrategy.java.
|
static |
Definition at line 192 of file RandomWalkRuinStrategy.java.
|
static |
Definition at line 197 of file RandomWalkRuinStrategy.java.
|
static |
Definition at line 160 of file RandomWalkRuinStrategy.java.
|
static |
Definition at line 165 of file RandomWalkRuinStrategy.java.
|
static |
Definition at line 507 of file RandomWalkRuinStrategy.java.
Builder com.google.ortools.constraintsolver.RandomWalkRuinStrategy.toBuilder | ( | ) |
Definition at line 241 of file RandomWalkRuinStrategy.java.
void com.google.ortools.constraintsolver.RandomWalkRuinStrategy.writeTo | ( | com.google.protobuf.CodedOutputStream | output | ) | throws java.io.IOException |
Definition at line 102 of file RandomWalkRuinStrategy.java.
|
static |
Definition at line 55 of file RandomWalkRuinStrategy.java.