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


INASolver Interface (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > NetworkAnalyst > ESRI.ArcGIS.NetworkAnalyst > Interfaces > IN > INASolver Interface
ArcGIS Developer Help

INASolver Interface

Provides access to the common interface for all network solvers.

Product Availability

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

Members

Name Description
Method Bind Re-associate the solver with the given network dataset and its schema.
Read-only property CanAccumulateAttributes Indicates if the solver supports using accumulate network attributes.
Read-only property CanUseHierarchy Indicates if the solver supports using a hierarchy network attribute.
Read-only property ClassDefinitions The inputs and outputs defined by the solver.
Method CreateContext Creates the analysis context for the solver.
Method CreateLayer Makes a new network analysis layer for the solver context.
Read-only property DisplayName The display name of the solver.
Read-only property Name The name of the solver.
Read-only property Properties The properties for the solver.
Method Solve Perform the network analysis and construct results.
Method UpdateContext Update the analysis context for the solver.
Method UpdateLayer Updates the layer and indicates if the layer was updated.

Classes that implement INASolver

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.
NAServiceAreaSolver Performs service area analysis.
NAVRPSolver Performs VRP network analysis.

Remarks

The INASolver interface is a common interface used by all of the network solvers. It can be used to access some of the standard properties from the solver.  It is also used to create NAContext and NALayer objects and to perform the actual network analysis.

.NET Samples

Closest facility solver Location-allocation solver ArcGIS Network Analyst extension Engine application Origin-destination cost matrix solver Route layer Service area solver Subset network evaluators Vehicle routing problem solver