|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface INAODCostMatrixSolver2
Provides access to the OD cost matrix solver.
This interface is new at ArcGIS 9.3. It supersedes INAODCostMatrixSolver.
INAODCostMatrixSolver2 is the interface provided on the NAODCostMatrixSolver object to access the properties of the OD Cost Matrix solver.
Method Summary | |
---|---|
int |
getMatrixResultType()
Indicates the type of matrix result to be created. |
boolean |
isPopulateODLines()
Indicates if the ODLines class is to be populated. |
void |
setMatrixResultType(int type)
Indicates the type of matrix result to be created. |
void |
setPopulateODLines(boolean value)
Indicates if the ODLines class is to be populated. |
Methods inherited from interface com.esri.arcgis.networkanalyst.INAODCostMatrixSolver |
---|
getDefaultCutoff, getDefaultTargetDestinationCount, getOutputLines, setDefaultCutoff, setDefaultTargetDestinationCount, setOutputLines |
Method Detail |
---|
int getMatrixResultType() throws IOException, AutomationException
Specifies what type of a cost matrix is created during a solve.
If the solver is set to produce a matrix (either esriNAODCostMatrixFull or esriNAODCostMatrixUpdate), make sure that the PopulateODLines property is set to False as only one of these can be populated by the solver.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setMatrixResultType(int type) throws IOException, AutomationException
Specifies what type of a cost matrix is created during a solve.
If the solver is set to produce a matrix (either esriNAODCostMatrixFull or esriNAODCostMatrixUpdate), make sure that the PopulateODLines property is set to False as only one these can be populated by the solver.
type
- A com.esri.arcgis.networkanalyst.esriNAODCostMatrixType constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isPopulateODLines() throws IOException, AutomationException
Specifies if the solver should populate the ODLines output analysis class on solve.
If this is set to True, make sure that the MatrixResultType property is set to esriNAODCostMatrixNone as only one of these can be populated by the solver.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setPopulateODLines(boolean value) throws IOException, AutomationException
Returns true if the solver is set to populated the ODLines output analysis layer. If this is set true then the Matrix Result type cannot be populated. That is, the solver can either populate the ODLines or the Matrix result type.
Specifies if the solver should populate the ODLines output analyis class on solve.
If this is set to True, make sure that the MatrixResultType property is set to esriNAODCostMatrixNone as only one these can be populated by the solver.
value
- The value (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 |