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

Detailed Description

Parameters required for the improvement search limit.

Protobuf type operations_research.RoutingSearchParameters.ImprovementSearchLimitParameters

Definition at line 8089 of file RoutingSearchParameters.java.

Inheritance diagram for com.google.ortools.constraintsolver.RoutingSearchParameters.ImprovementSearchLimitParameters:
com.google.ortools.constraintsolver.RoutingSearchParameters.ImprovementSearchLimitParametersOrBuilder

Classes

class  Builder

Public Member Functions

double getImprovementRateCoefficient ()
int getImprovementRateSolutionsDistance ()
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< ImprovementSearchLimitParameters > getParserForType ()
com.google.ortools.constraintsolver.RoutingSearchParameters.ImprovementSearchLimitParameters getDefaultInstanceForType ()

Static Public Member Functions

static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
static com.google.ortools.constraintsolver.RoutingSearchParameters.ImprovementSearchLimitParameters parseFrom (java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
static com.google.ortools.constraintsolver.RoutingSearchParameters.ImprovementSearchLimitParameters parseFrom (java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
static com.google.ortools.constraintsolver.RoutingSearchParameters.ImprovementSearchLimitParameters parseFrom (com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
static com.google.ortools.constraintsolver.RoutingSearchParameters.ImprovementSearchLimitParameters parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
static com.google.ortools.constraintsolver.RoutingSearchParameters.ImprovementSearchLimitParameters parseFrom (byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
static com.google.ortools.constraintsolver.RoutingSearchParameters.ImprovementSearchLimitParameters parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
static com.google.ortools.constraintsolver.RoutingSearchParameters.ImprovementSearchLimitParameters parseFrom (java.io.InputStream input) throws java.io.IOException
static com.google.ortools.constraintsolver.RoutingSearchParameters.ImprovementSearchLimitParameters parseFrom (java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
static com.google.ortools.constraintsolver.RoutingSearchParameters.ImprovementSearchLimitParameters parseDelimitedFrom (java.io.InputStream input) throws java.io.IOException
static com.google.ortools.constraintsolver.RoutingSearchParameters.ImprovementSearchLimitParameters parseDelimitedFrom (java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
static com.google.ortools.constraintsolver.RoutingSearchParameters.ImprovementSearchLimitParameters parseFrom (com.google.protobuf.CodedInputStream input) throws java.io.IOException
static com.google.ortools.constraintsolver.RoutingSearchParameters.ImprovementSearchLimitParameters 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.RoutingSearchParameters.ImprovementSearchLimitParameters prototype)
static com.google.ortools.constraintsolver.RoutingSearchParameters.ImprovementSearchLimitParameters getDefaultInstance ()
static com.google.protobuf.Parser< ImprovementSearchLimitParameters > parser ()

Static Public Attributes

static final int IMPROVEMENT_RATE_COEFFICIENT_FIELD_NUMBER = 38
static final int IMPROVEMENT_RATE_SOLUTIONS_DISTANCE_FIELD_NUMBER = 39

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.RoutingSearchParameters.ImprovementSearchLimitParameters.equals ( final java.lang.Object obj)

Definition at line 8202 of file RoutingSearchParameters.java.

◆ getDefaultInstance()

com.google.ortools.constraintsolver.RoutingSearchParameters.ImprovementSearchLimitParameters com.google.ortools.constraintsolver.RoutingSearchParameters.ImprovementSearchLimitParameters.getDefaultInstance ( )
static

Definition at line 8596 of file RoutingSearchParameters.java.

◆ getDefaultInstanceForType()

com.google.ortools.constraintsolver.RoutingSearchParameters.ImprovementSearchLimitParameters com.google.ortools.constraintsolver.RoutingSearchParameters.ImprovementSearchLimitParameters.getDefaultInstanceForType ( )

Definition at line 8632 of file RoutingSearchParameters.java.

◆ getDescriptor()

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

Definition at line 8111 of file RoutingSearchParameters.java.

◆ getImprovementRateCoefficient()

double com.google.ortools.constraintsolver.RoutingSearchParameters.ImprovementSearchLimitParameters.getImprovementRateCoefficient ( )
Parameter that regulates exchange rate between objective improvement and
number of neighbors spent. The smaller the value, the sooner the limit
stops the search. Must be positive.

double improvement_rate_coefficient = 38;

Returns
The improvementRateCoefficient.

Implements com.google.ortools.constraintsolver.RoutingSearchParameters.ImprovementSearchLimitParametersOrBuilder.

Definition at line 8136 of file RoutingSearchParameters.java.

◆ getImprovementRateSolutionsDistance()

int com.google.ortools.constraintsolver.RoutingSearchParameters.ImprovementSearchLimitParameters.getImprovementRateSolutionsDistance ( )
Parameter that specifies the distance between improvements taken into
consideration for calculating the improvement rate.
Example: For 5 objective improvements = (10, 8, 6, 4, 2), and the
solutions_distance parameter of 2, then the improvement_rate will be
computed for (10, 6), (8, 4), and (6, 2).

int32 improvement_rate_solutions_distance = 39;

Returns
The improvementRateSolutionsDistance.

Implements com.google.ortools.constraintsolver.RoutingSearchParameters.ImprovementSearchLimitParametersOrBuilder.

Definition at line 8155 of file RoutingSearchParameters.java.

◆ getParserForType()

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

Definition at line 8627 of file RoutingSearchParameters.java.

◆ getSerializedSize()

int com.google.ortools.constraintsolver.RoutingSearchParameters.ImprovementSearchLimitParameters.getSerializedSize ( )

Definition at line 8183 of file RoutingSearchParameters.java.

◆ hashCode()

int com.google.ortools.constraintsolver.RoutingSearchParameters.ImprovementSearchLimitParameters.hashCode ( )

Definition at line 8221 of file RoutingSearchParameters.java.

◆ internalGetFieldAccessorTable()

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

Definition at line 8117 of file RoutingSearchParameters.java.

◆ isInitialized()

final boolean com.google.ortools.constraintsolver.RoutingSearchParameters.ImprovementSearchLimitParameters.isInitialized ( )

Definition at line 8161 of file RoutingSearchParameters.java.

◆ newBuilder() [1/2]

Builder com.google.ortools.constraintsolver.RoutingSearchParameters.ImprovementSearchLimitParameters.newBuilder ( )
static

Definition at line 8311 of file RoutingSearchParameters.java.

◆ newBuilder() [2/2]

Builder com.google.ortools.constraintsolver.RoutingSearchParameters.ImprovementSearchLimitParameters.newBuilder ( com.google.ortools.constraintsolver.RoutingSearchParameters.ImprovementSearchLimitParameters prototype)
static

Definition at line 8314 of file RoutingSearchParameters.java.

◆ newBuilderForType() [1/2]

Builder com.google.ortools.constraintsolver.RoutingSearchParameters.ImprovementSearchLimitParameters.newBuilderForType ( )

Definition at line 8310 of file RoutingSearchParameters.java.

◆ newBuilderForType() [2/2]

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

Definition at line 8324 of file RoutingSearchParameters.java.

◆ parseDelimitedFrom() [1/2]

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

Definition at line 8282 of file RoutingSearchParameters.java.

◆ parseDelimitedFrom() [2/2]

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

Definition at line 8288 of file RoutingSearchParameters.java.

◆ parseFrom() [1/10]

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

Definition at line 8259 of file RoutingSearchParameters.java.

◆ parseFrom() [2/10]

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

Definition at line 8263 of file RoutingSearchParameters.java.

◆ parseFrom() [3/10]

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

Definition at line 8248 of file RoutingSearchParameters.java.

◆ parseFrom() [4/10]

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

Definition at line 8253 of file RoutingSearchParameters.java.

◆ parseFrom() [5/10]

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

Definition at line 8295 of file RoutingSearchParameters.java.

◆ parseFrom() [6/10]

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

Definition at line 8301 of file RoutingSearchParameters.java.

◆ parseFrom() [7/10]

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

Definition at line 8269 of file RoutingSearchParameters.java.

◆ parseFrom() [8/10]

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

Definition at line 8274 of file RoutingSearchParameters.java.

◆ parseFrom() [9/10]

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

Definition at line 8237 of file RoutingSearchParameters.java.

◆ parseFrom() [10/10]

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

Definition at line 8242 of file RoutingSearchParameters.java.

◆ parser()

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

Definition at line 8622 of file RoutingSearchParameters.java.

◆ toBuilder()

Builder com.google.ortools.constraintsolver.RoutingSearchParameters.ImprovementSearchLimitParameters.toBuilder ( )

Definition at line 8318 of file RoutingSearchParameters.java.

◆ writeTo()

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

Definition at line 8171 of file RoutingSearchParameters.java.

Member Data Documentation

◆ IMPROVEMENT_RATE_COEFFICIENT_FIELD_NUMBER

final int com.google.ortools.constraintsolver.RoutingSearchParameters.ImprovementSearchLimitParameters.IMPROVEMENT_RATE_COEFFICIENT_FIELD_NUMBER = 38
static

Definition at line 8123 of file RoutingSearchParameters.java.

◆ IMPROVEMENT_RATE_SOLUTIONS_DISTANCE_FIELD_NUMBER

final int com.google.ortools.constraintsolver.RoutingSearchParameters.ImprovementSearchLimitParameters.IMPROVEMENT_RATE_SOLUTIONS_DISTANCE_FIELD_NUMBER = 39
static

Definition at line 8140 of file RoutingSearchParameters.java.


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