This document is archived and information here might be outdated. Recommended version. |
Default solver parameters for the specified network analysis layer.
[Visual Basic .NET] Public Function GetSolverParameters ( _ ByVal NALayerName As String _ ) As INAServerSolverParams
[C#] public INAServerSolverParams GetSolverParameters ( string NALayerName );
[C++]
HRESULT GetSolverParameters(
BSTR NALayerName
);
[C++]
Parameters NALayerName [in]
NALayerName is a parameter of type BSTR
GetSolverParameters returns the NAServerSolverParams object (NAServerRouteParams, NAServerClosestFacilityParams, NAServerServiceAreaParams, NAServerLocationAllocationParams, NAServerODCostMatrixParams, NAServerVRPParams) corresponding to the NALayer name passed in. The parameter object returned will have defaults based on the NALayer it is referencing.
You can pass this resulting object into the Solve method on NAServer to perform network analysis.