![]() |
Google OR-Tools v9.14
a fast and portable software suite for combinatorial optimization
|
Parameters which have to be set when creating a RoutingModel.
Protobuf type operations_research.RoutingModelParameters
Definition at line 16 of file RoutingModelParameters.java.
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< RoutingModelParameters > | getParserForType () |
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< RoutingModelParameters > | parser () |
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) |
boolean com.google.ortools.constraintsolver.RoutingModelParameters.equals | ( | final java.lang.Object | obj | ) |
Definition at line 173 of file RoutingModelParameters.java.
|
static |
Definition at line 755 of file RoutingModelParameters.java.
com.google.ortools.constraintsolver.RoutingModelParameters com.google.ortools.constraintsolver.RoutingModelParameters.getDefaultInstanceForType | ( | ) |
Definition at line 791 of file RoutingModelParameters.java.
|
static |
Definition at line 38 of file RoutingModelParameters.java.
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;
Implements com.google.ortools.constraintsolver.RoutingModelParametersOrBuilder.
Definition at line 119 of file RoutingModelParameters.java.
com.google.protobuf.Parser< RoutingModelParameters > com.google.ortools.constraintsolver.RoutingModelParameters.getParserForType | ( | ) |
Definition at line 786 of file RoutingModelParameters.java.
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;
Implements com.google.ortools.constraintsolver.RoutingModelParametersOrBuilder.
Definition at line 103 of file RoutingModelParameters.java.
int com.google.ortools.constraintsolver.RoutingModelParameters.getSerializedSize | ( | ) |
Definition at line 150 of file RoutingModelParameters.java.
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;
Implements com.google.ortools.constraintsolver.RoutingModelParametersOrBuilder.
Definition at line 74 of file RoutingModelParameters.java.
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 85 of file RoutingModelParameters.java.
int com.google.ortools.constraintsolver.RoutingModelParameters.hashCode | ( | ) |
Definition at line 196 of file RoutingModelParameters.java.
boolean com.google.ortools.constraintsolver.RoutingModelParameters.hasSolverParameters | ( | ) |
Parameters to use in the underlying constraint solver.
.operations_research.ConstraintSolverParameters solver_parameters = 1;
Implements com.google.ortools.constraintsolver.RoutingModelParametersOrBuilder.
Definition at line 62 of file RoutingModelParameters.java.
|
protected |
Definition at line 44 of file RoutingModelParameters.java.
final boolean com.google.ortools.constraintsolver.RoutingModelParameters.isInitialized | ( | ) |
Definition at line 125 of file RoutingModelParameters.java.
|
static |
Definition at line 290 of file RoutingModelParameters.java.
|
static |
Definition at line 293 of file RoutingModelParameters.java.
Builder com.google.ortools.constraintsolver.RoutingModelParameters.newBuilderForType | ( | ) |
Definition at line 289 of file RoutingModelParameters.java.
|
protected |
Definition at line 303 of file RoutingModelParameters.java.
|
static |
Definition at line 261 of file RoutingModelParameters.java.
|
static |
Definition at line 267 of file RoutingModelParameters.java.
|
static |
Definition at line 238 of file RoutingModelParameters.java.
|
static |
Definition at line 242 of file RoutingModelParameters.java.
|
static |
Definition at line 227 of file RoutingModelParameters.java.
|
static |
Definition at line 232 of file RoutingModelParameters.java.
|
static |
Definition at line 274 of file RoutingModelParameters.java.
|
static |
Definition at line 280 of file RoutingModelParameters.java.
|
static |
Definition at line 248 of file RoutingModelParameters.java.
|
static |
Definition at line 253 of file RoutingModelParameters.java.
|
static |
Definition at line 216 of file RoutingModelParameters.java.
|
static |
Definition at line 221 of file RoutingModelParameters.java.
|
static |
Definition at line 781 of file RoutingModelParameters.java.
Builder com.google.ortools.constraintsolver.RoutingModelParameters.toBuilder | ( | ) |
Definition at line 297 of file RoutingModelParameters.java.
void com.google.ortools.constraintsolver.RoutingModelParameters.writeTo | ( | com.google.protobuf.CodedOutputStream | output | ) | throws java.io.IOException |
Definition at line 135 of file RoutingModelParameters.java.
|
static |
Definition at line 107 of file RoutingModelParameters.java.
|
static |
Definition at line 89 of file RoutingModelParameters.java.
|
static |
Definition at line 51 of file RoutingModelParameters.java.