![]() |
Google OR-Tools v9.12
a fast and portable software suite for combinatorial optimization
|
Public Member Functions | |
Builder | clear () |
com.google.protobuf.Descriptors.Descriptor | getDescriptorForType () |
com.google.ortools.constraintsolver.RandomWalkRuinStrategy | getDefaultInstanceForType () |
com.google.ortools.constraintsolver.RandomWalkRuinStrategy | build () |
com.google.ortools.constraintsolver.RandomWalkRuinStrategy | buildPartial () |
Builder | mergeFrom (com.google.protobuf.Message other) |
Builder | mergeFrom (com.google.ortools.constraintsolver.RandomWalkRuinStrategy other) |
final boolean | isInitialized () |
Builder | mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException |
boolean | hasNumRemovedVisits () |
int | getNumRemovedVisits () |
Builder | setNumRemovedVisits (int value) |
Builder | clearNumRemovedVisits () |
Static Public Member Functions | |
static final com.google.protobuf.Descriptors.Descriptor | getDescriptor () |
Protected Member Functions | |
com.google.protobuf.GeneratedMessage.FieldAccessorTable | internalGetFieldAccessorTable () |
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 264 of file RandomWalkRuinStrategy.java.
com.google.ortools.constraintsolver.RandomWalkRuinStrategy com.google.ortools.constraintsolver.RandomWalkRuinStrategy.Builder.build | ( | ) |
Definition at line 311 of file RandomWalkRuinStrategy.java.
com.google.ortools.constraintsolver.RandomWalkRuinStrategy com.google.ortools.constraintsolver.RandomWalkRuinStrategy.Builder.buildPartial | ( | ) |
Definition at line 320 of file RandomWalkRuinStrategy.java.
Builder com.google.ortools.constraintsolver.RandomWalkRuinStrategy.Builder.clear | ( | ) |
Definition at line 292 of file RandomWalkRuinStrategy.java.
Builder com.google.ortools.constraintsolver.RandomWalkRuinStrategy.Builder.clearNumRemovedVisits | ( | ) |
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;
Definition at line 465 of file RandomWalkRuinStrategy.java.
com.google.ortools.constraintsolver.RandomWalkRuinStrategy com.google.ortools.constraintsolver.RandomWalkRuinStrategy.Builder.getDefaultInstanceForType | ( | ) |
Definition at line 306 of file RandomWalkRuinStrategy.java.
|
static |
Definition at line 269 of file RandomWalkRuinStrategy.java.
com.google.protobuf.Descriptors.Descriptor com.google.ortools.constraintsolver.RandomWalkRuinStrategy.Builder.getDescriptorForType | ( | ) |
Definition at line 301 of file RandomWalkRuinStrategy.java.
int com.google.ortools.constraintsolver.RandomWalkRuinStrategy.Builder.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 430 of file RandomWalkRuinStrategy.java.
boolean com.google.ortools.constraintsolver.RandomWalkRuinStrategy.Builder.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 414 of file RandomWalkRuinStrategy.java.
|
protected |
Definition at line 275 of file RandomWalkRuinStrategy.java.
final boolean com.google.ortools.constraintsolver.RandomWalkRuinStrategy.Builder.isInitialized | ( | ) |
Definition at line 358 of file RandomWalkRuinStrategy.java.
Builder com.google.ortools.constraintsolver.RandomWalkRuinStrategy.Builder.mergeFrom | ( | com.google.ortools.constraintsolver.RandomWalkRuinStrategy | other | ) |
Definition at line 347 of file RandomWalkRuinStrategy.java.
Builder com.google.ortools.constraintsolver.RandomWalkRuinStrategy.Builder.mergeFrom | ( | com.google.protobuf.CodedInputStream | input, |
com.google.protobuf.ExtensionRegistryLite | extensionRegistry ) throws java.io.IOException |
Definition at line 363 of file RandomWalkRuinStrategy.java.
Builder com.google.ortools.constraintsolver.RandomWalkRuinStrategy.Builder.mergeFrom | ( | com.google.protobuf.Message | other | ) |
Definition at line 338 of file RandomWalkRuinStrategy.java.
Builder com.google.ortools.constraintsolver.RandomWalkRuinStrategy.Builder.setNumRemovedVisits | ( | int | value | ) |
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;
value | The numRemovedVisits to set. |
Definition at line 446 of file RandomWalkRuinStrategy.java.