![]() |
Google OR-Tools v9.14
a fast and portable software suite for combinatorial optimization
|
Parameters to configure a perturbation based on a ruin and recreate approach.
Protobuf type operations_research.RuinRecreateParameters
Definition at line 500 of file RuinRecreateParameters.java.
Static Public Member Functions | |
static final com.google.protobuf.Descriptors.Descriptor | getDescriptor () |
Protected Member Functions | |
com.google.protobuf.GeneratedMessage.FieldAccessorTable | internalGetFieldAccessorTable () |
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 922 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 845 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 886 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 865 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 904 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 1015 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 1026 of file RuinRecreateParameters.java.
com.google.ortools.constraintsolver.RuinRecreateParameters com.google.ortools.constraintsolver.RuinRecreateParameters.Builder.build | ( | ) |
Definition at line 558 of file RuinRecreateParameters.java.
com.google.ortools.constraintsolver.RuinRecreateParameters com.google.ortools.constraintsolver.RuinRecreateParameters.Builder.buildPartial | ( | ) |
Definition at line 567 of file RuinRecreateParameters.java.
Builder com.google.ortools.constraintsolver.RuinRecreateParameters.Builder.clear | ( | ) |
Definition at line 528 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 1197 of file RuinRecreateParameters.java.
Builder com.google.ortools.constraintsolver.RuinRecreateParameters.Builder.clearRouteSelectionMaxNeighbors | ( | ) |
optional uint32 route_selection_max_neighbors = 6;
Definition at line 1393 of file RuinRecreateParameters.java.
Builder com.google.ortools.constraintsolver.RuinRecreateParameters.Builder.clearRouteSelectionMinNeighbors | ( | ) |
optional uint32 route_selection_min_neighbors = 5;
Definition at line 1353 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 1313 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 1126 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 941 of file RuinRecreateParameters.java.
com.google.ortools.constraintsolver.RuinRecreateParameters com.google.ortools.constraintsolver.RuinRecreateParameters.Builder.getDefaultInstanceForType | ( | ) |
Definition at line 553 of file RuinRecreateParameters.java.
|
static |
Definition at line 505 of file RuinRecreateParameters.java.
com.google.protobuf.Descriptors.Descriptor com.google.ortools.constraintsolver.RuinRecreateParameters.Builder.getDescriptorForType | ( | ) |
Definition at line 548 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 1169 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 1142 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 1374 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 1334 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 1256 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 1096 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 1067 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 792 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 975 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 1039 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 778 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 764 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 986 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 1001 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 1366 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 1326 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 1229 of file RuinRecreateParameters.java.
|
protected |
Definition at line 511 of file RuinRecreateParameters.java.
final boolean com.google.ortools.constraintsolver.RuinRecreateParameters.Builder.isInitialized | ( | ) |
Definition at line 670 of file RuinRecreateParameters.java.
Builder com.google.ortools.constraintsolver.RuinRecreateParameters.Builder.mergeFrom | ( | com.google.ortools.constraintsolver.RuinRecreateParameters | other | ) |
Definition at line 621 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 675 of file RuinRecreateParameters.java.
Builder com.google.ortools.constraintsolver.RuinRecreateParameters.Builder.mergeFrom | ( | com.google.protobuf.Message | other | ) |
Definition at line 612 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 958 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 1182 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 1154 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 1382 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 1342 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 1283 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 1110 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 1080 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 806 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 827 of file RuinRecreateParameters.java.