Google OR-Tools v9.11
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 ()
 
- Public Member Functions inherited from com.google.ortools.constraintsolver.RoutingModelParametersOrBuilder

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 14 of file RoutingModelParameters.java.

Member Function Documentation

◆ equals()

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

Definition at line 171 of file RoutingModelParameters.java.

◆ getDefaultInstance()

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

Definition at line 753 of file RoutingModelParameters.java.

◆ getDefaultInstanceForType()

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

Definition at line 789 of file RoutingModelParameters.java.

◆ getDescriptor()

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

Definition at line 36 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 117 of file RoutingModelParameters.java.

◆ getParserForType()

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

Definition at line 784 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 101 of file RoutingModelParameters.java.

◆ getSerializedSize()

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

Definition at line 148 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 72 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 83 of file RoutingModelParameters.java.

◆ hashCode()

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

Definition at line 194 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 60 of file RoutingModelParameters.java.

◆ internalGetFieldAccessorTable()

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

Definition at line 42 of file RoutingModelParameters.java.

◆ isInitialized()

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

Definition at line 123 of file RoutingModelParameters.java.

◆ newBuilder() [1/2]

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

Definition at line 288 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 291 of file RoutingModelParameters.java.

◆ newBuilderForType() [1/2]

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

Definition at line 287 of file RoutingModelParameters.java.

◆ newBuilderForType() [2/2]

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

Definition at line 301 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 259 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 265 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 236 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 240 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 225 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 230 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 272 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 278 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 246 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 251 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 214 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 219 of file RoutingModelParameters.java.

◆ parser()

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

Definition at line 779 of file RoutingModelParameters.java.

◆ toBuilder()

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

Definition at line 295 of file RoutingModelParameters.java.

◆ writeTo()

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

Definition at line 133 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 105 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 87 of file RoutingModelParameters.java.

◆ SOLVER_PARAMETERS_FIELD_NUMBER

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

Definition at line 49 of file RoutingModelParameters.java.


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