![]() |
Google OR-Tools v9.12
a fast and portable software suite for combinatorial optimization
|
Classes | |
class | Builder |
Static Public Member Functions | |
static final com.google.protobuf.Descriptors.Descriptor | getDescriptor () |
static com.google.ortools.constraintsolver.RuinRecreateParameters | parseFrom (java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.constraintsolver.RuinRecreateParameters | parseFrom (java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.constraintsolver.RuinRecreateParameters | parseFrom (com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.constraintsolver.RuinRecreateParameters | parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.constraintsolver.RuinRecreateParameters | parseFrom (byte[] data) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.constraintsolver.RuinRecreateParameters | parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.constraintsolver.RuinRecreateParameters | parseFrom (java.io.InputStream input) throws java.io.IOException |
static com.google.ortools.constraintsolver.RuinRecreateParameters | parseFrom (java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException |
static com.google.ortools.constraintsolver.RuinRecreateParameters | parseDelimitedFrom (java.io.InputStream input) throws java.io.IOException |
static com.google.ortools.constraintsolver.RuinRecreateParameters | parseDelimitedFrom (java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException |
static com.google.ortools.constraintsolver.RuinRecreateParameters | parseFrom (com.google.protobuf.CodedInputStream input) throws java.io.IOException |
static com.google.ortools.constraintsolver.RuinRecreateParameters | 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.RuinRecreateParameters prototype) |
static com.google.ortools.constraintsolver.RuinRecreateParameters | getDefaultInstance () |
static com.google.protobuf.Parser< RuinRecreateParameters > | parser () |
Static Public Attributes | |
static final int | RUIN_STRATEGIES_FIELD_NUMBER = 1 |
static final int | RUIN_COMPOSITION_STRATEGY_FIELD_NUMBER = 2 |
static final int | RECREATE_STRATEGY_FIELD_NUMBER = 3 |
static final int | ROUTE_SELECTION_NEIGHBORS_RATIO_FIELD_NUMBER = 4 |
static final int | ROUTE_SELECTION_MIN_NEIGHBORS_FIELD_NUMBER = 5 |
static final int | ROUTE_SELECTION_MAX_NEIGHBORS_FIELD_NUMBER = 6 |
Protected Member Functions | |
com.google.protobuf.GeneratedMessage.FieldAccessorTable | internalGetFieldAccessorTable () |
Builder | newBuilderForType (com.google.protobuf.GeneratedMessage.BuilderParent parent) |
Parameters to configure a perturbation based on a ruin and recreate approach.
Protobuf type operations_research.RuinRecreateParameters
Definition at line 15 of file RuinRecreateParameters.java.
boolean com.google.ortools.constraintsolver.RuinRecreateParameters.equals | ( | final java.lang.Object | obj | ) |
Definition at line 334 of file RuinRecreateParameters.java.
|
static |
Definition at line 1412 of file RuinRecreateParameters.java.
com.google.ortools.constraintsolver.RuinRecreateParameters com.google.ortools.constraintsolver.RuinRecreateParameters.getDefaultInstanceForType | ( | ) |
Definition at line 1448 of file RuinRecreateParameters.java.
|
static |
Definition at line 40 of file RuinRecreateParameters.java.
com.google.protobuf.Parser< RuinRecreateParameters > com.google.ortools.constraintsolver.RuinRecreateParameters.getParserForType | ( | ) |
Definition at line 1443 of file RuinRecreateParameters.java.
com.google.ortools.constraintsolver.FirstSolutionStrategy.Value com.google.ortools.constraintsolver.RuinRecreateParameters.getRecreateStrategy | ( | ) |
Strategy defining how a reference solution is recreated.
.operations_research.FirstSolutionStrategy.Value recreate_strategy = 3;
Implements com.google.ortools.constraintsolver.RuinRecreateParametersOrBuilder.
Definition at line 163 of file RuinRecreateParameters.java.
int com.google.ortools.constraintsolver.RuinRecreateParameters.getRecreateStrategyValue | ( | ) |
Strategy defining how a reference solution is recreated.
.operations_research.FirstSolutionStrategy.Value recreate_strategy = 3;
Implements com.google.ortools.constraintsolver.RuinRecreateParametersOrBuilder.
Definition at line 152 of file RuinRecreateParameters.java.
int com.google.ortools.constraintsolver.RuinRecreateParameters.getRouteSelectionMaxNeighbors | ( | ) |
optional uint32 route_selection_max_neighbors = 6;
Implements com.google.ortools.constraintsolver.RuinRecreateParametersOrBuilder.
Definition at line 259 of file RuinRecreateParameters.java.
int com.google.ortools.constraintsolver.RuinRecreateParameters.getRouteSelectionMinNeighbors | ( | ) |
optional uint32 route_selection_min_neighbors = 5;
Implements com.google.ortools.constraintsolver.RuinRecreateParametersOrBuilder.
Definition at line 240 of file RuinRecreateParameters.java.
double com.google.ortools.constraintsolver.RuinRecreateParameters.getRouteSelectionNeighborsRatio | ( | ) |
Ratio in [0, 1] of non start/end nodes to consider as neighbors for the identification of routes spatially close to a non start/end seed node. In particular, given a non start/end seed node s served by route r, we say that a route r' is spatially close to the seed node s if there is at least one non start/end node s' among the neighbors of s, such that s' is served by r'. The neighbors_ratio is coupled with the corresponding min_neighbors and max_neighbors values, defining the minimum and maximum number of neighbor nodes considered for a given seed node: num_neighbors = min(max_neighbors, max(min_neighbors, neighbors_ratio * NUM_NON_START_END_NODES)) Neighbors ratio, and minimum and maximum number of non start/end neighbor nodes for the identification of spatially close routes.
optional double route_selection_neighbors_ratio = 4;
Implements com.google.ortools.constraintsolver.RuinRecreateParametersOrBuilder.
Definition at line 221 of file RuinRecreateParameters.java.
com.google.ortools.constraintsolver.RuinCompositionStrategy.Value com.google.ortools.constraintsolver.RuinRecreateParameters.getRuinCompositionStrategy | ( | ) |
The composition strategy to use when combining the given 'ruin_strategies'. Has no effect when ruin_strategies is composed of a single strategy.
.operations_research.RuinCompositionStrategy.Value ruin_composition_strategy = 2;
Implements com.google.ortools.constraintsolver.RuinRecreateParametersOrBuilder.
Definition at line 137 of file RuinRecreateParameters.java.
int com.google.ortools.constraintsolver.RuinRecreateParameters.getRuinCompositionStrategyValue | ( | ) |
The composition strategy to use when combining the given 'ruin_strategies'. Has no effect when ruin_strategies is composed of a single strategy.
.operations_research.RuinCompositionStrategy.Value ruin_composition_strategy = 2;
Implements com.google.ortools.constraintsolver.RuinRecreateParametersOrBuilder.
Definition at line 125 of file RuinRecreateParameters.java.
com.google.ortools.constraintsolver.RuinStrategy com.google.ortools.constraintsolver.RuinRecreateParameters.getRuinStrategies | ( | int | index | ) |
List of ruin strategies determining how a reference solution is ruined.
repeated .operations_research.RuinStrategy ruin_strategies = 1;
Implements com.google.ortools.constraintsolver.RuinRecreateParametersOrBuilder.
Definition at line 98 of file RuinRecreateParameters.java.
int com.google.ortools.constraintsolver.RuinRecreateParameters.getRuinStrategiesCount | ( | ) |
List of ruin strategies determining how a reference solution is ruined.
repeated .operations_research.RuinStrategy ruin_strategies = 1;
Implements com.google.ortools.constraintsolver.RuinRecreateParametersOrBuilder.
Definition at line 87 of file RuinRecreateParameters.java.
java.util.List< com.google.ortools.constraintsolver.RuinStrategy > com.google.ortools.constraintsolver.RuinRecreateParameters.getRuinStrategiesList | ( | ) |
List of ruin strategies determining how a reference solution is ruined.
repeated .operations_research.RuinStrategy ruin_strategies = 1;
Implements com.google.ortools.constraintsolver.RuinRecreateParametersOrBuilder.
Definition at line 64 of file RuinRecreateParameters.java.
com.google.ortools.constraintsolver.RuinStrategyOrBuilder com.google.ortools.constraintsolver.RuinRecreateParameters.getRuinStrategiesOrBuilder | ( | int | index | ) |
List of ruin strategies determining how a reference solution is ruined.
repeated .operations_research.RuinStrategy ruin_strategies = 1;
Implements com.google.ortools.constraintsolver.RuinRecreateParametersOrBuilder.
Definition at line 109 of file RuinRecreateParameters.java.
java.util.List<? extends com.google.ortools.constraintsolver.RuinStrategyOrBuilder > com.google.ortools.constraintsolver.RuinRecreateParameters.getRuinStrategiesOrBuilderList | ( | ) |
List of ruin strategies determining how a reference solution is ruined.
repeated .operations_research.RuinStrategy ruin_strategies = 1;
Implements com.google.ortools.constraintsolver.RuinRecreateParametersOrBuilder.
Definition at line 76 of file RuinRecreateParameters.java.
int com.google.ortools.constraintsolver.RuinRecreateParameters.getSerializedSize | ( | ) |
Definition at line 299 of file RuinRecreateParameters.java.
int com.google.ortools.constraintsolver.RuinRecreateParameters.hashCode | ( | ) |
Definition at line 368 of file RuinRecreateParameters.java.
boolean com.google.ortools.constraintsolver.RuinRecreateParameters.hasRouteSelectionMaxNeighbors | ( | ) |
optional uint32 route_selection_max_neighbors = 6;
Implements com.google.ortools.constraintsolver.RuinRecreateParametersOrBuilder.
Definition at line 251 of file RuinRecreateParameters.java.
boolean com.google.ortools.constraintsolver.RuinRecreateParameters.hasRouteSelectionMinNeighbors | ( | ) |
optional uint32 route_selection_min_neighbors = 5;
Implements com.google.ortools.constraintsolver.RuinRecreateParametersOrBuilder.
Definition at line 232 of file RuinRecreateParameters.java.
boolean com.google.ortools.constraintsolver.RuinRecreateParameters.hasRouteSelectionNeighborsRatio | ( | ) |
Ratio in [0, 1] of non start/end nodes to consider as neighbors for the identification of routes spatially close to a non start/end seed node. In particular, given a non start/end seed node s served by route r, we say that a route r' is spatially close to the seed node s if there is at least one non start/end node s' among the neighbors of s, such that s' is served by r'. The neighbors_ratio is coupled with the corresponding min_neighbors and max_neighbors values, defining the minimum and maximum number of neighbor nodes considered for a given seed node: num_neighbors = min(max_neighbors, max(min_neighbors, neighbors_ratio * NUM_NON_START_END_NODES)) Neighbors ratio, and minimum and maximum number of non start/end neighbor nodes for the identification of spatially close routes.
optional double route_selection_neighbors_ratio = 4;
Implements com.google.ortools.constraintsolver.RuinRecreateParametersOrBuilder.
Definition at line 194 of file RuinRecreateParameters.java.
|
protected |
Definition at line 46 of file RuinRecreateParameters.java.
final boolean com.google.ortools.constraintsolver.RuinRecreateParameters.isInitialized | ( | ) |
Definition at line 265 of file RuinRecreateParameters.java.
|
static |
Definition at line 474 of file RuinRecreateParameters.java.
|
static |
Definition at line 477 of file RuinRecreateParameters.java.
Builder com.google.ortools.constraintsolver.RuinRecreateParameters.newBuilderForType | ( | ) |
Definition at line 473 of file RuinRecreateParameters.java.
|
protected |
Definition at line 487 of file RuinRecreateParameters.java.
|
static |
Definition at line 445 of file RuinRecreateParameters.java.
|
static |
Definition at line 451 of file RuinRecreateParameters.java.
|
static |
Definition at line 422 of file RuinRecreateParameters.java.
|
static |
Definition at line 426 of file RuinRecreateParameters.java.
|
static |
Definition at line 411 of file RuinRecreateParameters.java.
|
static |
Definition at line 416 of file RuinRecreateParameters.java.
|
static |
Definition at line 458 of file RuinRecreateParameters.java.
|
static |
Definition at line 464 of file RuinRecreateParameters.java.
|
static |
Definition at line 432 of file RuinRecreateParameters.java.
|
static |
Definition at line 437 of file RuinRecreateParameters.java.
|
static |
Definition at line 400 of file RuinRecreateParameters.java.
|
static |
Definition at line 405 of file RuinRecreateParameters.java.
|
static |
Definition at line 1438 of file RuinRecreateParameters.java.
Builder com.google.ortools.constraintsolver.RuinRecreateParameters.toBuilder | ( | ) |
Definition at line 481 of file RuinRecreateParameters.java.
void com.google.ortools.constraintsolver.RuinRecreateParameters.writeTo | ( | com.google.protobuf.CodedOutputStream | output | ) | throws java.io.IOException |
Definition at line 275 of file RuinRecreateParameters.java.
|
static |
Definition at line 142 of file RuinRecreateParameters.java.
|
static |
Definition at line 244 of file RuinRecreateParameters.java.
|
static |
Definition at line 225 of file RuinRecreateParameters.java.
|
static |
Definition at line 168 of file RuinRecreateParameters.java.
|
static |
Definition at line 114 of file RuinRecreateParameters.java.
|
static |
Definition at line 53 of file RuinRecreateParameters.java.