Google OR-Tools v9.12
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
com.google.ortools.constraintsolver.RoutingSearchParameters.ImprovementSearchLimitParameters Class Reference
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)
 

Detailed Description

Parameters required for the improvement search limit.

Protobuf type operations_research.RoutingSearchParameters.ImprovementSearchLimitParameters

Definition at line 8289 of file RoutingSearchParameters.java.

Member Function Documentation

◆ equals()

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

Definition at line 8402 of file RoutingSearchParameters.java.

◆ getDefaultInstance()

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

Definition at line 8796 of file RoutingSearchParameters.java.

◆ getDefaultInstanceForType()

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

Definition at line 8832 of file RoutingSearchParameters.java.

◆ getDescriptor()

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

Definition at line 8311 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 8336 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 8355 of file RoutingSearchParameters.java.

◆ getParserForType()

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

Definition at line 8827 of file RoutingSearchParameters.java.

◆ getSerializedSize()

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

Definition at line 8383 of file RoutingSearchParameters.java.

◆ hashCode()

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

Definition at line 8421 of file RoutingSearchParameters.java.

◆ internalGetFieldAccessorTable()

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

Definition at line 8317 of file RoutingSearchParameters.java.

◆ isInitialized()

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

Definition at line 8361 of file RoutingSearchParameters.java.

◆ newBuilder() [1/2]

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

Definition at line 8511 of file RoutingSearchParameters.java.

◆ newBuilder() [2/2]

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

Definition at line 8514 of file RoutingSearchParameters.java.

◆ newBuilderForType() [1/2]

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

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

◆ parseDelimitedFrom() [1/2]

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

◆ parseDelimitedFrom() [2/2]

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

◆ parseFrom() [1/10]

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

Definition at line 8459 of file RoutingSearchParameters.java.

◆ parseFrom() [2/10]

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

◆ parseFrom() [3/10]

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

◆ parseFrom() [4/10]

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

◆ parseFrom() [5/10]

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

◆ parseFrom() [6/10]

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

◆ parseFrom() [7/10]

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

◆ parseFrom() [8/10]

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

◆ parseFrom() [9/10]

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

◆ parseFrom() [10/10]

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

◆ parser()

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

Definition at line 8822 of file RoutingSearchParameters.java.

◆ toBuilder()

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

Definition at line 8518 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 8371 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 8323 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 8340 of file RoutingSearchParameters.java.


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