SolutionGetRouteLength Method |
Returns the number of nodes in the route for this Resource.
This includes the start and end nodes. Therefore if no Jobs have been
assigned to the Resource then the route length is two.
Namespace:
VRSolver
Assembly:
VRSolver (in VRSolver.dll) Version: 1.13.0.0
Syntaxpublic int GetRouteLength(
Resource resource
)
Public Function GetRouteLength (
resource As Resource
) As Integer
public:
int GetRouteLength(
Resource^ resource
)
member GetRouteLength :
resource : Resource -> int
Parameters
- resource
- Type: VRSolverResource
The Resource.
Return Value
Type:
Int32The number of nodes (JobParts plus start and end nodes)
in the route for this Resource.
Exceptions
See Also