ArcObjects Library Reference (NetworkAnalyst)  

INASolverSettings2 Interface

Provides access to settings common to all solvers.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Network Analyst Extension.

Members

Description
Read/write property AccumulateAttributeNames The collection of network attribute names to be accumulated with the analysis.
Read/write property AttributeParameterValue The value to use for an attribute parameter within the network dataset.
Read/write property HierarchyAttributeName The name of the hierarchy attribute to be used in analysis.
Read/write property HierarchyLevelCount The number of levels in the hierarchy attribute.
Read/write property IgnoreInvalidLocations Indicates if invalid locations should be ignored or raise an error.
Read/write property ImpedanceAttributeName The network attribute name to be used as the impedance attribute in analysis.
Read/write property MaxValueForHierarchy The maximum value of the hierarchy attribute.
Read/write property NumTransitionToHierarchy The number of lower level junctions to explore before searching the next hierarchy level.
Read/write property ResetHierarchyRangesOnBind Indicates if the hierarchy ranges will be reset to the network dataset's hierarchy settings when the solver is bound.
Read/write property RestrictionAttributeNames The collection of network attribute names to be used as restrictions with the analysis.
Read/write property RestrictUTurns Indicates how U-Turns should be restricted in the analysis.
Read/write property UseHierarchy Indicates if the hierarchy attribute for the network should be used in analysis.

Inherited Interfaces

Interfaces Description
INASolverSettings Provides access to settings common to all solvers.

CoClasses that implement INASolverSettings2

CoClasses and Classes Description
NAClosestFacilitySolver Performs closest facility analysis.
NALocationAllocationSolver Solves various location-allocation problem types
NAODCostMatrixSolver Performs origin-destination matrix analysis.
NARouteSolver Performs shortest path and tour analysis.
NAServerClosestFacilityParams A container for the closest facility solver settings and return parameters used by NAServer.
NAServerLocationAllocationParams A container for the Location-Allocation solver settings and return parameters used by NAServer.
NAServerODCostMatrixParams A container for the Origin-Destination Cost Matrix solver settings and return parameters used by NAServer.
NAServerRouteParams A container for the route solver settings and return parameters used by NAServer.
NAServerServiceAreaParams A container for the service area solver settings and return parameters used by NAServer.
NAServerVRPParams A container for the Vehicle Routing Problem solver settings and return parameters used by NAServer.
NAServiceAreaSolver Performs service area analysis.
NAVRPSolver Performs VRP network analysis.

Remarks

The INASolverSettings interface is a common interface used by all of the NASolver and NAServerSolverParams objects. It can be used to access some of the standard properties from the solver like the impedance attribute and which attributes to use for accumulating and restricting during network analysis.

.NET Snippets

Set Solver Properties | Statements - Set Solver Properties |

.NET Samples

Closest facility application using the NAServer extension in ArcGIS Server via a GIS server (Code Files: ClosestFacility_GISServerAPIClass) | Route application using the NAServer extension in ArcGIS Server via a GIS client (Code Files: Route_GISClientClass) | Route application using the NAServer extension in ArcGIS Server via a GIS server (Code Files: Route_GISServerAPIClass) | Service area application using the NAServer extension in ArcGIS Server via a GIS server (Code Files: ServiceArea_GISServerAPIClass) | Subset network evaluators (Code Files: SubsetHelperUI) |