com.esri.arcgis.networkanalysis
Interface INetSolverWeights

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
INetSolverWeightsProxy

public interface INetSolverWeights
extends java.io.Serializable

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

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

When To Use

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

Not all members are callable from Java.  Please use INetSolverWeightsGEN instead.


Method Summary
 void setFilterRanges(int elementType, int rangeCount, java.lang.Object fromValues, java.lang.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

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

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

setFromToEdgeWeightByRef

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

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

setToFromEdgeWeightByRef

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

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

setJunctionFilterWeightByRef

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

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

setFromToEdgeFilterWeightByRef

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

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

setToFromEdgeFilterWeightByRef

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

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

setFilterType

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

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

setFilterRanges

public void setFilterRanges(int elementType,
                            int rangeCount,
                            java.lang.Object fromValues,
                            java.lang.Object toValues)
                     throws java.io.IOException,
                            AutomationException
Sets the range of values to be filtered for the specified network element type.

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