This document is archived and information here might be outdated.  Recommended version.


INASolverSettings2 Interface (ArcObjects .NET 10.6 SDK)
ArcObjects Help for .NET developers > ArcObjects namespaces > NetworkAnalyst > ESRI.ArcGIS.NetworkAnalyst > Interfaces > IN > INASolverSettings2 Interface (ArcObjects .NET 10.6 SDK)
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

Name 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 Deprecated as of 10.0. A container for the closest facility solver settings and return parameters used by NAServer.
NAServerLocationAllocationParams Deprecated as of 10.0. A container for the Location-Allocation solver settings and return parameters used by NAServer.
NAServerODCostMatrixParams Deprecated as of 10.0. A container for the Origin-Destination Cost Matrix solver settings and return parameters used by NAServer.
NAServerRouteParams Deprecated as of 10.0. A container for the route solver settings and return parameters used by NAServer.
NAServerServiceAreaParams Deprecated as of 10.0. A container for the service area solver settings and return parameters used by NAServer.
NAServerVRPParams Deprecated as of 10.0. 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

ArcGIS Network Analyst extension Engine application (Code Files: frmNALayerProperties) | Subset network evaluators (Code Files: SubsetHelperUI)