Performs network analysis based on the input solve parameters.
Solve(NAServerSolverParams SolverParams)
Parameter |
Description |
SolverParams |
Input parameters for one of three different network operations: route, closest facility and service area. |
Return Value
A NAServerSolverResults object containing results defined by the input network operation type (route, closest facility, or service area).
Remarks
This method is designed to be generic, thus the network operation is defined by the type of NAServerSolverParams provided as an input parameter. The Solve routine takes in solver properties (e.g. cost attribute, reorder stops, breaks, etc), input network locations (e.g. stops, barriers, etc), and result parameters specifying what should be returned (e.g. directions, map, network locations like stops with populated analysis values, analysis result classes, simple geometries, etc).
Examples