com.esri.arcgis.geoprocessing.tools.networkanalysttools
Class MakeODCostMatrixLayer

java.lang.Object
  extended by com.esri.arcgis.geoprocessing.AbstractGPTool
      extended by com.esri.arcgis.geoprocessing.tools.networkanalysttools.MakeODCostMatrixLayer
All Implemented Interfaces:
GPTool

public class MakeODCostMatrixLayer
extends AbstractGPTool

Makes an origindestination (od) cost matrix network analysis layer and sets its navigation properties. The Make OD Cost Matrix Layer tool is contained in the Network Analyst Tools tool box.

Software restrictions: none

Usage tips:


Field Summary
 
Fields inherited from class com.esri.arcgis.geoprocessing.AbstractGPTool
vals
 
Constructor Summary
MakeODCostMatrixLayer()
          Creates the Make OD Cost Matrix Layer tool with defaults.
MakeODCostMatrixLayer(Object inNetworkDataset, String outNetworkAnalysisLayer, String impedanceAttribute)
          Creates the Make OD Cost Matrix Layer tool with the required parameters.
 
Method Summary
 Object getAccumulateAttributeName()
          Returns the Accumulators parameter of this tool .
 double getDefaultCutoff()
          Returns the Default cutoff parameter of this tool .
 int getDefaultNumberDestinationsToFind()
          Returns the Default number of destinations to find parameter of this tool .
 String getHierarchy()
          Returns the Use hierarchy in analysis parameter of this tool .
 Object getHierarchySettings()
          Returns the Hierarchy rank settings parameter of this tool .
 String getImpedanceAttribute()
          Returns the Impedance attribute parameter of this tool .
 Object getInNetworkDataset()
          Returns the Input analysis network parameter of this tool .
 String getOutNetworkAnalysisLayer()
          Returns the Output layer name parameter of this tool .
 Object getOutputLayer()
          Returns the Network Analyst Layer parameter of this tool (Read only).
 String getOutputPathShape()
          Returns the Output path shape parameter of this tool .
 Object getRestrictionAttributeName()
          Returns the Restrictions parameter of this tool .
 String getToolboxAlias()
          Returns the alias of the tool box containing this tool.
 String getToolboxName()
          Returns the name of the tool box containing this tool.
 String getToolName()
          Returns the name of this tool.
 String getUTurnPolicy()
          Returns the U-turn policy parameter of this tool .
 void setAccumulateAttributeName(Object accumulateAttributeName)
          Sets the Accumulators parameter of this tool .
 void setDefaultCutoff(double defaultCutoff)
          Sets the Default cutoff parameter of this tool .
 void setDefaultNumberDestinationsToFind(int defaultNumberDestinationsToFind)
          Sets the Default number of destinations to find parameter of this tool .
 void setHierarchy(String hierarchy)
          Sets the Use hierarchy in analysis parameter of this tool .
 void setHierarchySettings(Object hierarchySettings)
          Sets the Hierarchy rank settings parameter of this tool .
 void setImpedanceAttribute(String impedanceAttribute)
          Sets the Impedance attribute parameter of this tool .
 void setInNetworkDataset(Object inNetworkDataset)
          Sets the Input analysis network parameter of this tool .
 void setOutNetworkAnalysisLayer(String outNetworkAnalysisLayer)
          Sets the Output layer name parameter of this tool .
 void setOutputPathShape(String outputPathShape)
          Sets the Output path shape parameter of this tool .
 void setRestrictionAttributeName(Object restrictionAttributeName)
          Sets the Restrictions parameter of this tool .
 void setUTurnPolicy(String uTurnPolicy)
          Sets the U-turn policy parameter of this tool .
 
Methods inherited from class com.esri.arcgis.geoprocessing.AbstractGPTool
getParameterValues, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MakeODCostMatrixLayer

public MakeODCostMatrixLayer()
Creates the Make OD Cost Matrix Layer tool with defaults.

Initializes the array of tool parameters with the default values specified when the tool was created.


MakeODCostMatrixLayer

public MakeODCostMatrixLayer(Object inNetworkDataset,
                             String outNetworkAnalysisLayer,
                             String impedanceAttribute)
Creates the Make OD Cost Matrix Layer tool with the required parameters.

Initializes the array of tool parameters with the values as specified for the required parameters and with the default values for the other parameters.

Parameters:
inNetworkDataset - Network Dataset Layer, the network dataset on which the OD cost matrix will be performed.
outNetworkAnalysisLayer - String, name of the OD cost matrix network analysis layer being created.
impedanceAttribute - String, the cost attribute to be used as impedance in the analysis.
Method Detail

getInNetworkDataset

public Object getInNetworkDataset()
Returns the Input analysis network parameter of this tool . This parameter is Network Dataset Layer, the network dataset on which the OD cost matrix will be performed. This is a required parameter.

Returns:
the Input analysis network

setInNetworkDataset

public void setInNetworkDataset(Object inNetworkDataset)
Sets the Input analysis network parameter of this tool . This parameter is Network Dataset Layer, the network dataset on which the OD cost matrix will be performed. This is a required parameter.

Parameters:
inNetworkDataset - Network Dataset Layer, the network dataset on which the OD cost matrix will be performed.

getOutNetworkAnalysisLayer

public String getOutNetworkAnalysisLayer()
Returns the Output layer name parameter of this tool . This parameter is String, name of the OD cost matrix network analysis layer being created. This is a required parameter.

Returns:
the Output layer name

setOutNetworkAnalysisLayer

public void setOutNetworkAnalysisLayer(String outNetworkAnalysisLayer)
Sets the Output layer name parameter of this tool . This parameter is String, name of the OD cost matrix network analysis layer being created. This is a required parameter.

Parameters:
outNetworkAnalysisLayer - String, name of the OD cost matrix network analysis layer being created.

getImpedanceAttribute

public String getImpedanceAttribute()
Returns the Impedance attribute parameter of this tool . This parameter is String, the cost attribute to be used as impedance in the analysis. This is a required parameter.

Returns:
the Impedance attribute

setImpedanceAttribute

public void setImpedanceAttribute(String impedanceAttribute)
Sets the Impedance attribute parameter of this tool . This parameter is String, the cost attribute to be used as impedance in the analysis. This is a required parameter.

Parameters:
impedanceAttribute - String, the cost attribute to be used as impedance in the analysis.

getDefaultCutoff

public double getDefaultCutoff()
Returns the Default cutoff parameter of this tool . This parameter is Double, default impedance value at which to cut off searching for facilities for a given incident. The default can be overridden by the value of the for the facility or incident. The minimum of the specified cutoffs for a given facilityincident pair is used to constrain the analysis. This is an optional parameter.

Returns:
the Default cutoff

setDefaultCutoff

public void setDefaultCutoff(double defaultCutoff)
Sets the Default cutoff parameter of this tool . This parameter is Double, default impedance value at which to cut off searching for facilities for a given incident. The default can be overridden by the value of the for the facility or incident. The minimum of the specified cutoffs for a given facilityincident pair is used to constrain the analysis. This is an optional parameter.

Parameters:
defaultCutoff - Double, default impedance value at which to cut off searching for facilities for a given incident. The default can be overridden by the value of the for the facility or incident. The minimum of the specified cutoffs for a given facilityincident pair is used to constrain the analysis.

getDefaultNumberDestinationsToFind

public int getDefaultNumberDestinationsToFind()
Returns the Default number of destinations to find parameter of this tool . This parameter is Long, default number of closest facilities to find per incident. The default can be overridden by the value of the TargetFacilityCount property of the incidents. This is an optional parameter.

Returns:
the Default number of destinations to find

setDefaultNumberDestinationsToFind

public void setDefaultNumberDestinationsToFind(int defaultNumberDestinationsToFind)
Sets the Default number of destinations to find parameter of this tool . This parameter is Long, default number of closest facilities to find per incident. The default can be overridden by the value of the TargetFacilityCount property of the incidents. This is an optional parameter.

Parameters:
defaultNumberDestinationsToFind - Long, default number of closest facilities to find per incident. The default can be overridden by the value of the TargetFacilityCount property of the incidents.

getAccumulateAttributeName

public Object getAccumulateAttributeName()
Returns the Accumulators parameter of this tool . This parameter is String, list of cost attributes to be accumulated during analysis. This is an optional parameter.

Returns:
the Accumulators

setAccumulateAttributeName

public void setAccumulateAttributeName(Object accumulateAttributeName)
Sets the Accumulators parameter of this tool . This parameter is String, list of cost attributes to be accumulated during analysis. This is an optional parameter.

Parameters:
accumulateAttributeName - String, list of cost attributes to be accumulated during analysis.

getUTurnPolicy

public String getUTurnPolicy()
Returns the U-turn policy parameter of this tool . This parameter is String, specifies optional U-turn restrictions. This is an optional parameter.

Returns:
the U-turn policy

setUTurnPolicy

public void setUTurnPolicy(String uTurnPolicy)
Sets the U-turn policy parameter of this tool . This parameter is String, specifies optional U-turn restrictions. This is an optional parameter.

Parameters:
uTurnPolicy - String, specifies optional U-turn restrictions.

getRestrictionAttributeName

public Object getRestrictionAttributeName()
Returns the Restrictions parameter of this tool . This parameter is String, list of restriction attributes to be honored during analysis. This is an optional parameter.

Returns:
the Restrictions

setRestrictionAttributeName

public void setRestrictionAttributeName(Object restrictionAttributeName)
Sets the Restrictions parameter of this tool . This parameter is String, list of restriction attributes to be honored during analysis. This is an optional parameter.

Parameters:
restrictionAttributeName - String, list of restriction attributes to be honored during analysis.

getHierarchy

public String getHierarchy()
Returns the Use hierarchy in analysis parameter of this tool . This parameter is String, specifies whether or not to use a hierarchy in the analysis. This is an optional parameter.

Returns:
the Use hierarchy in analysis

setHierarchy

public void setHierarchy(String hierarchy)
Sets the Use hierarchy in analysis parameter of this tool . This parameter is String, specifies whether or not to use a hierarchy in the analysis. This is an optional parameter.

Parameters:
hierarchy - String, specifies whether or not to use a hierarchy in the analysis.

getHierarchySettings

public Object getHierarchySettings()
Returns the Hierarchy rank settings parameter of this tool . This parameter is Network Analyst Hierarchy Settings, sets the hierarchy attribute values at which the navigation algorithm should form the highest, middle, and lowest ranks. The value is specified as a space-separated string containing two integers whose values must be greater than zero. The integers indicate low-to-mid and mid-to-high break values. The two integers must have their values in increasing order. For example, a value of "6 8" indicates that the primary roads are defined by the values of one to six, secondary roads by seven, and local roads by eight and higher. This is an optional parameter.

Returns:
the Hierarchy rank settings

setHierarchySettings

public void setHierarchySettings(Object hierarchySettings)
Sets the Hierarchy rank settings parameter of this tool . This parameter is Network Analyst Hierarchy Settings, sets the hierarchy attribute values at which the navigation algorithm should form the highest, middle, and lowest ranks. The value is specified as a space-separated string containing two integers whose values must be greater than zero. The integers indicate low-to-mid and mid-to-high break values. The two integers must have their values in increasing order. For example, a value of "6 8" indicates that the primary roads are defined by the values of one to six, secondary roads by seven, and local roads by eight and higher. This is an optional parameter.

Parameters:
hierarchySettings - Network Analyst Hierarchy Settings, sets the hierarchy attribute values at which the navigation algorithm should form the highest, middle, and lowest ranks. The value is specified as a space-separated string containing two integers whose values must be greater than zero. The integers indicate low-to-mid and mid-to-high break values. The two integers must have their values in increasing order. For example, a value of "6 8" indicates that the primary roads are defined by the values of one to six, secondary roads by seven, and local roads by eight and higher.

getOutputPathShape

public String getOutputPathShape()
Returns the Output path shape parameter of this tool . This parameter is String, specifies the output shape type. This is an optional parameter.

Returns:
the Output path shape

setOutputPathShape

public void setOutputPathShape(String outputPathShape)
Sets the Output path shape parameter of this tool . This parameter is String, specifies the output shape type. This is an optional parameter.

Parameters:
outputPathShape - String, specifies the output shape type.

getOutputLayer

public Object getOutputLayer()
Returns the Network Analyst Layer parameter of this tool (Read only). This is an derived parameter.

Returns:
the Network Analyst Layer

getToolName

public String getToolName()
Returns the name of this tool.

Returns:
the tool name

getToolboxName

public String getToolboxName()
Returns the name of the tool box containing this tool.

Returns:
the tool box name

getToolboxAlias

public String getToolboxAlias()
Returns the alias of the tool box containing this tool.

Returns:
the tool box alias