Google OR-Tools v9.15
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
com.google.ortools.constraintsolver.RecreateStrategyOrBuilder Interface Reference

Detailed Description

Definition at line 9 of file RecreateStrategyOrBuilder.java.

Inheritance diagram for com.google.ortools.constraintsolver.RecreateStrategyOrBuilder:
com.google.ortools.constraintsolver.RecreateStrategy com.google.ortools.constraintsolver.RecreateStrategy.Builder

Public Member Functions

boolean hasHeuristic ()
int getHeuristicValue ()
com.google.ortools.constraintsolver.FirstSolutionStrategy.Value getHeuristic ()
boolean hasParameters ()
com.google.ortools.constraintsolver.RecreateParameters getParameters ()
com.google.ortools.constraintsolver.RecreateParametersOrBuilder getParametersOrBuilder ()

Member Function Documentation

◆ getHeuristic()

com.google.ortools.constraintsolver.FirstSolutionStrategy.Value com.google.ortools.constraintsolver.RecreateStrategyOrBuilder.getHeuristic ( )

optional .operations_research.FirstSolutionStrategy.Value heuristic = 1;

Returns
The heuristic.

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

◆ getHeuristicValue()

int com.google.ortools.constraintsolver.RecreateStrategyOrBuilder.getHeuristicValue ( )

optional .operations_research.FirstSolutionStrategy.Value heuristic = 1;

Returns
The enum numeric value on the wire for heuristic.

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

◆ getParameters()

com.google.ortools.constraintsolver.RecreateParameters com.google.ortools.constraintsolver.RecreateStrategyOrBuilder.getParameters ( )
The selected parameters should match the chosen recreate heuristic.
If not set, the default parameters from the RoutingModel are used.

optional .operations_research.RecreateParameters parameters = 2;

Returns
The parameters.

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

◆ getParametersOrBuilder()

com.google.ortools.constraintsolver.RecreateParametersOrBuilder com.google.ortools.constraintsolver.RecreateStrategyOrBuilder.getParametersOrBuilder ( )
The selected parameters should match the chosen recreate heuristic.
If not set, the default parameters from the RoutingModel are used.

optional .operations_research.RecreateParameters parameters = 2;

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

◆ hasHeuristic()

boolean com.google.ortools.constraintsolver.RecreateStrategyOrBuilder.hasHeuristic ( )

optional .operations_research.FirstSolutionStrategy.Value heuristic = 1;

Returns
Whether the heuristic field is set.

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

◆ hasParameters()

boolean com.google.ortools.constraintsolver.RecreateStrategyOrBuilder.hasParameters ( )
The selected parameters should match the chosen recreate heuristic.
If not set, the default parameters from the RoutingModel are used.

optional .operations_research.RecreateParameters parameters = 2;

Returns
Whether the parameters field is set.

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


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