|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface INetSolver
Provides access to members that specify the network and the barriers to be used with this solver.
When you create a TraceFlowSolver object, you also get a reference to a NetSolver object, since TraceFlowSolver inhereits from NetSolver.
Disabling an element class through the NetSolver object only disables it for your tracing operations. This does not affect how IUtilityNetwork::SetFlowDirection sets flow direction. If you want to disable elements for setting flow direction, INetAttributesEdit::SetDisabledState will disable network elements in stand-alone logical networks, and INetworkFeature::Enabled will disable network features in geometric networks.
Use the INetSolver interface to specify which network on which you want to perform an analysis, which elements in the network are barriers, and which element classes are disabled.
INetSolverWeights
,
ITraceFlowSolver
,
INetSolver
Method Summary | |
---|---|
void |
disableElementClass(int classID)
Sets an element class as disabled within this solver. |
void |
setElementBarriersByRef(int elementType,
INetElementBarriers rhs2)
Network element barrier set to be used in this solver. |
void |
setSelectionSetBarriersByRef(ISelectionSetBarriers rhs1)
Selection set barriers to be used in this solver. |
void |
setSourceNetworkByRef(INetwork rhs1)
Source network to be used in this solver. |
Method Detail |
---|
void setSourceNetworkByRef(INetwork rhs1) throws IOException, AutomationException
rhs1
- A reference to a com.esri.arcgis.geodatabase.INetwork (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setElementBarriersByRef(int elementType, INetElementBarriers rhs2) throws IOException, AutomationException
elementType
- A com.esri.arcgis.geodatabase.esriElementType constant (in)rhs2
- A reference to a com.esri.arcgis.networkanalysis.INetElementBarriers (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setSelectionSetBarriersByRef(ISelectionSetBarriers rhs1) throws IOException, AutomationException
rhs1
- A reference to a com.esri.arcgis.networkanalysis.ISelectionSetBarriers (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void disableElementClass(int classID) throws IOException, AutomationException
classID
- The classID (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 |