com.esri.arcgis.networkanalysis
Interface INetSolverWeightsGEN

All Superinterfaces:
Serializable
All Known Implementing Classes:
TraceFlowSolver

public interface INetSolverWeightsGEN
extends Serializable

Provides access to members that specify the weights to be used for this solver.

When To Use

Use the INetSolverWeightsGENinterface to specify what weights to use for tracing operations.

Product Availability

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


Method Summary
 void setFilterRanges(int elementType, Object[] fromValues, Object[] toValues)
          Sets the range of values to be filtered for the specified network element type.
 void setFilterType(int elementType, int weightFilterType, boolean applyNotOperator)
          Sets the filter type for the specified network element type.
 void setFromToEdgeFilterWeightByRef(INetWeight rhs1)
          Weight to be used for filtering edge elements traced in the digitized direction.
 void setFromToEdgeWeightByRef(INetWeight rhs1)
          Weight to be used to determine the cost of passing through edge elements in the digitized direction.
 void setJunctionFilterWeightByRef(INetWeight rhs1)
          Weight to be used for filtering junction elements.
 void setJunctionWeightByRef(INetWeight rhs1)
          Weight to be used to determine the cost of passing through junction elements.
 void setToFromEdgeFilterWeightByRef(INetWeight rhs1)
          Weight to be used for filtering edge elements traced against the digitized direction.
 void setToFromEdgeWeightByRef(INetWeight rhs1)
          Weight to be used to determine the cost of passing through edge elements against the digitized direction.
 

Method Detail

setJunctionWeightByRef

void setJunctionWeightByRef(INetWeight rhs1)
                            throws IOException,
                                   AutomationException
Weight to be used to determine the cost of passing through junction elements.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Parameters:
rhs1 - A reference to a com.esri.arcgis.geodatabase.INetWeight (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setFromToEdgeWeightByRef

void setFromToEdgeWeightByRef(INetWeight rhs1)
                              throws IOException,
                                     AutomationException
Weight to be used to determine the cost of passing through edge elements in the digitized direction.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Parameters:
rhs1 - A reference to a com.esri.arcgis.geodatabase.INetWeight (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setToFromEdgeWeightByRef

void setToFromEdgeWeightByRef(INetWeight rhs1)
                              throws IOException,
                                     AutomationException
Weight to be used to determine the cost of passing through edge elements against the digitized direction.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Parameters:
rhs1 - A reference to a com.esri.arcgis.geodatabase.INetWeight (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setJunctionFilterWeightByRef

void setJunctionFilterWeightByRef(INetWeight rhs1)
                                  throws IOException,
                                         AutomationException
Weight to be used for filtering junction elements.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Parameters:
rhs1 - A reference to a com.esri.arcgis.geodatabase.INetWeight (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setFromToEdgeFilterWeightByRef

void setFromToEdgeFilterWeightByRef(INetWeight rhs1)
                                    throws IOException,
                                           AutomationException
Weight to be used for filtering edge elements traced in the digitized direction.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Parameters:
rhs1 - A reference to a com.esri.arcgis.geodatabase.INetWeight (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setToFromEdgeFilterWeightByRef

void setToFromEdgeFilterWeightByRef(INetWeight rhs1)
                                    throws IOException,
                                           AutomationException
Weight to be used for filtering edge elements traced against the digitized direction.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Parameters:
rhs1 - A reference to a com.esri.arcgis.geodatabase.INetWeight (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setFilterType

void setFilterType(int elementType,
                   int weightFilterType,
                   boolean applyNotOperator)
                   throws IOException,
                          AutomationException
Sets the filter type for the specified network element type.

Product Availability

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

Parameters:
elementType - A com.esri.arcgis.geodatabase.esriElementType constant (in)
weightFilterType - A com.esri.arcgis.networkanalysis.esriWeightFilterType constant (in)
applyNotOperator - The applyNotOperator (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setFilterRanges

void setFilterRanges(int elementType,
                     Object[] fromValues,
                     Object[] toValues)
                     throws IOException,
                            AutomationException
Sets the range of values to be filtered for the specified network element type.

Product Availability

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

Parameters:
elementType - A com.esri.arcgis.geodatabase.esriElementType constant (in)
fromValues - A Variant (in)
toValues - A Variant (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.