ESRI.ArcGIS.NetworkAnalystTools
capacity_count Property
See Also  Send your comments to: Site Administrator | Terms of Use | PRIVACY | Copyright @ ESRI | Careers
ESRI.ArcGIS.NetworkAnalystTools Namespace > MakeVehicleRoutingProblemLayer Class : capacity_count Property




The number of capacity constraint dimensions required to describe the relevant limits of the vehicles. In an order delivery case, each vehicle may have a limited amount of weight and volume it can carry at one time based on physical and legal limitations. In this case, if you track the weight and volume on the orders, you can use these two capacities to prevent the vehicles from getting overloaded. The capacity count for this scenario is two (weight and volume). Depending on the problem, you may need to track different types or amounts of capacities. The capacities entered into the capacity fields (DeliveryQuantities and PickupQuantities for the Orders class and Capacities for the Routes class) are space-delimited strings of numbers, which can hold up to the number of values specified in Capacity Count. Each capacity dimension should appear in the same positional order for all capacity field values in the same VRP analysis layer. The capacities themselves are unnamed, so to avoid accidentally transposing capacity dimensions, ensure that the space-delimited capacity lists are always entered in the same order for all capacity field values. (In, Optional)

Syntax

Visual Basic (Declaration) 
Public Property capacity_count As Integer
Visual Basic (Usage)Copy Code
Dim instance As MakeVehicleRoutingProblemLayer
Dim value As Integer
 
instance.capacity_count = value
 
value = instance.capacity_count
C# 
public int capacity_count {get; set;}

See Also

© 2010 All Rights Reserved.