DotNet Reference

DotNet Reference

RoutingModelParameters

Detailed Description

Parameters which have to be set when creating a RoutingModel.

Definition at line 2484 of file RoutingParameters.pb.cs.

Public Member Functions

 RoutingModelParameters ()
 
 RoutingModelParameters (RoutingModelParameters other)
 
RoutingModelParameters Clone ()
 
override bool Equals (object other)
 
bool Equals (RoutingModelParameters other)
 
override int GetHashCode ()
 
override string ToString ()
 
void WriteTo (pb::CodedOutputStream output)
 
int CalculateSize ()
 
void MergeFrom (RoutingModelParameters other)
 
void MergeFrom (pb::CodedInputStream input)
 

Static Public Attributes

const int SolverParametersFieldNumber = 1
 Field number for the "solver_parameters" field. More...
 
const int ReduceVehicleCostModelFieldNumber = 2
 Field number for the "reduce_vehicle_cost_model" field. More...
 
const int MaxCallbackCacheSizeFieldNumber = 3
 Field number for the "max_callback_cache_size" field. More...
 

Properties

static pb::MessageParser< RoutingModelParametersParser [get]
 
static pbr::MessageDescriptor Descriptor [get]
 
global::Google.OrTools.ConstraintSolver.ConstraintSolverParameters SolverParameters [get, set]
 Parameters to use in the underlying constraint solver. More...
 
bool ReduceVehicleCostModel [get, set]
 Advanced settings. More...
 
int MaxCallbackCacheSize [get, set]
 Cache callback calls if the number of nodes in the model is less or equal to this value. More...
 

Constructor & Destructor Documentation

◆ RoutingModelParameters() [1/2]

Definition at line 2501 of file RoutingParameters.pb.cs.

◆ RoutingModelParameters() [2/2]

Definition at line 2508 of file RoutingParameters.pb.cs.

Member Function Documentation

◆ CalculateSize()

int CalculateSize ( )
inline

Definition at line 2622 of file RoutingParameters.pb.cs.

◆ Clone()

RoutingModelParameters Clone ( )
inline

Definition at line 2516 of file RoutingParameters.pb.cs.

◆ Equals() [1/2]

override bool Equals ( object  other)
inline

Definition at line 2567 of file RoutingParameters.pb.cs.

◆ Equals() [2/2]

bool Equals ( RoutingModelParameters  other)
inline

Definition at line 2572 of file RoutingParameters.pb.cs.

◆ GetHashCode()

override int GetHashCode ( )
inline

Definition at line 2586 of file RoutingParameters.pb.cs.

◆ MergeFrom() [1/2]

void MergeFrom ( pb::CodedInputStream  input)
inline

Definition at line 2660 of file RoutingParameters.pb.cs.

◆ MergeFrom() [2/2]

void MergeFrom ( RoutingModelParameters  other)
inline

Definition at line 2640 of file RoutingParameters.pb.cs.

◆ ToString()

override string ToString ( )
inline

Definition at line 2598 of file RoutingParameters.pb.cs.

◆ WriteTo()

void WriteTo ( pb::CodedOutputStream  output)
inline

Definition at line 2603 of file RoutingParameters.pb.cs.

Member Data Documentation

◆ MaxCallbackCacheSizeFieldNumber

const int MaxCallbackCacheSizeFieldNumber = 3
static

Field number for the "max_callback_cache_size" field.

Definition at line 2552 of file RoutingParameters.pb.cs.

◆ ReduceVehicleCostModelFieldNumber

const int ReduceVehicleCostModelFieldNumber = 2
static

Field number for the "reduce_vehicle_cost_model" field.

Definition at line 2535 of file RoutingParameters.pb.cs.

◆ SolverParametersFieldNumber

const int SolverParametersFieldNumber = 1
static

Field number for the "solver_parameters" field.

Definition at line 2521 of file RoutingParameters.pb.cs.

Property Documentation

◆ Descriptor

pbr.MessageDescriptor Descriptor
staticget

Definition at line 2491 of file RoutingParameters.pb.cs.

◆ MaxCallbackCacheSize

int MaxCallbackCacheSize
getset

Cache callback calls if the number of nodes in the model is less or equal to this value.

Definition at line 2559 of file RoutingParameters.pb.cs.

◆ Parser

pb.MessageParser<RoutingModelParameters> Parser
staticget

Definition at line 2488 of file RoutingParameters.pb.cs.

◆ ReduceVehicleCostModel

bool ReduceVehicleCostModel
getset

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.

Definition at line 2544 of file RoutingParameters.pb.cs.

◆ SolverParameters

global.Google.OrTools.ConstraintSolver.ConstraintSolverParameters SolverParameters
getset

Parameters to use in the underlying constraint solver.

Definition at line 2527 of file RoutingParameters.pb.cs.


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