Google OR-Tools v9.12
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
com.google.ortools.constraintsolver.RoutingModelParameters Class Reference
Inheritance diagram for com.google.ortools.constraintsolver.RoutingModelParameters:
com.google.ortools.constraintsolver.RoutingModelParametersOrBuilder

Classes

class  Builder
 

Public Member Functions

boolean hasSolverParameters ()
 
com.google.ortools.constraintsolver.ConstraintSolverParameters getSolverParameters ()
 
com.google.ortools.constraintsolver.ConstraintSolverParametersOrBuilder getSolverParametersOrBuilder ()
 
boolean getReduceVehicleCostModel ()
 
int getMaxCallbackCacheSize ()
 
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< RoutingModelParametersgetParserForType ()
 
com.google.ortools.constraintsolver.RoutingModelParameters getDefaultInstanceForType ()
 

Static Public Member Functions

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

Static Public Attributes

static final int SOLVER_PARAMETERS_FIELD_NUMBER = 1
 
static final int REDUCE_VEHICLE_COST_MODEL_FIELD_NUMBER = 2
 
static final int MAX_CALLBACK_CACHE_SIZE_FIELD_NUMBER = 3
 

Protected Member Functions

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

Detailed Description

Parameters which have to be set when creating a RoutingModel.

Protobuf type operations_research.RoutingModelParameters

Definition at line 15 of file RoutingModelParameters.java.

Member Function Documentation

◆ equals()

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

Definition at line 172 of file RoutingModelParameters.java.

◆ getDefaultInstance()

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

Definition at line 754 of file RoutingModelParameters.java.

◆ getDefaultInstanceForType()

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

Definition at line 790 of file RoutingModelParameters.java.

◆ getDescriptor()

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

Definition at line 37 of file RoutingModelParameters.java.

◆ getMaxCallbackCacheSize()

int com.google.ortools.constraintsolver.RoutingModelParameters.getMaxCallbackCacheSize ( )
Cache callback calls if the number of nodes in the model is less or equal
to this value.

int32 max_callback_cache_size = 3;

Returns
The maxCallbackCacheSize.

Implements com.google.ortools.constraintsolver.RoutingModelParametersOrBuilder.

Definition at line 118 of file RoutingModelParameters.java.

◆ getParserForType()

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

Definition at line 785 of file RoutingModelParameters.java.

◆ getReduceVehicleCostModel()

boolean com.google.ortools.constraintsolver.RoutingModelParameters.getReduceVehicleCostModel ( )
Advanced settings.
If set to true reduction of the underlying constraint model will be
attempted when all vehicles have exactly the same cost structure. This can
result in significant speedups.

bool reduce_vehicle_cost_model = 2;

Returns
The reduceVehicleCostModel.

Implements com.google.ortools.constraintsolver.RoutingModelParametersOrBuilder.

Definition at line 102 of file RoutingModelParameters.java.

◆ getSerializedSize()

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

Definition at line 149 of file RoutingModelParameters.java.

◆ getSolverParameters()

com.google.ortools.constraintsolver.ConstraintSolverParameters com.google.ortools.constraintsolver.RoutingModelParameters.getSolverParameters ( )
Parameters to use in the underlying constraint solver.

.operations_research.ConstraintSolverParameters solver_parameters = 1;

Returns
The solverParameters.

Implements com.google.ortools.constraintsolver.RoutingModelParametersOrBuilder.

Definition at line 73 of file RoutingModelParameters.java.

◆ getSolverParametersOrBuilder()

com.google.ortools.constraintsolver.ConstraintSolverParametersOrBuilder com.google.ortools.constraintsolver.RoutingModelParameters.getSolverParametersOrBuilder ( )
Parameters to use in the underlying constraint solver.

.operations_research.ConstraintSolverParameters solver_parameters = 1;

Implements com.google.ortools.constraintsolver.RoutingModelParametersOrBuilder.

Definition at line 84 of file RoutingModelParameters.java.

◆ hashCode()

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

Definition at line 195 of file RoutingModelParameters.java.

◆ hasSolverParameters()

boolean com.google.ortools.constraintsolver.RoutingModelParameters.hasSolverParameters ( )
Parameters to use in the underlying constraint solver.

.operations_research.ConstraintSolverParameters solver_parameters = 1;

Returns
Whether the solverParameters field is set.

Implements com.google.ortools.constraintsolver.RoutingModelParametersOrBuilder.

Definition at line 61 of file RoutingModelParameters.java.

◆ internalGetFieldAccessorTable()

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

Definition at line 43 of file RoutingModelParameters.java.

◆ isInitialized()

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

Definition at line 124 of file RoutingModelParameters.java.

◆ newBuilder() [1/2]

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

Definition at line 289 of file RoutingModelParameters.java.

◆ newBuilder() [2/2]

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

Definition at line 292 of file RoutingModelParameters.java.

◆ newBuilderForType() [1/2]

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

Definition at line 288 of file RoutingModelParameters.java.

◆ newBuilderForType() [2/2]

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

Definition at line 302 of file RoutingModelParameters.java.

◆ parseDelimitedFrom() [1/2]

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

Definition at line 260 of file RoutingModelParameters.java.

◆ parseDelimitedFrom() [2/2]

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

Definition at line 266 of file RoutingModelParameters.java.

◆ parseFrom() [1/10]

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

Definition at line 237 of file RoutingModelParameters.java.

◆ parseFrom() [2/10]

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

Definition at line 241 of file RoutingModelParameters.java.

◆ parseFrom() [3/10]

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

Definition at line 226 of file RoutingModelParameters.java.

◆ parseFrom() [4/10]

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

Definition at line 231 of file RoutingModelParameters.java.

◆ parseFrom() [5/10]

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

Definition at line 273 of file RoutingModelParameters.java.

◆ parseFrom() [6/10]

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

Definition at line 279 of file RoutingModelParameters.java.

◆ parseFrom() [7/10]

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

Definition at line 247 of file RoutingModelParameters.java.

◆ parseFrom() [8/10]

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

Definition at line 252 of file RoutingModelParameters.java.

◆ parseFrom() [9/10]

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

Definition at line 215 of file RoutingModelParameters.java.

◆ parseFrom() [10/10]

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

Definition at line 220 of file RoutingModelParameters.java.

◆ parser()

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

Definition at line 780 of file RoutingModelParameters.java.

◆ toBuilder()

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

Definition at line 296 of file RoutingModelParameters.java.

◆ writeTo()

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

Definition at line 134 of file RoutingModelParameters.java.

Member Data Documentation

◆ MAX_CALLBACK_CACHE_SIZE_FIELD_NUMBER

final int com.google.ortools.constraintsolver.RoutingModelParameters.MAX_CALLBACK_CACHE_SIZE_FIELD_NUMBER = 3
static

Definition at line 106 of file RoutingModelParameters.java.

◆ REDUCE_VEHICLE_COST_MODEL_FIELD_NUMBER

final int com.google.ortools.constraintsolver.RoutingModelParameters.REDUCE_VEHICLE_COST_MODEL_FIELD_NUMBER = 2
static

Definition at line 88 of file RoutingModelParameters.java.

◆ SOLVER_PARAMETERS_FIELD_NUMBER

final int com.google.ortools.constraintsolver.RoutingModelParameters.SOLVER_PARAMETERS_FIELD_NUMBER = 1
static

Definition at line 50 of file RoutingModelParameters.java.


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