Interface RoutingModelParametersOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
RoutingModelParameters
,RoutingModelParameters.Builder
@Generated
public interface RoutingModelParametersOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionint
Cache callback calls if the number of nodes in the model is less or equal to this value.boolean
Advanced settings.Parameters to use in the underlying constraint solver.Parameters to use in the underlying constraint solver.boolean
Parameters to use in the underlying constraint solver.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasSolverParameters
boolean hasSolverParameters()Parameters to use in the underlying constraint solver.
.operations_research.ConstraintSolverParameters solver_parameters = 1;
- Returns:
- Whether the solverParameters field is set.
-
getSolverParameters
ConstraintSolverParameters getSolverParameters()Parameters to use in the underlying constraint solver.
.operations_research.ConstraintSolverParameters solver_parameters = 1;
- Returns:
- The solverParameters.
-
getSolverParametersOrBuilder
ConstraintSolverParametersOrBuilder getSolverParametersOrBuilder()Parameters to use in the underlying constraint solver.
.operations_research.ConstraintSolverParameters solver_parameters = 1;
-
getReduceVehicleCostModel
boolean 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.
-
getMaxCallbackCacheSize
int 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.
-