|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IGPNAHierarchySettings
Provides access to properties/methods of the network analyst hierarchy settings object.
NAHierarchySettings specify if a particular network analyst solver should use a hierarchy. For example, the route, closest facility, OD matrix, and VRP solvers can use hierarchy if it is present in the network. The hierarchy can be used to solve quickly on large networks by modifying the shortest path solver to look at the road hierarchy and favor the higher level roads to reach the destination. This interface specifies how the values stored in a hierarchy attribute are mapped to the solver needs.
Method Summary | |
---|---|
int |
getMaxValueForHierarchy(int level)
The maximum value for a hierarchy level. |
IGPMessage |
initialize(IDENetworkDataset network)
Initialize hierarchy levels based on defaults found in the network. |
void |
setMaxValueForHierarchy(int level,
int value)
The maximum value for a hierarchy level. |
Method Detail |
---|
void setMaxValueForHierarchy(int level, int value) throws IOException, AutomationException
level
- The level (in)value
- The value (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getMaxValueForHierarchy(int level) throws IOException, AutomationException
level
- The level (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IGPMessage initialize(IDENetworkDataset network) throws IOException, AutomationException
network
- A reference to a com.esri.arcgis.geodatabase.IDENetworkDataset (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |