|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface INARouteSolver
Provides access to the route solver.
INARouteSolver has been superseded by INARouteSolver2.
Method Summary | |
---|---|
int |
getOutputLines()
Indicates if lines will be generated in the result. |
boolean |
isCreateTraversalResult()
Indicates if a traversal result will be generated. |
boolean |
isFindBestSequence()
Indicates if the solver should resequence the route in the optimal order. |
boolean |
isPreserveFirstStop()
Indicates if the solver should keep the first stop fixed in the sequence. |
boolean |
isPreserveLastStop()
Indicates if the solver should keep the last stop fixed in the sequence. |
boolean |
isUseTimeWindows()
Indicates if the solver should consider time windows. |
void |
setCreateTraversalResult(boolean value)
Indicates if a traversal result will be generated. |
void |
setFindBestSequence(boolean value)
Indicates if the solver should resequence the route in the optimal order. |
void |
setOutputLines(int value)
Indicates if lines will be generated in the result. |
void |
setPreserveFirstStop(boolean value)
Indicates if the solver should keep the first stop fixed in the sequence. |
void |
setPreserveLastStop(boolean value)
Indicates if the solver should keep the last stop fixed in the sequence. |
void |
setUseTimeWindows(boolean value)
Indicates if the solver should consider time windows. |
Method Detail |
---|
boolean isFindBestSequence() throws IOException, AutomationException
FindBestSequence determines whether or not the route solver optimizes the sequence of stops before solving the shortest path.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setFindBestSequence(boolean value) throws IOException, AutomationException
FindBestSequence determines whether or not the route solver optimizes the sequence of stops before solving the shortest path.
value
- The value (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isPreserveFirstStop() throws IOException, AutomationException
PreserveFirstStop allows the first stop to stay as the first stop if the FindBestSequence has been turned on to optimize the sequence of stops.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setPreserveFirstStop(boolean value) throws IOException, AutomationException
PreserveFirstStop allows the first stop to stay as the first stop if the FindBestSequence has been turned on to optimize the sequence of stops.
value
- The value (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isPreserveLastStop() throws IOException, AutomationException
PreserveLastStop allows the last stop to stay as the last stop if the FindBestSequence has been turned on to optimize the sequence of stops.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setPreserveLastStop(boolean value) throws IOException, AutomationException
PreserveLastStop allows the last stop to stay as the last stop if the FindBestSequence has been turned on to optimize the sequence of stops.
value
- The value (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isUseTimeWindows() throws IOException, AutomationException
UseTimeWindows allows the use of time windows on individual stops. The route solver will change the sequence of the stops to satisfy the time windows. This is done regardless of settings for FindBestSequence.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setUseTimeWindows(boolean value) throws IOException, AutomationException
UseTimeWindows allows the use of time windows on individual stops. The route solver will change the sequence of the stops to satisfy the time windows. This is done regardless of settings for FindBestSequence.
value
- The value (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isCreateTraversalResult() throws IOException, AutomationException
CreateTraversalResult specifies if the traversal results will be created by the route solver.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setCreateTraversalResult(boolean value) throws IOException, AutomationException
CreateTraversalResult specifies if the traversal results will be created by the route solver.
value
- The value (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getOutputLines() throws IOException, AutomationException
OutputLines specifies the type of lines that are generated by the solver. The type can be true shape, true shape with measures, straight lines connecting the stops or no lines.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setOutputLines(int value) throws IOException, AutomationException
OutputLines specifies the type of lines that are generated by the solver. The type can be true shape, true shape with measures, straight lines connecting the stops or no lines.
value
- A com.esri.arcgis.networkanalyst.esriNAOutputLineType constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |