![]() |
Google OR-Tools v9.12
a fast and portable software suite for combinatorial optimization
|
Static Public Member Functions | |
static final com.google.protobuf.Descriptors.Descriptor | getDescriptor () |
Protected Member Functions | |
com.google.protobuf.GeneratedMessage.FieldAccessorTable | internalGetFieldAccessorTable () |
Parameters to configure a perturbation based on a ruin and recreate approach.
Protobuf type operations_research.RuinRecreateParameters
Definition at line 499 of file RuinRecreateParameters.java.
Builder com.google.ortools.constraintsolver.RuinRecreateParameters.Builder.addAllRuinStrategies | ( | java.lang.Iterable<? extends com.google.ortools.constraintsolver.RuinStrategy > | values | ) |
List of ruin strategies determining how a reference solution is ruined.
repeated .operations_research.RuinStrategy ruin_strategies = 1;
Definition at line 921 of file RuinRecreateParameters.java.
Builder com.google.ortools.constraintsolver.RuinRecreateParameters.Builder.addRuinStrategies | ( | com.google.ortools.constraintsolver.RuinStrategy | value | ) |
List of ruin strategies determining how a reference solution is ruined.
repeated .operations_research.RuinStrategy ruin_strategies = 1;
Definition at line 844 of file RuinRecreateParameters.java.
Builder com.google.ortools.constraintsolver.RuinRecreateParameters.Builder.addRuinStrategies | ( | com.google.ortools.constraintsolver.RuinStrategy.Builder | builderForValue | ) |
List of ruin strategies determining how a reference solution is ruined.
repeated .operations_research.RuinStrategy ruin_strategies = 1;
Definition at line 885 of file RuinRecreateParameters.java.
Builder com.google.ortools.constraintsolver.RuinRecreateParameters.Builder.addRuinStrategies | ( | int | index, |
com.google.ortools.constraintsolver.RuinStrategy | value ) |
List of ruin strategies determining how a reference solution is ruined.
repeated .operations_research.RuinStrategy ruin_strategies = 1;
Definition at line 864 of file RuinRecreateParameters.java.
Builder com.google.ortools.constraintsolver.RuinRecreateParameters.Builder.addRuinStrategies | ( | int | index, |
com.google.ortools.constraintsolver.RuinStrategy.Builder | builderForValue ) |
List of ruin strategies determining how a reference solution is ruined.
repeated .operations_research.RuinStrategy ruin_strategies = 1;
Definition at line 903 of file RuinRecreateParameters.java.
com.google.ortools.constraintsolver.RuinStrategy.Builder com.google.ortools.constraintsolver.RuinRecreateParameters.Builder.addRuinStrategiesBuilder | ( | ) |
List of ruin strategies determining how a reference solution is ruined.
repeated .operations_research.RuinStrategy ruin_strategies = 1;
Definition at line 1014 of file RuinRecreateParameters.java.
com.google.ortools.constraintsolver.RuinStrategy.Builder com.google.ortools.constraintsolver.RuinRecreateParameters.Builder.addRuinStrategiesBuilder | ( | int | index | ) |
List of ruin strategies determining how a reference solution is ruined.
repeated .operations_research.RuinStrategy ruin_strategies = 1;
Definition at line 1025 of file RuinRecreateParameters.java.
com.google.ortools.constraintsolver.RuinRecreateParameters com.google.ortools.constraintsolver.RuinRecreateParameters.Builder.build | ( | ) |
Definition at line 557 of file RuinRecreateParameters.java.
com.google.ortools.constraintsolver.RuinRecreateParameters com.google.ortools.constraintsolver.RuinRecreateParameters.Builder.buildPartial | ( | ) |
Definition at line 566 of file RuinRecreateParameters.java.
Builder com.google.ortools.constraintsolver.RuinRecreateParameters.Builder.clear | ( | ) |
Definition at line 527 of file RuinRecreateParameters.java.
Builder com.google.ortools.constraintsolver.RuinRecreateParameters.Builder.clearRecreateStrategy | ( | ) |
Strategy defining how a reference solution is recreated.
.operations_research.FirstSolutionStrategy.Value recreate_strategy = 3;
Definition at line 1200 of file RuinRecreateParameters.java.
Builder com.google.ortools.constraintsolver.RuinRecreateParameters.Builder.clearRouteSelectionMaxNeighbors | ( | ) |
optional uint32 route_selection_max_neighbors = 6;
Definition at line 1396 of file RuinRecreateParameters.java.
Builder com.google.ortools.constraintsolver.RuinRecreateParameters.Builder.clearRouteSelectionMinNeighbors | ( | ) |
optional uint32 route_selection_min_neighbors = 5;
Definition at line 1356 of file RuinRecreateParameters.java.
Builder com.google.ortools.constraintsolver.RuinRecreateParameters.Builder.clearRouteSelectionNeighborsRatio | ( | ) |
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;
Definition at line 1316 of file RuinRecreateParameters.java.
Builder com.google.ortools.constraintsolver.RuinRecreateParameters.Builder.clearRuinCompositionStrategy | ( | ) |
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;
Definition at line 1127 of file RuinRecreateParameters.java.
Builder com.google.ortools.constraintsolver.RuinRecreateParameters.Builder.clearRuinStrategies | ( | ) |
List of ruin strategies determining how a reference solution is ruined.
repeated .operations_research.RuinStrategy ruin_strategies = 1;
Definition at line 940 of file RuinRecreateParameters.java.
com.google.ortools.constraintsolver.RuinRecreateParameters com.google.ortools.constraintsolver.RuinRecreateParameters.Builder.getDefaultInstanceForType | ( | ) |
Definition at line 552 of file RuinRecreateParameters.java.
|
static |
Definition at line 504 of file RuinRecreateParameters.java.
com.google.protobuf.Descriptors.Descriptor com.google.ortools.constraintsolver.RuinRecreateParameters.Builder.getDescriptorForType | ( | ) |
Definition at line 547 of file RuinRecreateParameters.java.
com.google.ortools.constraintsolver.FirstSolutionStrategy.Value com.google.ortools.constraintsolver.RuinRecreateParameters.Builder.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 1170 of file RuinRecreateParameters.java.
int com.google.ortools.constraintsolver.RuinRecreateParameters.Builder.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 1143 of file RuinRecreateParameters.java.
int com.google.ortools.constraintsolver.RuinRecreateParameters.Builder.getRouteSelectionMaxNeighbors | ( | ) |
optional uint32 route_selection_max_neighbors = 6;
Implements com.google.ortools.constraintsolver.RuinRecreateParametersOrBuilder.
Definition at line 1377 of file RuinRecreateParameters.java.
int com.google.ortools.constraintsolver.RuinRecreateParameters.Builder.getRouteSelectionMinNeighbors | ( | ) |
optional uint32 route_selection_min_neighbors = 5;
Implements com.google.ortools.constraintsolver.RuinRecreateParametersOrBuilder.
Definition at line 1337 of file RuinRecreateParameters.java.
double com.google.ortools.constraintsolver.RuinRecreateParameters.Builder.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 1259 of file RuinRecreateParameters.java.
com.google.ortools.constraintsolver.RuinCompositionStrategy.Value com.google.ortools.constraintsolver.RuinRecreateParameters.Builder.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 1095 of file RuinRecreateParameters.java.
int com.google.ortools.constraintsolver.RuinRecreateParameters.Builder.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 1066 of file RuinRecreateParameters.java.
com.google.ortools.constraintsolver.RuinStrategy com.google.ortools.constraintsolver.RuinRecreateParameters.Builder.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 791 of file RuinRecreateParameters.java.
com.google.ortools.constraintsolver.RuinStrategy.Builder com.google.ortools.constraintsolver.RuinRecreateParameters.Builder.getRuinStrategiesBuilder | ( | int | index | ) |
List of ruin strategies determining how a reference solution is ruined.
repeated .operations_research.RuinStrategy ruin_strategies = 1;
Definition at line 974 of file RuinRecreateParameters.java.
java.util.List< com.google.ortools.constraintsolver.RuinStrategy.Builder > com.google.ortools.constraintsolver.RuinRecreateParameters.Builder.getRuinStrategiesBuilderList | ( | ) |
List of ruin strategies determining how a reference solution is ruined.
repeated .operations_research.RuinStrategy ruin_strategies = 1;
Definition at line 1038 of file RuinRecreateParameters.java.
int com.google.ortools.constraintsolver.RuinRecreateParameters.Builder.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 777 of file RuinRecreateParameters.java.
java.util.List< com.google.ortools.constraintsolver.RuinStrategy > com.google.ortools.constraintsolver.RuinRecreateParameters.Builder.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 763 of file RuinRecreateParameters.java.
com.google.ortools.constraintsolver.RuinStrategyOrBuilder com.google.ortools.constraintsolver.RuinRecreateParameters.Builder.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 985 of file RuinRecreateParameters.java.
java.util.List<? extends com.google.ortools.constraintsolver.RuinStrategyOrBuilder > com.google.ortools.constraintsolver.RuinRecreateParameters.Builder.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 1000 of file RuinRecreateParameters.java.
boolean com.google.ortools.constraintsolver.RuinRecreateParameters.Builder.hasRouteSelectionMaxNeighbors | ( | ) |
optional uint32 route_selection_max_neighbors = 6;
Implements com.google.ortools.constraintsolver.RuinRecreateParametersOrBuilder.
Definition at line 1369 of file RuinRecreateParameters.java.
boolean com.google.ortools.constraintsolver.RuinRecreateParameters.Builder.hasRouteSelectionMinNeighbors | ( | ) |
optional uint32 route_selection_min_neighbors = 5;
Implements com.google.ortools.constraintsolver.RuinRecreateParametersOrBuilder.
Definition at line 1329 of file RuinRecreateParameters.java.
boolean com.google.ortools.constraintsolver.RuinRecreateParameters.Builder.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 1232 of file RuinRecreateParameters.java.
|
protected |
Definition at line 510 of file RuinRecreateParameters.java.
final boolean com.google.ortools.constraintsolver.RuinRecreateParameters.Builder.isInitialized | ( | ) |
Definition at line 669 of file RuinRecreateParameters.java.
Builder com.google.ortools.constraintsolver.RuinRecreateParameters.Builder.mergeFrom | ( | com.google.ortools.constraintsolver.RuinRecreateParameters | other | ) |
Definition at line 620 of file RuinRecreateParameters.java.
Builder com.google.ortools.constraintsolver.RuinRecreateParameters.Builder.mergeFrom | ( | com.google.protobuf.CodedInputStream | input, |
com.google.protobuf.ExtensionRegistryLite | extensionRegistry ) throws java.io.IOException |
Definition at line 674 of file RuinRecreateParameters.java.
Builder com.google.ortools.constraintsolver.RuinRecreateParameters.Builder.mergeFrom | ( | com.google.protobuf.Message | other | ) |
Definition at line 611 of file RuinRecreateParameters.java.
Builder com.google.ortools.constraintsolver.RuinRecreateParameters.Builder.removeRuinStrategies | ( | int | index | ) |
List of ruin strategies determining how a reference solution is ruined.
repeated .operations_research.RuinStrategy ruin_strategies = 1;
Definition at line 957 of file RuinRecreateParameters.java.
Builder com.google.ortools.constraintsolver.RuinRecreateParameters.Builder.setRecreateStrategy | ( | com.google.ortools.constraintsolver.FirstSolutionStrategy.Value | value | ) |
Strategy defining how a reference solution is recreated.
.operations_research.FirstSolutionStrategy.Value recreate_strategy = 3;
value | The recreateStrategy to set. |
Definition at line 1183 of file RuinRecreateParameters.java.
Builder com.google.ortools.constraintsolver.RuinRecreateParameters.Builder.setRecreateStrategyValue | ( | int | value | ) |
Strategy defining how a reference solution is recreated.
.operations_research.FirstSolutionStrategy.Value recreate_strategy = 3;
value | The enum numeric value on the wire for recreateStrategy to set. |
Definition at line 1155 of file RuinRecreateParameters.java.
Builder com.google.ortools.constraintsolver.RuinRecreateParameters.Builder.setRouteSelectionMaxNeighbors | ( | int | value | ) |
optional uint32 route_selection_max_neighbors = 6;
value | The routeSelectionMaxNeighbors to set. |
Definition at line 1385 of file RuinRecreateParameters.java.
Builder com.google.ortools.constraintsolver.RuinRecreateParameters.Builder.setRouteSelectionMinNeighbors | ( | int | value | ) |
optional uint32 route_selection_min_neighbors = 5;
value | The routeSelectionMinNeighbors to set. |
Definition at line 1345 of file RuinRecreateParameters.java.
Builder com.google.ortools.constraintsolver.RuinRecreateParameters.Builder.setRouteSelectionNeighborsRatio | ( | double | value | ) |
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;
value | The routeSelectionNeighborsRatio to set. |
Definition at line 1286 of file RuinRecreateParameters.java.
Builder com.google.ortools.constraintsolver.RuinRecreateParameters.Builder.setRuinCompositionStrategy | ( | com.google.ortools.constraintsolver.RuinCompositionStrategy.Value | value | ) |
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;
value | The ruinCompositionStrategy to set. |
Definition at line 1109 of file RuinRecreateParameters.java.
Builder com.google.ortools.constraintsolver.RuinRecreateParameters.Builder.setRuinCompositionStrategyValue | ( | int | value | ) |
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;
value | The enum numeric value on the wire for ruinCompositionStrategy to set. |
Definition at line 1079 of file RuinRecreateParameters.java.
Builder com.google.ortools.constraintsolver.RuinRecreateParameters.Builder.setRuinStrategies | ( | int | index, |
com.google.ortools.constraintsolver.RuinStrategy | value ) |
List of ruin strategies determining how a reference solution is ruined.
repeated .operations_research.RuinStrategy ruin_strategies = 1;
Definition at line 805 of file RuinRecreateParameters.java.
Builder com.google.ortools.constraintsolver.RuinRecreateParameters.Builder.setRuinStrategies | ( | int | index, |
com.google.ortools.constraintsolver.RuinStrategy.Builder | builderForValue ) |
List of ruin strategies determining how a reference solution is ruined.
repeated .operations_research.RuinStrategy ruin_strategies = 1;
Definition at line 826 of file RuinRecreateParameters.java.