Google OR-Tools v9.12
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
com.google.ortools.constraintsolver.RuinRecreateParametersOrBuilder Interface Reference
Inheritance diagram for com.google.ortools.constraintsolver.RuinRecreateParametersOrBuilder:
com.google.ortools.constraintsolver.RuinRecreateParameters com.google.ortools.constraintsolver.RuinRecreateParameters.Builder

Public Member Functions

java.util.List< com.google.ortools.constraintsolver.RuinStrategygetRuinStrategiesList ()
 
com.google.ortools.constraintsolver.RuinStrategy getRuinStrategies (int index)
 
int getRuinStrategiesCount ()
 
java.util.List<? extends com.google.ortools.constraintsolver.RuinStrategyOrBuildergetRuinStrategiesOrBuilderList ()
 
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 ()
 

Detailed Description

Definition at line 8 of file RuinRecreateParametersOrBuilder.java.

Member Function Documentation

◆ getRecreateStrategy()

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;

Returns
The recreateStrategy.

Implemented in com.google.ortools.constraintsolver.RuinRecreateParameters.Builder, and com.google.ortools.constraintsolver.RuinRecreateParameters.

◆ getRecreateStrategyValue()

int com.google.ortools.constraintsolver.RuinRecreateParametersOrBuilder.getRecreateStrategyValue ( )
Strategy defining how a reference solution is recreated.

.operations_research.FirstSolutionStrategy.Value recreate_strategy = 3;

Returns
The enum numeric value on the wire for recreateStrategy.

Implemented in com.google.ortools.constraintsolver.RuinRecreateParameters.Builder, and com.google.ortools.constraintsolver.RuinRecreateParameters.

◆ getRouteSelectionMaxNeighbors()

int com.google.ortools.constraintsolver.RuinRecreateParametersOrBuilder.getRouteSelectionMaxNeighbors ( )

optional uint32 route_selection_max_neighbors = 6;

Returns
The routeSelectionMaxNeighbors.

Implemented in com.google.ortools.constraintsolver.RuinRecreateParameters.Builder, and com.google.ortools.constraintsolver.RuinRecreateParameters.

◆ getRouteSelectionMinNeighbors()

int com.google.ortools.constraintsolver.RuinRecreateParametersOrBuilder.getRouteSelectionMinNeighbors ( )

optional uint32 route_selection_min_neighbors = 5;

Returns
The routeSelectionMinNeighbors.

Implemented in com.google.ortools.constraintsolver.RuinRecreateParameters.Builder, and com.google.ortools.constraintsolver.RuinRecreateParameters.

◆ getRouteSelectionNeighborsRatio()

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;

Returns
The routeSelectionNeighborsRatio.

Implemented in com.google.ortools.constraintsolver.RuinRecreateParameters.Builder, and com.google.ortools.constraintsolver.RuinRecreateParameters.

◆ getRuinCompositionStrategy()

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;

Returns
The ruinCompositionStrategy.

Implemented in com.google.ortools.constraintsolver.RuinRecreateParameters.Builder, and com.google.ortools.constraintsolver.RuinRecreateParameters.

◆ getRuinCompositionStrategyValue()

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;

Returns
The enum numeric value on the wire for ruinCompositionStrategy.

Implemented in com.google.ortools.constraintsolver.RuinRecreateParameters.Builder, and com.google.ortools.constraintsolver.RuinRecreateParameters.

◆ getRuinStrategies()

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.

◆ getRuinStrategiesCount()

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.

◆ getRuinStrategiesList()

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.

◆ getRuinStrategiesOrBuilder()

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.

◆ getRuinStrategiesOrBuilderList()

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.

◆ hasRouteSelectionMaxNeighbors()

boolean com.google.ortools.constraintsolver.RuinRecreateParametersOrBuilder.hasRouteSelectionMaxNeighbors ( )

optional uint32 route_selection_max_neighbors = 6;

Returns
Whether the routeSelectionMaxNeighbors field is set.

Implemented in com.google.ortools.constraintsolver.RuinRecreateParameters.Builder, and com.google.ortools.constraintsolver.RuinRecreateParameters.

◆ hasRouteSelectionMinNeighbors()

boolean com.google.ortools.constraintsolver.RuinRecreateParametersOrBuilder.hasRouteSelectionMinNeighbors ( )

optional uint32 route_selection_min_neighbors = 5;

Returns
Whether the routeSelectionMinNeighbors field is set.

Implemented in com.google.ortools.constraintsolver.RuinRecreateParameters.Builder, and com.google.ortools.constraintsolver.RuinRecreateParameters.

◆ hasRouteSelectionNeighborsRatio()

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;

Returns
Whether the routeSelectionNeighborsRatio field is set.

Implemented in com.google.ortools.constraintsolver.RuinRecreateParameters.Builder, and com.google.ortools.constraintsolver.RuinRecreateParameters.


The documentation for this interface was generated from the following file: