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

Detailed Description

Parameters used to configure local cheapest insertion heuristics.

Protobuf type operations_research.LocalCheapestInsertionParameters

Definition at line 16 of file LocalCheapestInsertionParameters.java.

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

Classes

enum  PairInsertionStrategy
enum  InsertionSortingProperty
class  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)
final boolean isInitialized ()
void writeTo (com.google.protobuf.CodedOutputStream output) throws java.io.IOException
int getSerializedSize ()
boolean equals (final java.lang.Object obj)
int hashCode ()
Builder newBuilderForType ()
Builder toBuilder ()
com.google.protobuf.Parser< LocalCheapestInsertionParameters > getParserForType ()
com.google.ortools.constraintsolver.LocalCheapestInsertionParameters getDefaultInstanceForType ()

Static Public Member Functions

static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
static com.google.ortools.constraintsolver.LocalCheapestInsertionParameters parseFrom (java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
static com.google.ortools.constraintsolver.LocalCheapestInsertionParameters parseFrom (java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
static com.google.ortools.constraintsolver.LocalCheapestInsertionParameters parseFrom (com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
static com.google.ortools.constraintsolver.LocalCheapestInsertionParameters parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
static com.google.ortools.constraintsolver.LocalCheapestInsertionParameters parseFrom (byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
static com.google.ortools.constraintsolver.LocalCheapestInsertionParameters parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
static com.google.ortools.constraintsolver.LocalCheapestInsertionParameters parseFrom (java.io.InputStream input) throws java.io.IOException
static com.google.ortools.constraintsolver.LocalCheapestInsertionParameters parseFrom (java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
static com.google.ortools.constraintsolver.LocalCheapestInsertionParameters parseDelimitedFrom (java.io.InputStream input) throws java.io.IOException
static com.google.ortools.constraintsolver.LocalCheapestInsertionParameters parseDelimitedFrom (java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
static com.google.ortools.constraintsolver.LocalCheapestInsertionParameters parseFrom (com.google.protobuf.CodedInputStream input) throws java.io.IOException
static com.google.ortools.constraintsolver.LocalCheapestInsertionParameters parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
static Builder newBuilder ()
static Builder newBuilder (com.google.ortools.constraintsolver.LocalCheapestInsertionParameters prototype)
static com.google.ortools.constraintsolver.LocalCheapestInsertionParameters getDefaultInstance ()
static com.google.protobuf.Parser< LocalCheapestInsertionParameters > parser ()

Static Public Attributes

static final int PICKUP_DELIVERY_STRATEGY_FIELD_NUMBER = 1
static final int INSERTION_SORTING_PROPERTIES_FIELD_NUMBER = 2

Protected Member Functions

com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable ()
Builder newBuilderForType (com.google.protobuf.GeneratedMessage.BuilderParent parent)

Member Function Documentation

◆ equals()

boolean com.google.ortools.constraintsolver.LocalCheapestInsertionParameters.equals ( final java.lang.Object obj)

Definition at line 686 of file LocalCheapestInsertionParameters.java.

◆ getDefaultInstance()

com.google.ortools.constraintsolver.LocalCheapestInsertionParameters com.google.ortools.constraintsolver.LocalCheapestInsertionParameters.getDefaultInstance ( )
static

Definition at line 1312 of file LocalCheapestInsertionParameters.java.

◆ getDefaultInstanceForType()

com.google.ortools.constraintsolver.LocalCheapestInsertionParameters com.google.ortools.constraintsolver.LocalCheapestInsertionParameters.getDefaultInstanceForType ( )

Definition at line 1348 of file LocalCheapestInsertionParameters.java.

◆ getDescriptor()

final com.google.protobuf.Descriptors.Descriptor com.google.ortools.constraintsolver.LocalCheapestInsertionParameters.getDescriptor ( )
static

Definition at line 40 of file LocalCheapestInsertionParameters.java.

◆ getInsertionSortingProperties()

com.google.ortools.constraintsolver.LocalCheapestInsertionParameters.InsertionSortingProperty com.google.ortools.constraintsolver.LocalCheapestInsertionParameters.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.

Implements com.google.ortools.constraintsolver.LocalCheapestInsertionParametersOrBuilder.

Definition at line 589 of file LocalCheapestInsertionParameters.java.

◆ getInsertionSortingPropertiesCount()

int com.google.ortools.constraintsolver.LocalCheapestInsertionParameters.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.

Implements com.google.ortools.constraintsolver.LocalCheapestInsertionParametersOrBuilder.

Definition at line 571 of file LocalCheapestInsertionParameters.java.

◆ getInsertionSortingPropertiesList()

java.util.List< com.google.ortools.constraintsolver.LocalCheapestInsertionParameters.InsertionSortingProperty > com.google.ortools.constraintsolver.LocalCheapestInsertionParameters.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.

Implements com.google.ortools.constraintsolver.LocalCheapestInsertionParametersOrBuilder.

Definition at line 553 of file LocalCheapestInsertionParameters.java.

◆ getInsertionSortingPropertiesValue()

int com.google.ortools.constraintsolver.LocalCheapestInsertionParameters.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.

Implements com.google.ortools.constraintsolver.LocalCheapestInsertionParametersOrBuilder.

Definition at line 625 of file LocalCheapestInsertionParameters.java.

◆ getInsertionSortingPropertiesValueList()

java.util.List< java.lang.Integer > com.google.ortools.constraintsolver.LocalCheapestInsertionParameters.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.

Implements com.google.ortools.constraintsolver.LocalCheapestInsertionParametersOrBuilder.

Definition at line 607 of file LocalCheapestInsertionParameters.java.

◆ getParserForType()

com.google.protobuf.Parser< LocalCheapestInsertionParameters > com.google.ortools.constraintsolver.LocalCheapestInsertionParameters.getParserForType ( )

Definition at line 1343 of file LocalCheapestInsertionParameters.java.

◆ getPickupDeliveryStrategy()

com.google.ortools.constraintsolver.LocalCheapestInsertionParameters.PairInsertionStrategy com.google.ortools.constraintsolver.LocalCheapestInsertionParameters.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.

Implements com.google.ortools.constraintsolver.LocalCheapestInsertionParametersOrBuilder.

Definition at line 521 of file LocalCheapestInsertionParameters.java.

◆ getPickupDeliveryStrategyValue()

int com.google.ortools.constraintsolver.LocalCheapestInsertionParameters.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.

Implements com.google.ortools.constraintsolver.LocalCheapestInsertionParametersOrBuilder.

Definition at line 509 of file LocalCheapestInsertionParameters.java.

◆ getSerializedSize()

int com.google.ortools.constraintsolver.LocalCheapestInsertionParameters.getSerializedSize ( )

Definition at line 659 of file LocalCheapestInsertionParameters.java.

◆ hashCode()

int com.google.ortools.constraintsolver.LocalCheapestInsertionParameters.hashCode ( )

Definition at line 702 of file LocalCheapestInsertionParameters.java.

◆ internalGetFieldAccessorTable()

com.google.protobuf.GeneratedMessage.FieldAccessorTable com.google.ortools.constraintsolver.LocalCheapestInsertionParameters.internalGetFieldAccessorTable ( )
protected

Definition at line 46 of file LocalCheapestInsertionParameters.java.

◆ isInitialized()

final boolean com.google.ortools.constraintsolver.LocalCheapestInsertionParameters.isInitialized ( )

Definition at line 632 of file LocalCheapestInsertionParameters.java.

◆ newBuilder() [1/2]

Builder com.google.ortools.constraintsolver.LocalCheapestInsertionParameters.newBuilder ( )
static

Definition at line 793 of file LocalCheapestInsertionParameters.java.

◆ newBuilder() [2/2]

Builder com.google.ortools.constraintsolver.LocalCheapestInsertionParameters.newBuilder ( com.google.ortools.constraintsolver.LocalCheapestInsertionParameters prototype)
static

Definition at line 796 of file LocalCheapestInsertionParameters.java.

◆ newBuilderForType() [1/2]

Builder com.google.ortools.constraintsolver.LocalCheapestInsertionParameters.newBuilderForType ( )

Definition at line 792 of file LocalCheapestInsertionParameters.java.

◆ newBuilderForType() [2/2]

Builder com.google.ortools.constraintsolver.LocalCheapestInsertionParameters.newBuilderForType ( com.google.protobuf.GeneratedMessage.BuilderParent parent)
protected

Definition at line 806 of file LocalCheapestInsertionParameters.java.

◆ parseDelimitedFrom() [1/2]

com.google.ortools.constraintsolver.LocalCheapestInsertionParameters com.google.ortools.constraintsolver.LocalCheapestInsertionParameters.parseDelimitedFrom ( java.io.InputStream input) throws java.io.IOException
static

Definition at line 764 of file LocalCheapestInsertionParameters.java.

◆ parseDelimitedFrom() [2/2]

com.google.ortools.constraintsolver.LocalCheapestInsertionParameters com.google.ortools.constraintsolver.LocalCheapestInsertionParameters.parseDelimitedFrom ( java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry ) throws java.io.IOException
static

Definition at line 770 of file LocalCheapestInsertionParameters.java.

◆ parseFrom() [1/10]

com.google.ortools.constraintsolver.LocalCheapestInsertionParameters com.google.ortools.constraintsolver.LocalCheapestInsertionParameters.parseFrom ( byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
static

Definition at line 741 of file LocalCheapestInsertionParameters.java.

◆ parseFrom() [2/10]

com.google.ortools.constraintsolver.LocalCheapestInsertionParameters com.google.ortools.constraintsolver.LocalCheapestInsertionParameters.parseFrom ( byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry ) throws com.google.protobuf.InvalidProtocolBufferException
static

Definition at line 745 of file LocalCheapestInsertionParameters.java.

◆ parseFrom() [3/10]

com.google.ortools.constraintsolver.LocalCheapestInsertionParameters com.google.ortools.constraintsolver.LocalCheapestInsertionParameters.parseFrom ( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
static

Definition at line 730 of file LocalCheapestInsertionParameters.java.

◆ parseFrom() [4/10]

com.google.ortools.constraintsolver.LocalCheapestInsertionParameters com.google.ortools.constraintsolver.LocalCheapestInsertionParameters.parseFrom ( com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry ) throws com.google.protobuf.InvalidProtocolBufferException
static

Definition at line 735 of file LocalCheapestInsertionParameters.java.

◆ parseFrom() [5/10]

com.google.ortools.constraintsolver.LocalCheapestInsertionParameters com.google.ortools.constraintsolver.LocalCheapestInsertionParameters.parseFrom ( com.google.protobuf.CodedInputStream input) throws java.io.IOException
static

Definition at line 777 of file LocalCheapestInsertionParameters.java.

◆ parseFrom() [6/10]

com.google.ortools.constraintsolver.LocalCheapestInsertionParameters com.google.ortools.constraintsolver.LocalCheapestInsertionParameters.parseFrom ( com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry ) throws java.io.IOException
static

Definition at line 783 of file LocalCheapestInsertionParameters.java.

◆ parseFrom() [7/10]

com.google.ortools.constraintsolver.LocalCheapestInsertionParameters com.google.ortools.constraintsolver.LocalCheapestInsertionParameters.parseFrom ( java.io.InputStream input) throws java.io.IOException
static

Definition at line 751 of file LocalCheapestInsertionParameters.java.

◆ parseFrom() [8/10]

com.google.ortools.constraintsolver.LocalCheapestInsertionParameters com.google.ortools.constraintsolver.LocalCheapestInsertionParameters.parseFrom ( java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry ) throws java.io.IOException
static

Definition at line 756 of file LocalCheapestInsertionParameters.java.

◆ parseFrom() [9/10]

com.google.ortools.constraintsolver.LocalCheapestInsertionParameters com.google.ortools.constraintsolver.LocalCheapestInsertionParameters.parseFrom ( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
static

Definition at line 719 of file LocalCheapestInsertionParameters.java.

◆ parseFrom() [10/10]

com.google.ortools.constraintsolver.LocalCheapestInsertionParameters com.google.ortools.constraintsolver.LocalCheapestInsertionParameters.parseFrom ( java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry ) throws com.google.protobuf.InvalidProtocolBufferException
static

Definition at line 724 of file LocalCheapestInsertionParameters.java.

◆ parser()

com.google.protobuf.Parser< LocalCheapestInsertionParameters > com.google.ortools.constraintsolver.LocalCheapestInsertionParameters.parser ( )
static

Definition at line 1338 of file LocalCheapestInsertionParameters.java.

◆ toBuilder()

Builder com.google.ortools.constraintsolver.LocalCheapestInsertionParameters.toBuilder ( )

Definition at line 800 of file LocalCheapestInsertionParameters.java.

◆ writeTo()

void com.google.ortools.constraintsolver.LocalCheapestInsertionParameters.writeTo ( com.google.protobuf.CodedOutputStream output) throws java.io.IOException

Definition at line 642 of file LocalCheapestInsertionParameters.java.

Member Data Documentation

◆ INSERTION_SORTING_PROPERTIES_FIELD_NUMBER

final int com.google.ortools.constraintsolver.LocalCheapestInsertionParameters.INSERTION_SORTING_PROPERTIES_FIELD_NUMBER = 2
static

Definition at line 526 of file LocalCheapestInsertionParameters.java.

◆ PICKUP_DELIVERY_STRATEGY_FIELD_NUMBER

final int com.google.ortools.constraintsolver.LocalCheapestInsertionParameters.PICKUP_DELIVERY_STRATEGY_FIELD_NUMBER = 1
static

Definition at line 498 of file LocalCheapestInsertionParameters.java.


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