Google OR-Tools v9.14
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 8233 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< ImprovementSearchLimitParametersgetParserForType ()
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< ImprovementSearchLimitParametersparser ()

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 8346 of file RoutingSearchParameters.java.

◆ getDefaultInstance()

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

Definition at line 8740 of file RoutingSearchParameters.java.

◆ getDefaultInstanceForType()

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

Definition at line 8776 of file RoutingSearchParameters.java.

◆ getDescriptor()

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

Definition at line 8255 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 8280 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 8299 of file RoutingSearchParameters.java.

◆ getParserForType()

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

Definition at line 8771 of file RoutingSearchParameters.java.

◆ getSerializedSize()

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

Definition at line 8327 of file RoutingSearchParameters.java.

◆ hashCode()

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

Definition at line 8365 of file RoutingSearchParameters.java.

◆ internalGetFieldAccessorTable()

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

Definition at line 8261 of file RoutingSearchParameters.java.

◆ isInitialized()

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

Definition at line 8305 of file RoutingSearchParameters.java.

◆ newBuilder() [1/2]

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

Definition at line 8455 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 8458 of file RoutingSearchParameters.java.

◆ newBuilderForType() [1/2]

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

Definition at line 8454 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 8468 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 8426 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 8432 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 8403 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 8407 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 8392 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 8397 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 8439 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 8445 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 8413 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 8418 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 8381 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 8386 of file RoutingSearchParameters.java.

◆ parser()

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

Definition at line 8766 of file RoutingSearchParameters.java.

◆ toBuilder()

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

Definition at line 8462 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 8315 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 8267 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 8284 of file RoutingSearchParameters.java.


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