Google OR-Tools v9.9
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

java.lang.Object newInstance (UnusedPrivateParameter unused)
 
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable ()
 
Builder newBuilderForType (com.google.protobuf.GeneratedMessageV3.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 169 of file RoutingModelParameters.java.

◆ getDefaultInstance()

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

Definition at line 795 of file RoutingModelParameters.java.

◆ getDefaultInstanceForType()

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

Definition at line 831 of file RoutingModelParameters.java.

◆ getDescriptor()

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

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

◆ getParserForType()

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

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

◆ getSerializedSize()

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

Definition at line 146 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 70 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 81 of file RoutingModelParameters.java.

◆ hashCode()

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

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

◆ internalGetFieldAccessorTable()

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

Definition at line 40 of file RoutingModelParameters.java.

◆ isInitialized()

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

Definition at line 121 of file RoutingModelParameters.java.

◆ newBuilder() [1/2]

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

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

◆ newBuilderForType() [1/2]

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

Definition at line 285 of file RoutingModelParameters.java.

◆ newBuilderForType() [2/2]

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

Definition at line 299 of file RoutingModelParameters.java.

◆ newInstance()

java.lang.Object com.google.ortools.constraintsolver.RoutingModelParameters.newInstance ( UnusedPrivateParameter unused)
protected

Definition at line 28 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 257 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 263 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 234 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 238 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 223 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 228 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 270 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 276 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 244 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 249 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 212 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 217 of file RoutingModelParameters.java.

◆ parser()

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

Definition at line 821 of file RoutingModelParameters.java.

◆ toBuilder()

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

Definition at line 293 of file RoutingModelParameters.java.

◆ writeTo()

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

Definition at line 131 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 103 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 85 of file RoutingModelParameters.java.

◆ SOLVER_PARAMETERS_FIELD_NUMBER

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

Definition at line 47 of file RoutingModelParameters.java.


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