Indicates if the solver supports using a hierarchy network attribute.
[Visual Basic .NET] Public ReadOnly Property CanUseHierarchy As Boolean
[C#] public bool CanUseHierarchy {get;}
[C++]
HRESULT get_CanUseHierarchy(
VARIANT_BOOL* CanUseHierarchy
);
[C++]Parameters
CanUseHierarchy [out, retval] CanUseHierarchy is a parameter of type VARIANT_BOOL
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Network Analyst Extension.
Remarks
CanUseHierarchy indicates if a particular network analyst solver supports hierarchies. For example, the route, closest facility, OD matrix, and VRP solvers can use a hierarchy attribute if it is present in the network, however the service area solver cannot.
If the solver supports hierarchies and the network dataset has a hierarchy defined, the hierarchy can be used to solve quickly on large networks by favoring the higher-level roads to reach the destination.