![]() |
Google OR-Tools v9.15
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 517 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 955 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 878 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 919 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 898 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 937 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 1048 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 1059 of file RuinRecreateParameters.java.
| com.google.ortools.constraintsolver.RuinRecreateParameters com.google.ortools.constraintsolver.RuinRecreateParameters.Builder.build | ( | ) |
Definition at line 586 of file RuinRecreateParameters.java.
| com.google.ortools.constraintsolver.RuinRecreateParameters com.google.ortools.constraintsolver.RuinRecreateParameters.Builder.buildPartial | ( | ) |
Definition at line 595 of file RuinRecreateParameters.java.
| Builder com.google.ortools.constraintsolver.RuinRecreateParameters.Builder.clear | ( | ) |
Definition at line 552 of file RuinRecreateParameters.java.
| Builder com.google.ortools.constraintsolver.RuinRecreateParameters.Builder.clearRecreateStrategy | ( | ) |
Strategy defining how a reference solution is recreated.
.operations_research.RecreateStrategy recreate_strategy = 3;
Definition at line 1265 of file RuinRecreateParameters.java.
| Builder com.google.ortools.constraintsolver.RuinRecreateParameters.Builder.clearRouteSelectionMaxNeighbors | ( | ) |
optional uint32 route_selection_max_neighbors = 6;
Definition at line 1512 of file RuinRecreateParameters.java.
| Builder com.google.ortools.constraintsolver.RuinRecreateParameters.Builder.clearRouteSelectionMinNeighbors | ( | ) |
optional uint32 route_selection_min_neighbors = 5;
Definition at line 1472 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 1432 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 1159 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 974 of file RuinRecreateParameters.java.
| com.google.ortools.constraintsolver.RuinRecreateParameters com.google.ortools.constraintsolver.RuinRecreateParameters.Builder.getDefaultInstanceForType | ( | ) |
Definition at line 581 of file RuinRecreateParameters.java.
|
static |
Definition at line 522 of file RuinRecreateParameters.java.
| com.google.protobuf.Descriptors.Descriptor com.google.ortools.constraintsolver.RuinRecreateParameters.Builder.getDescriptorForType | ( | ) |
Definition at line 576 of file RuinRecreateParameters.java.
| com.google.ortools.constraintsolver.RecreateStrategy com.google.ortools.constraintsolver.RuinRecreateParameters.Builder.getRecreateStrategy | ( | ) |
Strategy defining how a reference solution is recreated.
.operations_research.RecreateStrategy recreate_strategy = 3;
Implements com.google.ortools.constraintsolver.RuinRecreateParametersOrBuilder.
Definition at line 1188 of file RuinRecreateParameters.java.
| com.google.ortools.constraintsolver.RecreateStrategy.Builder com.google.ortools.constraintsolver.RuinRecreateParameters.Builder.getRecreateStrategyBuilder | ( | ) |
Strategy defining how a reference solution is recreated.
.operations_research.RecreateStrategy recreate_strategy = 3;
Definition at line 1282 of file RuinRecreateParameters.java.
| com.google.ortools.constraintsolver.RecreateStrategyOrBuilder com.google.ortools.constraintsolver.RuinRecreateParameters.Builder.getRecreateStrategyOrBuilder | ( | ) |
Strategy defining how a reference solution is recreated.
.operations_research.RecreateStrategy recreate_strategy = 3;
Implements com.google.ortools.constraintsolver.RuinRecreateParametersOrBuilder.
Definition at line 1294 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 1493 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 1453 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 1375 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 1129 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 1100 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 825 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 1008 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 1072 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 811 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 797 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 1019 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 1034 of file RuinRecreateParameters.java.
| boolean com.google.ortools.constraintsolver.RuinRecreateParameters.Builder.hasRecreateStrategy | ( | ) |
Strategy defining how a reference solution is recreated.
.operations_research.RecreateStrategy recreate_strategy = 3;
Implements com.google.ortools.constraintsolver.RuinRecreateParametersOrBuilder.
Definition at line 1177 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 1485 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 1445 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 1348 of file RuinRecreateParameters.java.
|
protected |
Definition at line 528 of file RuinRecreateParameters.java.
| final boolean com.google.ortools.constraintsolver.RuinRecreateParameters.Builder.isInitialized | ( | ) |
Definition at line 701 of file RuinRecreateParameters.java.
| Builder com.google.ortools.constraintsolver.RuinRecreateParameters.Builder.mergeFrom | ( | com.google.ortools.constraintsolver.RuinRecreateParameters | other | ) |
Definition at line 652 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 706 of file RuinRecreateParameters.java.
| Builder com.google.ortools.constraintsolver.RuinRecreateParameters.Builder.mergeFrom | ( | com.google.protobuf.Message | other | ) |
Definition at line 643 of file RuinRecreateParameters.java.
| Builder com.google.ortools.constraintsolver.RuinRecreateParameters.Builder.mergeRecreateStrategy | ( | com.google.ortools.constraintsolver.RecreateStrategy | value | ) |
Strategy defining how a reference solution is recreated.
.operations_research.RecreateStrategy recreate_strategy = 3;
Definition at line 1240 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 991 of file RuinRecreateParameters.java.
| Builder com.google.ortools.constraintsolver.RuinRecreateParameters.Builder.setRecreateStrategy | ( | com.google.ortools.constraintsolver.RecreateStrategy | value | ) |
Strategy defining how a reference solution is recreated.
.operations_research.RecreateStrategy recreate_strategy = 3;
Definition at line 1202 of file RuinRecreateParameters.java.
| Builder com.google.ortools.constraintsolver.RuinRecreateParameters.Builder.setRecreateStrategy | ( | com.google.ortools.constraintsolver.RecreateStrategy.Builder | builderForValue | ) |
Strategy defining how a reference solution is recreated.
.operations_research.RecreateStrategy recreate_strategy = 3;
Definition at line 1222 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 1501 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 1461 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 1402 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 1143 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 1113 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 839 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 860 of file RuinRecreateParameters.java.