![]() |
Google OR-Tools v9.12
a fast and portable software suite for combinatorial optimization
|
Public Member Functions | |
java.util.List< com.google.ortools.constraintsolver.RuinStrategy > | getRuinStrategiesList () |
com.google.ortools.constraintsolver.RuinStrategy | getRuinStrategies (int index) |
int | getRuinStrategiesCount () |
java.util.List<? extends com.google.ortools.constraintsolver.RuinStrategyOrBuilder > | getRuinStrategiesOrBuilderList () |
com.google.ortools.constraintsolver.RuinStrategyOrBuilder | getRuinStrategiesOrBuilder (int index) |
int | getRuinCompositionStrategyValue () |
com.google.ortools.constraintsolver.RuinCompositionStrategy.Value | getRuinCompositionStrategy () |
int | getRecreateStrategyValue () |
com.google.ortools.constraintsolver.FirstSolutionStrategy.Value | getRecreateStrategy () |
boolean | hasRouteSelectionNeighborsRatio () |
double | getRouteSelectionNeighborsRatio () |
boolean | hasRouteSelectionMinNeighbors () |
int | getRouteSelectionMinNeighbors () |
boolean | hasRouteSelectionMaxNeighbors () |
int | getRouteSelectionMaxNeighbors () |
Definition at line 8 of file RuinRecreateParametersOrBuilder.java.
com.google.ortools.constraintsolver.FirstSolutionStrategy.Value com.google.ortools.constraintsolver.RuinRecreateParametersOrBuilder.getRecreateStrategy | ( | ) |
Strategy defining how a reference solution is recreated.
.operations_research.FirstSolutionStrategy.Value recreate_strategy = 3;
Implemented in com.google.ortools.constraintsolver.RuinRecreateParameters.Builder, and com.google.ortools.constraintsolver.RuinRecreateParameters.
int com.google.ortools.constraintsolver.RuinRecreateParametersOrBuilder.getRecreateStrategyValue | ( | ) |
Strategy defining how a reference solution is recreated.
.operations_research.FirstSolutionStrategy.Value recreate_strategy = 3;
Implemented in com.google.ortools.constraintsolver.RuinRecreateParameters.Builder, and com.google.ortools.constraintsolver.RuinRecreateParameters.
int com.google.ortools.constraintsolver.RuinRecreateParametersOrBuilder.getRouteSelectionMaxNeighbors | ( | ) |
optional uint32 route_selection_max_neighbors = 6;
Implemented in com.google.ortools.constraintsolver.RuinRecreateParameters.Builder, and com.google.ortools.constraintsolver.RuinRecreateParameters.
int com.google.ortools.constraintsolver.RuinRecreateParametersOrBuilder.getRouteSelectionMinNeighbors | ( | ) |
optional uint32 route_selection_min_neighbors = 5;
Implemented in com.google.ortools.constraintsolver.RuinRecreateParameters.Builder, and com.google.ortools.constraintsolver.RuinRecreateParameters.
double com.google.ortools.constraintsolver.RuinRecreateParametersOrBuilder.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;
Implemented in com.google.ortools.constraintsolver.RuinRecreateParameters.Builder, and com.google.ortools.constraintsolver.RuinRecreateParameters.
com.google.ortools.constraintsolver.RuinCompositionStrategy.Value com.google.ortools.constraintsolver.RuinRecreateParametersOrBuilder.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;
Implemented in com.google.ortools.constraintsolver.RuinRecreateParameters.Builder, and com.google.ortools.constraintsolver.RuinRecreateParameters.
int com.google.ortools.constraintsolver.RuinRecreateParametersOrBuilder.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;
Implemented in com.google.ortools.constraintsolver.RuinRecreateParameters.Builder, and com.google.ortools.constraintsolver.RuinRecreateParameters.
com.google.ortools.constraintsolver.RuinStrategy com.google.ortools.constraintsolver.RuinRecreateParametersOrBuilder.getRuinStrategies | ( | int | index | ) |
List of ruin strategies determining how a reference solution is ruined.
repeated .operations_research.RuinStrategy ruin_strategies = 1;
Implemented in com.google.ortools.constraintsolver.RuinRecreateParameters.Builder, and com.google.ortools.constraintsolver.RuinRecreateParameters.
int com.google.ortools.constraintsolver.RuinRecreateParametersOrBuilder.getRuinStrategiesCount | ( | ) |
List of ruin strategies determining how a reference solution is ruined.
repeated .operations_research.RuinStrategy ruin_strategies = 1;
Implemented in com.google.ortools.constraintsolver.RuinRecreateParameters.Builder, and com.google.ortools.constraintsolver.RuinRecreateParameters.
java.util.List< com.google.ortools.constraintsolver.RuinStrategy > com.google.ortools.constraintsolver.RuinRecreateParametersOrBuilder.getRuinStrategiesList | ( | ) |
List of ruin strategies determining how a reference solution is ruined.
repeated .operations_research.RuinStrategy ruin_strategies = 1;
Implemented in com.google.ortools.constraintsolver.RuinRecreateParameters.Builder, and com.google.ortools.constraintsolver.RuinRecreateParameters.
com.google.ortools.constraintsolver.RuinStrategyOrBuilder com.google.ortools.constraintsolver.RuinRecreateParametersOrBuilder.getRuinStrategiesOrBuilder | ( | int | index | ) |
List of ruin strategies determining how a reference solution is ruined.
repeated .operations_research.RuinStrategy ruin_strategies = 1;
Implemented in com.google.ortools.constraintsolver.RuinRecreateParameters.Builder, and com.google.ortools.constraintsolver.RuinRecreateParameters.
java.util.List<? extends com.google.ortools.constraintsolver.RuinStrategyOrBuilder > com.google.ortools.constraintsolver.RuinRecreateParametersOrBuilder.getRuinStrategiesOrBuilderList | ( | ) |
List of ruin strategies determining how a reference solution is ruined.
repeated .operations_research.RuinStrategy ruin_strategies = 1;
Implemented in com.google.ortools.constraintsolver.RuinRecreateParameters.Builder, and com.google.ortools.constraintsolver.RuinRecreateParameters.
boolean com.google.ortools.constraintsolver.RuinRecreateParametersOrBuilder.hasRouteSelectionMaxNeighbors | ( | ) |
optional uint32 route_selection_max_neighbors = 6;
Implemented in com.google.ortools.constraintsolver.RuinRecreateParameters.Builder, and com.google.ortools.constraintsolver.RuinRecreateParameters.
boolean com.google.ortools.constraintsolver.RuinRecreateParametersOrBuilder.hasRouteSelectionMinNeighbors | ( | ) |
optional uint32 route_selection_min_neighbors = 5;
Implemented in com.google.ortools.constraintsolver.RuinRecreateParameters.Builder, and com.google.ortools.constraintsolver.RuinRecreateParameters.
boolean com.google.ortools.constraintsolver.RuinRecreateParametersOrBuilder.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;
Implemented in com.google.ortools.constraintsolver.RuinRecreateParameters.Builder, and com.google.ortools.constraintsolver.RuinRecreateParameters.