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

Detailed Description

Inheritance diagram for com.google.ortools.constraintsolver.LocalCheapestInsertionParametersOrBuilder:
com.google.ortools.constraintsolver.LocalCheapestInsertionParameters com.google.ortools.constraintsolver.LocalCheapestInsertionParameters.Builder

Public Member Functions

int getPickupDeliveryStrategyValue ()
com.google.ortools.constraintsolver.LocalCheapestInsertionParameters.PairInsertionStrategy getPickupDeliveryStrategy ()
java.util.List< com.google.ortools.constraintsolver.LocalCheapestInsertionParameters.InsertionSortingPropertygetInsertionSortingPropertiesList ()
int getInsertionSortingPropertiesCount ()
com.google.ortools.constraintsolver.LocalCheapestInsertionParameters.InsertionSortingProperty getInsertionSortingProperties (int index)
java.util.List< java.lang.Integer > getInsertionSortingPropertiesValueList ()
int getInsertionSortingPropertiesValue (int index)

Member Function Documentation

◆ getInsertionSortingProperties()

com.google.ortools.constraintsolver.LocalCheapestInsertionParameters.InsertionSortingProperty com.google.ortools.constraintsolver.LocalCheapestInsertionParametersOrBuilder.getInsertionSortingProperties ( int index)
The properties used to sort insertion entries in the local cheapest
insertion heuristic, in *decreasing* order of priority. The properties
listed here are applied hierarchically, from highest to lowest priority.
When no properties are provided
(SORTING_PROPERTY_ALLOWED_VEHICLES, SORTING_PROPERTY_PENALTY)
is used by default.

repeated .operations_research.LocalCheapestInsertionParameters.InsertionSortingProperty insertion_sorting_properties = 2;

Parameters
indexThe index of the element to return.
Returns
The insertionSortingProperties at the given index.

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

◆ getInsertionSortingPropertiesCount()

int com.google.ortools.constraintsolver.LocalCheapestInsertionParametersOrBuilder.getInsertionSortingPropertiesCount ( )
The properties used to sort insertion entries in the local cheapest
insertion heuristic, in *decreasing* order of priority. The properties
listed here are applied hierarchically, from highest to lowest priority.
When no properties are provided
(SORTING_PROPERTY_ALLOWED_VEHICLES, SORTING_PROPERTY_PENALTY)
is used by default.

repeated .operations_research.LocalCheapestInsertionParameters.InsertionSortingProperty insertion_sorting_properties = 2;

Returns
The count of insertionSortingProperties.

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

◆ getInsertionSortingPropertiesList()

java.util.List< com.google.ortools.constraintsolver.LocalCheapestInsertionParameters.InsertionSortingProperty > com.google.ortools.constraintsolver.LocalCheapestInsertionParametersOrBuilder.getInsertionSortingPropertiesList ( )
The properties used to sort insertion entries in the local cheapest
insertion heuristic, in *decreasing* order of priority. The properties
listed here are applied hierarchically, from highest to lowest priority.
When no properties are provided
(SORTING_PROPERTY_ALLOWED_VEHICLES, SORTING_PROPERTY_PENALTY)
is used by default.

repeated .operations_research.LocalCheapestInsertionParameters.InsertionSortingProperty insertion_sorting_properties = 2;

Returns
A list containing the insertionSortingProperties.

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

◆ getInsertionSortingPropertiesValue()

int com.google.ortools.constraintsolver.LocalCheapestInsertionParametersOrBuilder.getInsertionSortingPropertiesValue ( int index)
The properties used to sort insertion entries in the local cheapest
insertion heuristic, in *decreasing* order of priority. The properties
listed here are applied hierarchically, from highest to lowest priority.
When no properties are provided
(SORTING_PROPERTY_ALLOWED_VEHICLES, SORTING_PROPERTY_PENALTY)
is used by default.

repeated .operations_research.LocalCheapestInsertionParameters.InsertionSortingProperty insertion_sorting_properties = 2;

Parameters
indexThe index of the value to return.
Returns
The enum numeric value on the wire of insertionSortingProperties at the given index.

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

◆ getInsertionSortingPropertiesValueList()

java.util.List< java.lang.Integer > com.google.ortools.constraintsolver.LocalCheapestInsertionParametersOrBuilder.getInsertionSortingPropertiesValueList ( )
The properties used to sort insertion entries in the local cheapest
insertion heuristic, in *decreasing* order of priority. The properties
listed here are applied hierarchically, from highest to lowest priority.
When no properties are provided
(SORTING_PROPERTY_ALLOWED_VEHICLES, SORTING_PROPERTY_PENALTY)
is used by default.

repeated .operations_research.LocalCheapestInsertionParameters.InsertionSortingProperty insertion_sorting_properties = 2;

Returns
A list containing the enum numeric values on the wire for insertionSortingProperties.

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

◆ getPickupDeliveryStrategy()

com.google.ortools.constraintsolver.LocalCheapestInsertionParameters.PairInsertionStrategy com.google.ortools.constraintsolver.LocalCheapestInsertionParametersOrBuilder.getPickupDeliveryStrategy ( )
Choice of insertion strategy for pickup/delivery pairs, used in local
cheapest insertion, both first solution heuristic and LNS.

.operations_research.LocalCheapestInsertionParameters.PairInsertionStrategy pickup_delivery_strategy = 1;

Returns
The pickupDeliveryStrategy.

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

◆ getPickupDeliveryStrategyValue()

int com.google.ortools.constraintsolver.LocalCheapestInsertionParametersOrBuilder.getPickupDeliveryStrategyValue ( )
Choice of insertion strategy for pickup/delivery pairs, used in local
cheapest insertion, both first solution heuristic and LNS.

.operations_research.LocalCheapestInsertionParameters.PairInsertionStrategy pickup_delivery_strategy = 1;

Returns
The enum numeric value on the wire for pickupDeliveryStrategy.

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


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