Parameters used to configure savings heuristics.
More...
Parameters used to configure savings heuristics.
Definition at line 398 of file RoutingHeuristicParameters.pb.cs.
|
| static pb::MessageParser< SavingsParameters > | Parser [get] |
| static pbr::MessageDescriptor | Descriptor [get] |
| double | NeighborsRatio [get, set] |
| | Ratio (in ]0, 1]) of neighbors to consider for each node when constructing the savings. If unspecified, its value is considered to be 1.0.
|
| double | MaxMemoryUsageBytes [get, set] |
| | The number of neighbors considered for each node in the Savings heuristic is chosen so that the space used to store the savings doesn't exceed max_memory_usage_bytes, which must be in ]0, 1e10].
|
| bool | AddReverseArcs [get, set] |
| | Add savings related to reverse arcs when finding the nearest neighbors of the nodes.
|
| double | ArcCoefficient [get, set] |
| | Coefficient of the cost of the arc for which the saving value is being computed: Saving(a-->b) = Cost(a-->end) + Cost(start-->b).
|
◆ SavingsParameters() [1/2]
| Google.OrTools.ConstraintSolver.SavingsParameters.SavingsParameters |
( |
| ) |
|
|
inline |
◆ SavingsParameters() [2/2]
| Google.OrTools.ConstraintSolver.SavingsParameters.SavingsParameters |
( |
SavingsParameters | other | ) |
|
|
inline |
◆ CalculateSize()
| int Google.OrTools.ConstraintSolver.SavingsParameters.CalculateSize |
( |
| ) |
|
|
inline |
◆ Clone()
◆ Equals() [1/2]
| override bool Google.OrTools.ConstraintSolver.SavingsParameters.Equals |
( |
object | other | ) |
|
|
inline |
◆ Equals() [2/2]
| bool Google.OrTools.ConstraintSolver.SavingsParameters.Equals |
( |
SavingsParameters | other | ) |
|
|
inline |
◆ GetHashCode()
| override int Google.OrTools.ConstraintSolver.SavingsParameters.GetHashCode |
( |
| ) |
|
|
inline |
◆ MergeFrom() [1/2]
| void Google.OrTools.ConstraintSolver.SavingsParameters.MergeFrom |
( |
pb.CodedInputStream | input | ) |
|
|
inline |
◆ MergeFrom() [2/2]
| void Google.OrTools.ConstraintSolver.SavingsParameters.MergeFrom |
( |
SavingsParameters | other | ) |
|
|
inline |
◆ ToString()
| override string Google.OrTools.ConstraintSolver.SavingsParameters.ToString |
( |
| ) |
|
|
inline |
◆ WriteTo()
| void Google.OrTools.ConstraintSolver.SavingsParameters.WriteTo |
( |
pb.CodedOutputStream | output | ) |
|
|
inline |
◆ AddReverseArcsFieldNumber
| const int Google.OrTools.ConstraintSolver.SavingsParameters.AddReverseArcsFieldNumber = 3 |
|
static |
◆ ArcCoefficientFieldNumber
| const int Google.OrTools.ConstraintSolver.SavingsParameters.ArcCoefficientFieldNumber = 4 |
|
static |
◆ MaxMemoryUsageBytesFieldNumber
| const int Google.OrTools.ConstraintSolver.SavingsParameters.MaxMemoryUsageBytesFieldNumber = 2 |
|
static |
◆ NeighborsRatioFieldNumber
| const int Google.OrTools.ConstraintSolver.SavingsParameters.NeighborsRatioFieldNumber = 1 |
|
static |
◆ AddReverseArcs
| bool Google.OrTools.ConstraintSolver.SavingsParameters.AddReverseArcs |
|
getset |
◆ ArcCoefficient
| double Google.OrTools.ConstraintSolver.SavingsParameters.ArcCoefficient |
|
getset |
Coefficient of the cost of the arc for which the saving value is being computed: Saving(a-->b) = Cost(a-->end) + Cost(start-->b).
- arc_coefficient * Cost(a-->b) This parameter must be greater than 0, and its default value is 1.
Definition at line 509 of file RoutingHeuristicParameters.pb.cs.
◆ Descriptor
| pbr.MessageDescriptor Google.OrTools.ConstraintSolver.SavingsParameters.Descriptor |
|
staticget |
◆ MaxMemoryUsageBytes
| double Google.OrTools.ConstraintSolver.SavingsParameters.MaxMemoryUsageBytes |
|
getset |
The number of neighbors considered for each node in the Savings heuristic is chosen so that the space used to store the savings doesn't exceed max_memory_usage_bytes, which must be in ]0, 1e10].
- Note
- If both neighbors_ratio and max_memory_usage_bytes are specified, the number of neighbors considered for each node will be the minimum of the two numbers determined by these parameters.
Definition at line 474 of file RoutingHeuristicParameters.pb.cs.
◆ NeighborsRatio
| double Google.OrTools.ConstraintSolver.SavingsParameters.NeighborsRatio |
|
getset |
Ratio (in ]0, 1]) of neighbors to consider for each node when constructing the savings. If unspecified, its value is considered to be 1.0.
Definition at line 454 of file RoutingHeuristicParameters.pb.cs.
◆ Parser
| pb.MessageParser<SavingsParameters> Google.OrTools.ConstraintSolver.SavingsParameters.Parser |
|
staticget |
The documentation for this class was generated from the following file: