com.esri.arcgis.networkanalyst
Interface INARouteSolver2

All Superinterfaces:
INARouteSolver, Serializable
All Known Implementing Classes:
NARouteSolver, NAServerRouteParams

public interface INARouteSolver2
extends INARouteSolver, Serializable

Provides access to the route solver.

Remarks

The INARouteSolver2 interface is used by the NARouteSolver and NAServerRouteParams objects to access the properties of the route solver.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.


Method Summary
 Date getStartTime()
          Specifies the time the route begins.
 boolean isUseStartTime()
          Indicates if the solver should start the route at a particular time.
 void setStartTime(Date value)
          Specifies the time the route begins.
 void setUseStartTime(boolean value)
          Indicates if the solver should start the route at a particular time.
 
Methods inherited from interface com.esri.arcgis.networkanalyst.INARouteSolver
getOutputLines, isCreateTraversalResult, isFindBestSequence, isPreserveFirstStop, isPreserveLastStop, isUseTimeWindows, setCreateTraversalResult, setFindBestSequence, setOutputLines, setPreserveFirstStop, setPreserveLastStop, setUseTimeWindows
 

Method Detail

setUseStartTime

void setUseStartTime(boolean value)
                     throws IOException,
                            AutomationException
Indicates if the solver should start the route at a particular time.

Remarks

UseStartTime specifies whether or not you want the solver to track the start time of the route. This property is used in conjunction with StartTime which specifies the actual start time.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
value - The value (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isUseStartTime

boolean isUseStartTime()
                       throws IOException,
                              AutomationException
Indicates if the solver should start the route at a particular time.

Remarks

UseStartTime specifies whether or not you want the solver to track the start time of the route. This property is used in conjunction with StartTime, which specifies the actual start time.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Returns:
The value
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setStartTime

void setStartTime(Date value)
                  throws IOException,
                         AutomationException
Specifies the time the route begins.

Remarks

StartTime specifies the route's start time. This property is used in conjunction with the UseStartTime property which specifies if the start time is used or not. The allowable date range (for explicit dates) is 1/1/1901 through 12/31/9999.

To specify days of the week, use the following chart:

Interpreted Day Specific Date to Pass to the Solver
Today 12/30/1899
Sunday 12/31/1899
Monday 1/1/1900
Tuesday 1/2/1900
Wednesday 1/3/1900
Thursday 1/4/1900
Friday 1/5/1900
Saturday 1/6/1900

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
value - The value (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getStartTime

Date getStartTime()
                  throws IOException,
                         AutomationException
Specifies the time the route begins.

Remarks

StartTime specifies the route's start time. This property is used in conjunction with the UseStartTime property which specifies if the start time is used or not. The allowable date range (for explicit dates) is 1/1/1901 through 12/31/9999.

To specify days of the week, use the following chart:

Interpreted Day Specific Date to Pass to the Solver
Today 12/30/1899
Sunday 12/31/1899
Monday 1/1/1900
Tuesday 1/2/1900
Wednesday 1/3/1900
Thursday 1/4/1900
Friday 1/5/1900
Saturday 1/6/1900

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Returns:
The value
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.