|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.networkanalyst.NAServerVRPParams
public class NAServerVRPParams
Deprecated as of 10.0. A container for the Vehicle Routing Problem solver settings and return parameters used by NAServer.
At version 10.1, ArcGIS for Server no longer supports performing network analysis via local connections using the GISServer and GISClient APIs. Use the SOAP or REST API instead.
NAServerVRPParams is used to pass solver settings and return parameters to the NAServer when performing stateless network analysis.
| Field Summary |
|---|
| Fields inherited from interface com.esri.arcgis.networkanalyst.INASolverSettings2 |
|---|
IID, IIDd3696546_2831_4aa5_a879_acd66e50a938, xxDummy |
| Fields inherited from interface com.esri.arcgis.networkanalyst.INASolverSettings |
|---|
IID5a8dc105_0e57_45c8_a01d_0188ce7f7b52 |
| Constructor Summary | |
|---|---|
NAServerVRPParams()
Constructs a NAServerVRPParams using ArcGIS Engine. |
|
NAServerVRPParams(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. NAServerVRPParams theNAServerVRPParams = (NAServerVRPParams) obj; |
|
| Method Summary | |
|---|---|
void |
deserialize(IXMLSerializeData data)
Deserializes an object from XML. |
boolean |
equals(Object o)
Compare this object with another |
IStringArray |
getAccumulateAttributeNames()
The collection of network attribute names to be accumulated with the analysis. |
Object |
getAttributeParameterValue(String attributeName,
String paramName)
The value to use for an attribute parameter within the network dataset. |
INAServerLocations |
getBarriers()
RecordSet or array of PropertySets representing Barriers loaded as network locations during analysis. |
INAServerLocations |
getBreaks()
RecordSet or array of PropertySets representing Breaks loaded as network locations during analysis. |
int |
getCapacityCount()
The number of dimensions for object sizes. |
void |
getClassID(GUID[] pClassID)
getClassID |
static String |
getClsid()
getClsid. |
Date |
getDefaultDate()
The date to use for time windows without dates. |
INAServerLocations |
getDepots()
RecordSet or array of PropertySets representing Depots loaded as network locations during analysis. |
String |
getDirectionsLanguage()
Language to use when computing directions. |
int |
getDirectionsLengthUnits()
Length units to use when computing directions. |
int |
getDirectionsOutputType()
Type of directions to generate. |
String |
getDirectionsStyleName()
Name of the directions style to use when generating directions. |
String |
getDirectionsTimeAttributeName()
Name of network attribute to use for the drive time when computing directions. |
int |
getDistanceFieldUnits()
The units for distance fields in the NA classes. |
double |
getExcessTransitTimePenaltyFactor()
The penalty factor for excess transit time in the objective function. |
INAODCostMatrix |
getExternalODCostMatrix()
The external OD cost matrix object. |
String |
getHierarchyAttributeName()
The name of the hierarchy attribute to be used in analysis. |
int |
getHierarchyLevelCount()
The number of levels in the hierarchy attribute. |
IImageDescription |
getImageDescription()
ImageDescription used when generating the MapImage returned with the analysis results. |
String |
getImpedanceAttributeName()
The network attribute name to be used as the impedance attribute in analysis. |
int |
getInternalODCostMatrixType()
Indicates the type of internal matrix to be created. |
String |
getLayerToken()
Token identifying the network analysis layer on the server to use. |
IMapDescription |
getMapDescription()
MapDescription used when generating the MapImage returned with the analysis results. |
double |
getMaxSnapTolerance()
Maximum search tolerance used when attempting to load network locations. |
int |
getMaxValueForHierarchy(int level)
The maximum value of the hierarchy attribute. |
String |
getMinNamespaceSupported()
The minimum namespace the class can serialize to (eg the 90 namespace). |
INAClassCandidateFieldMap[] |
getNAClassCandidateFieldMaps()
Array of NAClassCandidateFieldMaps . |
String |
getNALayerName()
Network analysis layer name. |
int |
getNumTransitionToHierarchy(int toLevel)
The number of lower level junctions to explore before searching the next hierarchy level. |
INAServerLocations |
getOrderPairs()
RecordSet or array of PropertySets representing Order Pairs loaded as network locations during analysis. |
INAServerLocations |
getOrders()
RecordSet or array of PropertySets representing Orders loaded as network locations during analysis. |
int |
getOutputLines()
Indicates how route lines are generated. |
ISpatialReference |
getOutputSpatialReference()
Spatial reference of the geometries returned with the analysis results. |
INAServerLocations |
getPolygonBarriers()
RecordSet or array of PropertySets representing Polygon Barriers loaded as collections of network locations during analysis. |
INAServerLocations |
getPolylineBarriers()
RecordSet or array of PropertySets representing Polyline Barriers loaded as collections of network locations during analysis. |
IStringArray |
getRestrictionAttributeNames()
The collection of network attribute names to be used as restrictions with the analysis. |
int |
getRestrictUTurns()
Indicates how U-Turns should be restricted in the analysis. |
INAServerLocations |
getRouteRenewals()
RecordSet or array of PropertySets representing Route Renewals loaded as network locations during analysis. |
INAServerLocations |
getRoutes()
RecordSet or array of PropertySets representing Routes loaded as network locations during analysis. |
INAServerLocations |
getRouteSeedPoints()
RecordSet or array of PropertySets representing Route Seed Points loaded as network locations during analysis. |
INAServerLocations |
getRouteZones()
RecordSet or array of PropertySets representing Route Zones loaded as network locations during analysis. |
void |
getSizeMax(_ULARGE_INTEGER[] pcbSize)
getSizeMax |
double |
getSnapTolerance()
Minimum search tolerance used when attempting to load network locations. |
int |
getSnapToleranceUnits()
Length units of the SnapTolerance and MaxSnapTolerance. |
INAServerLocations |
getSpecialties()
RecordSet or array of PropertySets representing Specialties loaded as network locations during analysis. |
int |
getTimeFieldUnits()
The units for time fields in the NA classes. |
double |
getTimeWindowViolationPenaltyFactor()
The penalty factor for time window violation in the objective function. |
int |
hashCode()
the hashcode for this object |
void |
interfaceSupportsErrorInfo(GUID riid)
interfaceSupportsErrorInfo |
void |
isDirty()
isDirty |
boolean |
isGenerateInternalRouteContext()
Indicates if the internal route context should be generated. |
boolean |
isIgnoreInvalidLocations()
Indicates if invalid locations should be ignored or raise an error. |
boolean |
isResetHierarchyRangesOnBind()
Indicates if the hierarchy ranges will be reset to the network dataset's hierarchy settings when the solver is bound. |
boolean |
isReturnBarriers()
Indicates if the output barriers recordset should be returned with the analysis results. |
boolean |
isReturnBreaks()
Indicates if the output Breaks recordset should be returned with the analysis results. |
boolean |
isReturnCompactDirections()
Indicates if compact directions should be generated and returned with the analysis results. |
boolean |
isReturnDepots()
Indicates if the output Depots recordset should be returned with the analysis results. |
boolean |
isReturnDepotVisits()
Indicates if the output Depot Visits recordset should be returned with the analysis results. |
boolean |
isReturnMap()
Indicates if a MapImage should be generated and returned with the analysis results. |
boolean |
isReturnOrderPairs()
Indicates if the output OrderPairs recordset should be returned with the analysis results. |
boolean |
isReturnOrders()
Indicates if the output Orders recordset should be returned with the analysis results. |
boolean |
isReturnPartialResultsOnError()
Indicates if the result object should be returned even if an error was generated during the solve operation. |
boolean |
isReturnPolygonBarriers()
Indicates if the output polygon barriers recordset should be returned with the analysis results. |
boolean |
isReturnPolylineBarriers()
Indicates if the output polyline barriers recordset should be returned with the analysis results. |
boolean |
isReturnRouteRenewals()
Indicates if the output Route Renewals recordset should be returned with the analysis results. |
boolean |
isReturnRoutes()
Indicates if the output Routes recordset should be returned with the analysis results. |
boolean |
isReturnRouteSeedPoints()
Indicates if the Route Seed Points recordset should be returned with the analysis results. |
boolean |
isReturnRouteZones()
Indicates if the Route Zones recordset should be returned with the analysis results. |
boolean |
isReturnSpecialties()
Indicates if the Specialties recordset should be returned with the analysis results. |
boolean |
isSaveLayerOnServer()
Indicates if the resulting analysis layer should be saved on the server. |
boolean |
isUseHierarchy()
Indicates if the hierarchy attribute for the network should be used in analysis. |
void |
load(IStream pstm)
load |
void |
readExternal(ObjectInput in)
|
void |
save(IStream pstm,
int fClearDirty)
save |
void |
serialize(IXMLSerializeData data)
Serializes an object to XML. |
void |
setAccumulateAttributeNamesByRef(IStringArray attributeNames)
The collection of network attribute names to be accumulated with the analysis. |
void |
setAttributeParameterValue(String attributeName,
String paramName,
Object value)
The value to use for an attribute parameter within the network dataset. |
void |
setBarriersByRef(INAServerLocations barriers)
RecordSet or array of PropertySets representing Barriers loaded as network locations during analysis. |
void |
setBreaksByRef(INAServerLocations breaks)
RecordSet or array of PropertySets representing Breaks loaded as network locations during analysis. |
void |
setCapacityCount(int value)
The number of dimensions for object sizes. |
void |
setDefaultDate(Date date)
The date to use for time windows without dates. |
void |
setDepotsByRef(INAServerLocations depots)
RecordSet or array of PropertySets representing Depots loaded as network locations during analysis. |
void |
setDirectionsLanguage(String directionsLanguage)
Language to use when computing directions. |
void |
setDirectionsLengthUnits(int directionsLengthUnits)
Length units to use when computing directions. |
void |
setDirectionsOutputType(int directionsOutputType)
Type of directions to generate. |
void |
setDirectionsStyleName(String directionsStyleName)
Name of the directions style to use when generating directions. |
void |
setDirectionsTimeAttributeName(String directionsTimeAttributeName)
Name of network attribute to use for the drive time when computing directions. |
void |
setDistanceFieldUnits(int units)
The units for distance fields in the NA classes. |
void |
setExcessTransitTimePenaltyFactor(double value)
The penalty factor for excess transit time in the objective function. |
void |
setExternalODCostMatrixByRef(INAODCostMatrix matrix)
The external OD cost matrix object. |
void |
setGenerateInternalRouteContext(boolean value)
Indicates if the internal route context should be generated. |
void |
setHierarchyAttributeName(String attributeName)
The name of the hierarchy attribute to be used in analysis. |
void |
setHierarchyLevelCount(int count)
The number of levels in the hierarchy attribute. |
void |
setIgnoreInvalidLocations(boolean ignoreInvalidLocations)
Indicates if invalid locations should be ignored or raise an error. |
void |
setImageDescriptionByRef(IImageDescription imageDescription)
ImageDescription used when generating the MapImage returned with the analysis results. |
void |
setImpedanceAttributeName(String attributeName)
The network attribute name to be used as the impedance attribute in analysis. |
void |
setInternalODCostMatrixType(int type)
Indicates the type of internal matrix to be created. |
void |
setLayerToken(String layerToken)
Token identifying the network analysis layer on the server to use. |
void |
setMapDescriptionByRef(IMapDescription mapDescription)
MapDescription used when generating the MapImage returned with the analysis results. |
void |
setMaxSnapTolerance(double maxSnapTolerance)
Maximum search tolerance used when attempting to load network locations. |
void |
setMaxValueForHierarchy(int level,
int value)
The maximum value of the hierarchy attribute. |
void |
setNAClassCandidateFieldMaps(INAClassCandidateFieldMap[] ppNAClassCandidateFieldMaps)
Array of NAClassCandidateFieldMaps . |
void |
setNALayerName(String nALayerName)
Network analysis layer name. |
void |
setNumTransitionToHierarchy(int toLevel,
int value)
The number of lower level junctions to explore before searching the next hierarchy level. |
void |
setOrderPairsByRef(INAServerLocations orderPairs)
RecordSet or array of PropertySets representing Order Pairs loaded as network locations during analysis. |
void |
setOrdersByRef(INAServerLocations orders)
RecordSet or array of PropertySets representing Orders loaded as network locations during analysis. |
void |
setOutputLines(int value)
Indicates how route lines are generated. |
void |
setOutputSpatialReferenceByRef(ISpatialReference spatialReference)
Spatial reference of the geometries returned with the analysis results. |
void |
setPolygonBarriersByRef(INAServerLocations polygonBarriers)
RecordSet or array of PropertySets representing Polygon Barriers loaded as collections of network locations during analysis. |
void |
setPolylineBarriersByRef(INAServerLocations polylineBarriers)
RecordSet or array of PropertySets representing Polyline Barriers loaded as collections of network locations during analysis. |
void |
setResetHierarchyRangesOnBind(boolean value)
Indicates if the hierarchy ranges will be reset to the network dataset's hierarchy settings when the solver is bound. |
void |
setRestrictionAttributeNamesByRef(IStringArray attributeName)
The collection of network attribute names to be used as restrictions with the analysis. |
void |
setRestrictUTurns(int backtrack)
Indicates how U-Turns should be restricted in the analysis. |
void |
setReturnBarriers(boolean returnBarriers)
Indicates if the output barriers recordset should be returned with the analysis results. |
void |
setReturnBreaks(boolean returnBreaks)
Indicates if the output Breaks recordset should be returned with the analysis results. |
void |
setReturnCompactDirections(boolean returnCompactDirections)
Indicates if compact directions should be generated and returned with the analysis results. |
void |
setReturnDepots(boolean returnDepots)
Indicates if the output Depots recordset should be returned with the analysis results. |
void |
setReturnDepotVisits(boolean returnDepotVisits)
Indicates if the output Depot Visits recordset should be returned with the analysis results. |
void |
setReturnMap(boolean returnMap)
Indicates if a MapImage should be generated and returned with the analysis results. |
void |
setReturnOrderPairs(boolean returnOrderPairs)
Indicates if the output OrderPairs recordset should be returned with the analysis results. |
void |
setReturnOrders(boolean returnOrders)
Indicates if the output Orders recordset should be returned with the analysis results. |
void |
setReturnPartialResultsOnError(boolean returnPartialResultsOnError)
Indicates if the result object should be returned even if an error was generated during the solve operation. |
void |
setReturnPolygonBarriers(boolean returnBarriers)
Indicates if the output polygon barriers recordset should be returned with the analysis results. |
void |
setReturnPolylineBarriers(boolean returnBarriers)
Indicates if the output polyline barriers recordset should be returned with the analysis results. |
void |
setReturnRouteRenewals(boolean returnRouteRenewals)
Indicates if the output Route Renewals recordset should be returned with the analysis results. |
void |
setReturnRoutes(boolean returnRoutes)
Indicates if the output Routes recordset should be returned with the analysis results. |
void |
setReturnRouteSeedPoints(boolean returnRouteSeedPoints)
Indicates if the Route Seed Points recordset should be returned with the analysis results. |
void |
setReturnRouteZones(boolean returnRouteZones)
Indicates if the Route Zones recordset should be returned with the analysis results. |
void |
setReturnSpecialties(boolean returnSpecialties)
Indicates if the Specialties recordset should be returned with the analysis results. |
void |
setRouteRenewalsByRef(INAServerLocations routeRenewals)
RecordSet or array of PropertySets representing Route Renewals loaded as network locations during analysis. |
void |
setRoutesByRef(INAServerLocations routes)
RecordSet or array of PropertySets representing Routes loaded as network locations during analysis. |
void |
setRouteSeedPointsByRef(INAServerLocations routeSeedPoints)
RecordSet or array of PropertySets representing Route Seed Points loaded as network locations during analysis. |
void |
setRouteZonesByRef(INAServerLocations routeZones)
RecordSet or array of PropertySets representing Route Zones loaded as network locations during analysis. |
void |
setSaveLayerOnServer(boolean saveLayerOnServer)
Indicates if the resulting analysis layer should be saved on the server. |
void |
setSnapTolerance(double snapTolerance)
Minimum search tolerance used when attempting to load network locations. |
void |
setSnapToleranceUnits(int snapToleranceUnits)
Length units of the SnapTolerance and MaxSnapTolerance. |
void |
setSpecialtiesByRef(INAServerLocations specialties)
RecordSet or array of PropertySets representing Specialties loaded as network locations during analysis. |
void |
setTimeFieldUnits(int units)
The units for time fields in the NA classes. |
void |
setTimeWindowViolationPenaltyFactor(double value)
The penalty factor for time window violation in the objective function. |
void |
setUseHierarchy(boolean useHierarchy)
Indicates if the hierarchy attribute for the network should be used in analysis. |
void |
writeExternal(ObjectOutput out)
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef |
|---|
getJintegraDispatch, release |
| Constructor Detail |
|---|
public NAServerVRPParams()
throws IOException,
UnknownHostException
IOException - if there are interop problems
UnknownHostException - if there are interop problems
public NAServerVRPParams(Object obj)
throws IOException
NAServerVRPParams theNAServerVRPParams = (NAServerVRPParams) obj;
obj to NAServerVRPParams.
obj - an object returned from ArcGIS Engine or Server
IOException - if there are interop problems| Method Detail |
|---|
public static String getClsid()
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
public void setNALayerName(String nALayerName)
throws IOException,
AutomationException
NALayerName specifies the Network Analyst Layer Name used within this NAContext.
setNALayerName in interface INAServerSolverParamsnALayerName - The nALayerName (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getNALayerName()
throws IOException,
AutomationException
NALayerName specifies the Network Analyst Layer Name used within this NAContext.
getNALayerName in interface INAServerSolverParamsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setSnapTolerance(double snapTolerance)
throws IOException,
AutomationException
SnapTolerance specifies the minimum search tolerance used when finding network locations.
setSnapTolerance in interface INAServerSolverParamssnapTolerance - The snapTolerance (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getSnapTolerance()
throws IOException,
AutomationException
SnapTolerance specifies the minimum search tolerance used when finding network locations.
getSnapTolerance in interface INAServerSolverParamsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setMaxSnapTolerance(double maxSnapTolerance)
throws IOException,
AutomationException
MaxSnapTolerance specifies the maximum search tolerance used when finding network locations.
setMaxSnapTolerance in interface INAServerSolverParamsmaxSnapTolerance - The maxSnapTolerance (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getMaxSnapTolerance()
throws IOException,
AutomationException
MaxSnapTolerance specifies the maximum search tolerance used when finding network locations.
getMaxSnapTolerance in interface INAServerSolverParamsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setSnapToleranceUnits(int snapToleranceUnits)
throws IOException,
AutomationException
SnapToleranceUnits specifies the units of the search tolerance in esriUnits type.
setSnapToleranceUnits in interface INAServerSolverParamssnapToleranceUnits - A com.esri.arcgis.system.esriUnits constant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getSnapToleranceUnits()
throws IOException,
AutomationException
getSnapToleranceUnits in interface INAServerSolverParamsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setNAClassCandidateFieldMaps(INAClassCandidateFieldMap[] ppNAClassCandidateFieldMaps)
throws IOException,
AutomationException
NAClassCandidateFieldMaps specifies the candidate fields for each NAClass. These field maps are used when loading network locations to map input fields with NAClass fields.
setNAClassCandidateFieldMaps in interface INAServerSolverParamsppNAClassCandidateFieldMaps - A reference to a com.esri.arcgis.networkanalyst.INAClassCandidateFieldMap array (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public INAClassCandidateFieldMap[] getNAClassCandidateFieldMaps()
throws IOException,
AutomationException
NAClassCandidateFieldMaps specifies the candidate fields for each NAClass. These field maps are used when loading network locations to map input fields with NAClass fields.
getNAClassCandidateFieldMaps in interface INAServerSolverParamsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setReturnMap(boolean returnMap)
throws IOException,
AutomationException
ReturnMap specifies if the map is returned by the solve.
setReturnMap in interface INAServerSolverParamsreturnMap - The returnMap (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isReturnMap()
throws IOException,
AutomationException
ReturnMap specifies if the map is returned by the solve.
isReturnMap in interface INAServerSolverParamsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setMapDescriptionByRef(IMapDescription mapDescription)
throws IOException,
AutomationException
MapDescription specifies the MapDescription object to use when drawing the map with the analysis results.
setMapDescriptionByRef in interface INAServerSolverParamsmapDescription - A reference to a com.esri.arcgis.carto.IMapDescription (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IMapDescription getMapDescription()
throws IOException,
AutomationException
MapDescription specifies the MapDescription object to use when drawing the map with the analysis results.
getMapDescription in interface INAServerSolverParamsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setImageDescriptionByRef(IImageDescription imageDescription)
throws IOException,
AutomationException
Specifies the ImageDescription used when creating maps during solve. Setting the Width and Height of the output map to be 200x200 pixels would look something like:
routeParams.ImageDescription.Display.Width = 200
routeParams.ImageDescription.Display.Height = 200
setImageDescriptionByRef in interface INAServerSolverParamsimageDescription - A reference to a com.esri.arcgis.carto.IImageDescription (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IImageDescription getImageDescription()
throws IOException,
AutomationException
Specifies the ImageDescription used when creating maps during solve. Setting the Width and Height of the output map to be 200x200 pixels would look something like:
routeParams.ImageDescription.Display.Width = 200
routeParams.ImageDescription.Display.Height = 200
getImageDescription in interface INAServerSolverParamsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setOutputSpatialReferenceByRef(ISpatialReference spatialReference)
throws IOException,
AutomationException
OutputSpatialReference specifies the spatial reference of the resulting geometry arrays returned from Solve. This does not change the spatial reference of the recordsets returned which are in the spatial reference of the network dataset.
setOutputSpatialReferenceByRef in interface INAServerSolverParamsspatialReference - A reference to a com.esri.arcgis.geometry.ISpatialReference (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public ISpatialReference getOutputSpatialReference()
throws IOException,
AutomationException
OutputSpatialReference specifies the spatial reference of the resulting geometry arrays returned from Solve. This does not change the spatial reference of the recordsets returned which are in the spatial reference of the network dataset.
getOutputSpatialReference in interface INAServerSolverParamsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setReturnPartialResultsOnError(boolean returnPartialResultsOnError)
throws IOException,
AutomationException
ReturnPartialResultsOnError: in cases when Solve fails, it allows to get available results objects back. For example, if less than two Stops were located, Route Solve operation can still return NAServerRouteResults object with Stops recordset populated.
setReturnPartialResultsOnError in interface INAServerSolverParams2returnPartialResultsOnError - The returnPartialResultsOnError (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isReturnPartialResultsOnError()
throws IOException,
AutomationException
isReturnPartialResultsOnError in interface INAServerSolverParams2IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setSaveLayerOnServer(boolean saveLayerOnServer)
throws IOException,
AutomationException
SaveLayerOnServer indicates if the network analysis layer should be saved on server for future reuse. If True, the NAServerSolverResults.LayerToken property will contain token assigned to the saved layer on server. In order to reuse this layer, set returned token value on NAServerSolverParams.LayerToken in subsequent requests.
setSaveLayerOnServer in interface INAServerSolverParams2saveLayerOnServer - The saveLayerOnServer (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isSaveLayerOnServer()
throws IOException,
AutomationException
isSaveLayerOnServer in interface INAServerSolverParams2IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setLayerToken(String layerToken)
throws IOException,
AutomationException
LayerToken contains token corresponding to an existing network analysis layer saved on the server to use during Solve rather than the default network analysis layer. The token value to use can be retrieved from NAServerSolverResults.LayerToken that was returned from a previous call to Solve with NAServerSolverParams.SaveLayerOnServer set to True.
setLayerToken in interface INAServerSolverParams2layerToken - The layerToken (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getLayerToken()
throws IOException,
AutomationException
getLayerToken in interface INAServerSolverParams2IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setOrdersByRef(INAServerLocations orders)
throws IOException,
AutomationException
Orders specifies an instance of NAServerLocations class to use as input when solving a vehicle routing problem.
setOrdersByRef in interface INAServerVRPParamsorders - A reference to a com.esri.arcgis.networkanalyst.INAServerLocations (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public INAServerLocations getOrders()
throws IOException,
AutomationException
getOrders in interface INAServerVRPParamsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setDepotsByRef(INAServerLocations depots)
throws IOException,
AutomationException
Depots specifies an instance of NAServerLocations class to use as input when solving a vehicle routing problem.
setDepotsByRef in interface INAServerVRPParamsdepots - A reference to a com.esri.arcgis.networkanalyst.INAServerLocations (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public INAServerLocations getDepots()
throws IOException,
AutomationException
getDepots in interface INAServerVRPParamsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setRoutesByRef(INAServerLocations routes)
throws IOException,
AutomationException
Routes specifies an instance of NAServerLocations class to use as input when solving a vehicle routing problem.
setRoutesByRef in interface INAServerVRPParamsroutes - A reference to a com.esri.arcgis.networkanalyst.INAServerLocations (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public INAServerLocations getRoutes()
throws IOException,
AutomationException
getRoutes in interface INAServerVRPParamsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setBreaksByRef(INAServerLocations breaks)
throws IOException,
AutomationException
Breaks specifies an instance of NAServerLocations class to use as input when solving a vehicle routing problem.
setBreaksByRef in interface INAServerVRPParamsbreaks - A reference to a com.esri.arcgis.networkanalyst.INAServerLocations (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public INAServerLocations getBreaks()
throws IOException,
AutomationException
getBreaks in interface INAServerVRPParamsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setRouteZonesByRef(INAServerLocations routeZones)
throws IOException,
AutomationException
RouteZones specifies an instance of NAServerLocations class to use as input when solving a vehicle routing problem.
setRouteZonesByRef in interface INAServerVRPParamsrouteZones - A reference to a com.esri.arcgis.networkanalyst.INAServerLocations (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public INAServerLocations getRouteZones()
throws IOException,
AutomationException
getRouteZones in interface INAServerVRPParamsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setRouteSeedPointsByRef(INAServerLocations routeSeedPoints)
throws IOException,
AutomationException
RouteSeedPoints specifies an instance of NAServerLocations class to use as input when solving a vehicle routing problem.
setRouteSeedPointsByRef in interface INAServerVRPParamsrouteSeedPoints - A reference to a com.esri.arcgis.networkanalyst.INAServerLocations (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public INAServerLocations getRouteSeedPoints()
throws IOException,
AutomationException
getRouteSeedPoints in interface INAServerVRPParamsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setRouteRenewalsByRef(INAServerLocations routeRenewals)
throws IOException,
AutomationException
RouteRenewals specifies an instance of NAServerLocations class to use as input when solving a vehicle routing problem.
setRouteRenewalsByRef in interface INAServerVRPParamsrouteRenewals - A reference to a com.esri.arcgis.networkanalyst.INAServerLocations (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public INAServerLocations getRouteRenewals()
throws IOException,
AutomationException
getRouteRenewals in interface INAServerVRPParamsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setSpecialtiesByRef(INAServerLocations specialties)
throws IOException,
AutomationException
Specialties specifies an instance of NAServerLocations class to use as input when solving a vehicle routing problem.
setSpecialtiesByRef in interface INAServerVRPParamsspecialties - A reference to a com.esri.arcgis.networkanalyst.INAServerLocations (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public INAServerLocations getSpecialties()
throws IOException,
AutomationException
getSpecialties in interface INAServerVRPParamsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setOrderPairsByRef(INAServerLocations orderPairs)
throws IOException,
AutomationException
OrderPairs specifies an instance of NAServerLocations class to use as input when solving a vehicle routing problem.
setOrderPairsByRef in interface INAServerVRPParamsorderPairs - A reference to a com.esri.arcgis.networkanalyst.INAServerLocations (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public INAServerLocations getOrderPairs()
throws IOException,
AutomationException
getOrderPairs in interface INAServerVRPParamsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setBarriersByRef(INAServerLocations barriers)
throws IOException,
AutomationException
Barriers specifies an instance of NAServerLocations class to use in order to restrict or alter the impedance of network elements.
setBarriersByRef in interface INAServerVRPParamsbarriers - A reference to a com.esri.arcgis.networkanalyst.INAServerLocations (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public INAServerLocations getBarriers()
throws IOException,
AutomationException
getBarriers in interface INAServerVRPParamsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setPolylineBarriersByRef(INAServerLocations polylineBarriers)
throws IOException,
AutomationException
PolylineBarriers specifies an instance of NAServerLocations class to use in order to restrict or alter the impedance of network elements.
setPolylineBarriersByRef in interface INAServerVRPParamspolylineBarriers - A reference to a com.esri.arcgis.networkanalyst.INAServerLocations (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public INAServerLocations getPolylineBarriers()
throws IOException,
AutomationException
getPolylineBarriers in interface INAServerVRPParamsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setPolygonBarriersByRef(INAServerLocations polygonBarriers)
throws IOException,
AutomationException
PolygonBarriers specifies an instance of NAServerLocations class to use in order to restrict or alter the impedance of network elements.
setPolygonBarriersByRef in interface INAServerVRPParamspolygonBarriers - A reference to a com.esri.arcgis.networkanalyst.INAServerLocations (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public INAServerLocations getPolygonBarriers()
throws IOException,
AutomationException
getPolygonBarriers in interface INAServerVRPParamsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setReturnOrderPairs(boolean returnOrderPairs)
throws IOException,
AutomationException
ReturnOrderPairs indicates if the order pairs used during analysis should be returned as a RecordSet.
setReturnOrderPairs in interface INAServerVRPParamsreturnOrderPairs - The returnOrderPairs (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isReturnOrderPairs()
throws IOException,
AutomationException
isReturnOrderPairs in interface INAServerVRPParamsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setReturnOrders(boolean returnOrders)
throws IOException,
AutomationException
ReturnOrders indicates if the orders used during analysis should be returned as a RecordSet.
setReturnOrders in interface INAServerVRPParamsreturnOrders - The returnOrders (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isReturnOrders()
throws IOException,
AutomationException
isReturnOrders in interface INAServerVRPParamsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setReturnDepots(boolean returnDepots)
throws IOException,
AutomationException
ReturnDepots indicates if the depots used during analysis should be returned as a RecordSet.
setReturnDepots in interface INAServerVRPParamsreturnDepots - The returnDepots (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isReturnDepots()
throws IOException,
AutomationException
isReturnDepots in interface INAServerVRPParamsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setReturnRoutes(boolean returnRoutes)
throws IOException,
AutomationException
ReturnRoutes indicates if the route features should be returned as a RecordSet.
setReturnRoutes in interface INAServerVRPParamsreturnRoutes - The returnRoutes (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isReturnRoutes()
throws IOException,
AutomationException
isReturnRoutes in interface INAServerVRPParamsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setReturnDepotVisits(boolean returnDepotVisits)
throws IOException,
AutomationException
ReturnDepotVisits indicates if the depot visits features should be returned as a RecordSet.
setReturnDepotVisits in interface INAServerVRPParamsreturnDepotVisits - The returnDepotVisits (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isReturnDepotVisits()
throws IOException,
AutomationException
isReturnDepotVisits in interface INAServerVRPParamsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setReturnBreaks(boolean returnBreaks)
throws IOException,
AutomationException
ReturnBreaks indicates if the breaks used during analysis should be returned as a RecordSet.
setReturnBreaks in interface INAServerVRPParamsreturnBreaks - The returnBreaks (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isReturnBreaks()
throws IOException,
AutomationException
isReturnBreaks in interface INAServerVRPParamsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setReturnRouteRenewals(boolean returnRouteRenewals)
throws IOException,
AutomationException
ReturnRouteRenewals indicates if the route renewals used during analysis should be returned as a RecordSet.
setReturnRouteRenewals in interface INAServerVRPParamsreturnRouteRenewals - The returnRouteRenewals (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isReturnRouteRenewals()
throws IOException,
AutomationException
isReturnRouteRenewals in interface INAServerVRPParamsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setReturnRouteSeedPoints(boolean returnRouteSeedPoints)
throws IOException,
AutomationException
ReturnRouteSeedPoints indicates if the route seed points used during analysis should be returned as a RecordSet.
setReturnRouteSeedPoints in interface INAServerVRPParamsreturnRouteSeedPoints - The returnRouteSeedPoints (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isReturnRouteSeedPoints()
throws IOException,
AutomationException
isReturnRouteSeedPoints in interface INAServerVRPParamsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setReturnRouteZones(boolean returnRouteZones)
throws IOException,
AutomationException
ReturnRouteZones indicates if the route zones used during analysis should be returned as a RecordSet.
setReturnRouteZones in interface INAServerVRPParamsreturnRouteZones - The returnRouteZones (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isReturnRouteZones()
throws IOException,
AutomationException
isReturnRouteZones in interface INAServerVRPParamsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setReturnSpecialties(boolean returnSpecialties)
throws IOException,
AutomationException
ReturnSpecialties indicates if the route specialties used during analysis should be returned as a RecordSet.
setReturnSpecialties in interface INAServerVRPParamsreturnSpecialties - The returnSpecialties (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isReturnSpecialties()
throws IOException,
AutomationException
isReturnSpecialties in interface INAServerVRPParamsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setReturnBarriers(boolean returnBarriers)
throws IOException,
AutomationException
ReturnBarriers specifies if the Barriers are returned.
setReturnBarriers in interface INAServerVRPParamsreturnBarriers - The returnBarriers (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isReturnBarriers()
throws IOException,
AutomationException
isReturnBarriers in interface INAServerVRPParamsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setReturnPolylineBarriers(boolean returnBarriers)
throws IOException,
AutomationException
ReturnPolylineBarriers specifies if the PolylineBarriers are returned.
setReturnPolylineBarriers in interface INAServerVRPParamsreturnBarriers - The returnBarriers (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isReturnPolylineBarriers()
throws IOException,
AutomationException
isReturnPolylineBarriers in interface INAServerVRPParamsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setReturnPolygonBarriers(boolean returnBarriers)
throws IOException,
AutomationException
ReturnPolygonBarriers specifies if the PolygonBarriers are returned.
setReturnPolygonBarriers in interface INAServerVRPParamsreturnBarriers - The returnBarriers (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isReturnPolygonBarriers()
throws IOException,
AutomationException
isReturnPolygonBarriers in interface INAServerVRPParamsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setReturnCompactDirections(boolean returnCompactDirections)
throws IOException,
AutomationException
ReturnCompactDirections indicates if compact driving directions should be returned.
setReturnCompactDirections in interface INAServerVRPParamsreturnCompactDirections - The returnCompactDirections (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isReturnCompactDirections()
throws IOException,
AutomationException
isReturnCompactDirections in interface INAServerVRPParamsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setDirectionsLanguage(String directionsLanguage)
throws IOException,
AutomationException
DirectionsLanguage specifies the language used when generating directions.
setDirectionsLanguage in interface INAServerVRPParamsdirectionsLanguage - The directionsLanguage (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getDirectionsLanguage()
throws IOException,
AutomationException
getDirectionsLanguage in interface INAServerVRPParamsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setDirectionsLengthUnits(int directionsLengthUnits)
throws IOException,
AutomationException
DirectionsLengthUnits specifies the length units of the directions in esriNetworkAttributeUnits.
setDirectionsLengthUnits in interface INAServerVRPParamsdirectionsLengthUnits - A com.esri.arcgis.geodatabase.esriNetworkAttributeUnits constant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getDirectionsLengthUnits()
throws IOException,
AutomationException
getDirectionsLengthUnits in interface INAServerVRPParamsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setDirectionsOutputType(int directionsOutputType)
throws IOException,
AutomationException
DirectionsOutputType defines the type of content of directions.
setDirectionsOutputType in interface INAServerVRPParamsdirectionsOutputType - A com.esri.arcgis.networkanalyst.esriDirectionsOutputType constant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getDirectionsOutputType()
throws IOException,
AutomationException
getDirectionsOutputType in interface INAServerVRPParamsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setDirectionsStyleName(String directionsStyleName)
throws IOException,
AutomationException
DirectionsStyleName defines name of the formatting style of directions. For the list of supported styles see NAServer.GetNetworkDescription() and NAServerNetworkDirections class.
setDirectionsStyleName in interface INAServerVRPParamsdirectionsStyleName - The directionsStyleName (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getDirectionsStyleName()
throws IOException,
AutomationException
getDirectionsStyleName in interface INAServerVRPParamsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setDirectionsTimeAttributeName(String directionsTimeAttributeName)
throws IOException,
AutomationException
DirectionsTimeAttributeName specifies the time cost attribute used when generating directions.
setDirectionsTimeAttributeName in interface INAServerVRPParamsdirectionsTimeAttributeName - The directionsTimeAttributeName (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getDirectionsTimeAttributeName()
throws IOException,
AutomationException
getDirectionsTimeAttributeName in interface INAServerVRPParamsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IStringArray getAccumulateAttributeNames()
throws IOException,
AutomationException
getAccumulateAttributeNames in interface INASolverSettingsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setAccumulateAttributeNamesByRef(IStringArray attributeNames)
throws IOException,
AutomationException
setAccumulateAttributeNamesByRef in interface INASolverSettingsattributeNames - A reference to a com.esri.arcgis.system.IStringArray (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setImpedanceAttributeName(String attributeName)
throws IOException,
AutomationException
setImpedanceAttributeName in interface INASolverSettingsattributeName - The attributeName (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getImpedanceAttributeName()
throws IOException,
AutomationException
getImpedanceAttributeName in interface INASolverSettingsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setIgnoreInvalidLocations(boolean ignoreInvalidLocations)
throws IOException,
AutomationException
setIgnoreInvalidLocations in interface INASolverSettingsignoreInvalidLocations - The ignoreInvalidLocations (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isIgnoreInvalidLocations()
throws IOException,
AutomationException
isIgnoreInvalidLocations in interface INASolverSettingsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IStringArray getRestrictionAttributeNames()
throws IOException,
AutomationException
getRestrictionAttributeNames in interface INASolverSettingsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setRestrictionAttributeNamesByRef(IStringArray attributeName)
throws IOException,
AutomationException
setRestrictionAttributeNamesByRef in interface INASolverSettingsattributeName - A reference to a com.esri.arcgis.system.IStringArray (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setRestrictUTurns(int backtrack)
throws IOException,
AutomationException
setRestrictUTurns in interface INASolverSettingsbacktrack - A com.esri.arcgis.geodatabase.esriNetworkForwardStarBacktrack constant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getRestrictUTurns()
throws IOException,
AutomationException
getRestrictUTurns in interface INASolverSettingsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setUseHierarchy(boolean useHierarchy)
throws IOException,
AutomationException
setUseHierarchy in interface INASolverSettingsuseHierarchy - The useHierarchy (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isUseHierarchy()
throws IOException,
AutomationException
isUseHierarchy in interface INASolverSettingsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setHierarchyAttributeName(String attributeName)
throws IOException,
AutomationException
setHierarchyAttributeName in interface INASolverSettingsattributeName - The attributeName (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getHierarchyAttributeName()
throws IOException,
AutomationException
getHierarchyAttributeName in interface INASolverSettingsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setHierarchyLevelCount(int count)
throws IOException,
AutomationException
setHierarchyLevelCount in interface INASolverSettingscount - The count (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getHierarchyLevelCount()
throws IOException,
AutomationException
getHierarchyLevelCount in interface INASolverSettingsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setMaxValueForHierarchy(int level,
int value)
throws IOException,
AutomationException
setMaxValueForHierarchy in interface INASolverSettingslevel - The level (in)value - The value (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getMaxValueForHierarchy(int level)
throws IOException,
AutomationException
getMaxValueForHierarchy in interface INASolverSettingslevel - The level (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setNumTransitionToHierarchy(int toLevel,
int value)
throws IOException,
AutomationException
setNumTransitionToHierarchy in interface INASolverSettingstoLevel - The toLevel (in)value - The value (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getNumTransitionToHierarchy(int toLevel)
throws IOException,
AutomationException
getNumTransitionToHierarchy in interface INASolverSettingstoLevel - The toLevel (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isResetHierarchyRangesOnBind()
throws IOException,
AutomationException
isResetHierarchyRangesOnBind in interface INASolverSettings2IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setResetHierarchyRangesOnBind(boolean value)
throws IOException,
AutomationException
setResetHierarchyRangesOnBind in interface INASolverSettings2value - The value (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public Object getAttributeParameterValue(String attributeName,
String paramName)
throws IOException,
AutomationException
getAttributeParameterValue in interface INASolverSettings2attributeName - The attributeName (in)paramName - The paramName (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setAttributeParameterValue(String attributeName,
String paramName,
Object value)
throws IOException,
AutomationException
setAttributeParameterValue in interface INASolverSettings2attributeName - The attributeName (in)paramName - The paramName (in)value - A Variant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getInternalODCostMatrixType()
throws IOException,
AutomationException
The InternalODCostMatrixType property specifies a value of type esriNAODCostMatrixType. This enumeration constrains how the VRP solver uses and manages an internal NAODCostMatrixResult object during a Solve.
A client using the internal OD cost matrix pattern should set this property to esriNAODCostMatrixFull whenever the set of barrier locations, restrictions, usage of hierarchy or attribute parameter values have changed since the last Solve operation. This ensures that the internal OD cost matrix is fully recalculated based on any new barrier locations or solver settings. Otherwise, setting this property to esriNAODCostMatrixUpdate will ensure that the internal cost matrix is updated with new OD cost entries for locations added since the last Solve operation.
getInternalODCostMatrixType in interface INAVRPSolverIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setInternalODCostMatrixType(int type)
throws IOException,
AutomationException
setInternalODCostMatrixType in interface INAVRPSolvertype - A com.esri.arcgis.networkanalyst.esriNAODCostMatrixType constant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isGenerateInternalRouteContext()
throws IOException,
AutomationException
The GenerateInternalRouteContext property is deprecated and should no longer be used.
isGenerateInternalRouteContext in interface INAVRPSolverIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setGenerateInternalRouteContext(boolean value)
throws IOException,
AutomationException
setGenerateInternalRouteContext in interface INAVRPSolvervalue - The value (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public INAODCostMatrix getExternalODCostMatrix()
throws IOException,
AutomationException
The ExternalODCostMatrix property can be used to specify an externally-created NAODCostMatrixResult object or custom object that implements the INAODCostMatrix interface for use within the VRP solver Solve operation. The impedance and accumulate attributes for this matrix object must agree with those of the VRP solver settings.
The ExternalODCostMatrix property value is NULL by default. This property should only be set when the INAVRPSolver.InternalODCostMatrixType is equal to esriNAODCostMatrixNone. This property is also not persisted. When a VRP solver instance is re-hydrated, the value for this property is NULL.
getExternalODCostMatrix in interface INAVRPSolverIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setExternalODCostMatrixByRef(INAODCostMatrix matrix)
throws IOException,
AutomationException
setExternalODCostMatrixByRef in interface INAVRPSolvermatrix - A reference to a com.esri.arcgis.networkanalyst.INAODCostMatrix (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getTimeFieldUnits()
throws IOException,
AutomationException
The TimeFieldUnits property specifies the unit of time to associate with the time-based input and output field values of NAClasses within a VRP NAContext. Examples of such time-based fields include the ServiceTime field on the Orders NAClass and the CostPerUnitTime field on the Routes NAClass. This time unit need not agree with the time unit of the impedance cost attribute. For example, the client may use an impedance cost attribute based on minutes but use seconds for the time-based field values.
getTimeFieldUnits in interface INAVRPSolverIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setTimeFieldUnits(int units)
throws IOException,
AutomationException
setTimeFieldUnits in interface INAVRPSolverunits - A com.esri.arcgis.geodatabase.esriNetworkAttributeUnits constant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getDistanceFieldUnits()
throws IOException,
AutomationException
The DistanceFieldUnits property specifies the unit of distance to associate with the distance-based input and output field values of NAClasses within a VRP NAContext. Examples of such distance-based fields include the TotalDistance field and the CostPerUnitDistance field on the Routes NAClass. This distance unit need not agree with the distance unit of the accumulate cost attribute. For example, the client may use an accumulate cost attribute based on kilometers but use miles for the distance-based field values.
getDistanceFieldUnits in interface INAVRPSolverIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setDistanceFieldUnits(int units)
throws IOException,
AutomationException
setDistanceFieldUnits in interface INAVRPSolverunits - A com.esri.arcgis.geodatabase.esriNetworkAttributeUnits constant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public Date getDefaultDate()
throws IOException,
AutomationException
The DefaultDate property is used to specify the default date portion of date-based fields (where FieldType = esriFieldTypeDate) within the NAClasses of a VRP NAContext. Fields of type esriFieldTypeDate can actually be used to specify both date-time values (e.g., June 1, 2008, 8AM) and time-only values (e.g., 8AM). Time-only values will be interpreted by the VRP solver as having a date portion equal to the DefaultDate property value.
For example, if a date-based field value within a particular NAClass of a VRP NAContext is set as the time-only value 8AM and the DefaultDate property value is set as June 1, 2008, then the VRP solver will interpret this date-based field value as June 1, 2008, 8AM.
The DefaultDate property cannot be before January 1, 1900 or after December 31, 9999. By default, the DefaultDate property is set equal to the current date when the solver is created.
getDefaultDate in interface INAVRPSolverIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setDefaultDate(Date date)
throws IOException,
AutomationException
setDefaultDate in interface INAVRPSolverdate - The date (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getCapacityCount()
throws IOException,
AutomationException
Capacities are used to model cumulative quantity constraints on the routes. These constraints typically arise from physical measurements and limit the total pickup and/or delivery quantities of orders associated with a route. The CapacityCount property specifies the number of different capacities that are being constrained. For example, if you are constraining weight and volume, the CapacityCount would be 2. Following this example, a route feature with its Capacities field value set to “2000 500” would indicate that it can transport a maximum weight of 2000 units (pounds) with a maximum volume of 500 units (cubic feet). An order feature might have its DeliveryQuantities field value set to “10 5” indicating that the weight of the order is 10 and its volume is 5.
The units for capacities are not specified in the VRP solver; furthermore, the ordering of the capacities in the string is arbitrary. This means that within a VRP analysis, capacities always need to be listed in the same sequence (in this example, weight and then volume) among all routes and orders. The number of tokens in these strings cannot exceed the CapacityCount property value.
getCapacityCount in interface INAVRPSolverIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setCapacityCount(int value)
throws IOException,
AutomationException
setCapacityCount in interface INAVRPSolvervalue - The value (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getTimeWindowViolationPenaltyFactor()
throws IOException,
AutomationException
A time window violation occurs when a route arrives at an order, depot, or break after a time window has closed. The violation is the interval between the end of the time window and the arrival time. This property is used for calibrating time window violations within the solver objective function. For example, a penalty factor value of 5.0 means that a minute of time window violation increases the solver objective function value by the cost of five minutes of work time. The higher the penalty factor, the more the solver will favor solutions with smaller time window violations versus reducing overall route duration for the fleet. This penalty factor must be zero or positive, and cannot exceed one billion. The penalty influences the solver objective function during the optimization process, but is not included in the output route operating costs. The default value for this property is 1.0.
getTimeWindowViolationPenaltyFactor in interface INAVRPSolverIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setTimeWindowViolationPenaltyFactor(double value)
throws IOException,
AutomationException
setTimeWindowViolationPenaltyFactor in interface INAVRPSolvervalue - The value (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getExcessTransitTimePenaltyFactor()
throws IOException,
AutomationException
Excess transit time is the amount of time exceeding the time required to travel directly between the paired orders. The excess time results from breaks or travel to other intermediate orders or depots between visits to the paired orders. This property is used for calibrating excess transit time between order pairs within the solver objective function. For example, a penalty factor value of 5.0 means that one minute of excess transit time increases the solver objective function value by the cost of five minutes of work time. The higher the penalty factor, the more the solver will favor solutions with less excess transit time between paired orders versus reducing overall route duration for the fleet. The penalty influences the solver objective function during the optimization process, but is not included in the output route operating costs. The default value for this property is 1.0.
getExcessTransitTimePenaltyFactor in interface INAVRPSolverIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setExcessTransitTimePenaltyFactor(double value)
throws IOException,
AutomationException
setExcessTransitTimePenaltyFactor in interface INAVRPSolvervalue - The value (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getOutputLines()
throws IOException,
AutomationException
OutputLines specifies the type of line geometries that are generated by the NAVRPSolver object in the Routes NAClass.
getOutputLines in interface INAVRPSolverIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setOutputLines(int value)
throws IOException,
AutomationException
setOutputLines in interface INAVRPSolvervalue - A com.esri.arcgis.networkanalyst.esriNAOutputLineType constant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void serialize(IXMLSerializeData data)
throws IOException,
AutomationException
serialize in interface IXMLSerializedata - A reference to a com.esri.arcgis.system.IXMLSerializeData (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void deserialize(IXMLSerializeData data)
throws IOException,
AutomationException
deserialize in interface IXMLSerializedata - A reference to a com.esri.arcgis.system.IXMLSerializeData (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void getClassID(GUID[] pClassID)
throws IOException,
AutomationException
IPersist is a Microsoft interface. Please refer to MSDN for information about this interface.
getClassID in interface IPersistpClassID - A Structure: com.esri.arcgis.support.ms.stdole.GUID (out: use single element array)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void isDirty()
throws IOException,
AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
isDirty in interface IPersistStreamIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void load(IStream pstm)
throws IOException,
AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
load in interface IPersistStreampstm - A reference to a com.esri.arcgis.system.IStream (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void save(IStream pstm,
int fClearDirty)
throws IOException,
AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
save in interface IPersistStreampstm - A reference to a com.esri.arcgis.system.IStream (in)fClearDirty - The fClearDirty (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void getSizeMax(_ULARGE_INTEGER[] pcbSize)
throws IOException,
AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
getSizeMax in interface IPersistStreampcbSize - A Structure: com.esri.arcgis.system._ULARGE_INTEGER (out: use single element array)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void interfaceSupportsErrorInfo(GUID riid)
throws IOException,
AutomationException
Indicates whether the interface supports IErrorInfo.
interfaceSupportsErrorInfo in interface ISupportErrorInforiid - A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getMinNamespaceSupported()
throws IOException,
AutomationException
getMinNamespaceSupported in interface IXMLVersionSupportIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void writeExternal(ObjectOutput out)
throws IOException
writeExternal in interface ExternalizableIOException
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
readExternal in interface ExternalizableIOException
ClassNotFoundException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||