

PREV CLASS NEXT CLASS  FRAMES NO FRAMES  
SUMMARY: NESTED  FIELD  CONSTR  METHOD  DETAIL: FIELD  CONSTR  METHOD 
public interface INALocationAllocationSolver
Provides access to the locationallocation solver.
The INALocationAllocationSolver interface is used by the NALocationAllocationSolver object to access the properties of the LocationAllocation solver.
Method Summary  

Object 
getDefaultCutoff()
Determines the default cutoff beyond which no demand point can be allocated to a facility 
int 
getImpedanceTransformation()
Determines which formula will modify the impedance. 
int 
getNumberFacilitiesToLocate()
Determines how many facilities will be present in the solution. 
int 
getOutputLines()
Specifies what if any shape geometry will be output 
int 
getProblemType()
Specifies which locationallocation problem type to solve. 
double 
getTargetMarketSharePercentage()
Applies to the target market share problem, the minimum number of facilites will be placed to obtain the target market share. 
double 
getTransformationParameter()
Applies to the impedance transformation. 
int 
getTravelDirection()
Specifies which direction the network will be traversed 
void 
setDefaultCutoff(Object value)
Determines the default cutoff beyond which no demand point can be allocated to a facility 
void 
setImpedanceTransformation(int value)
Determines which formula will modify the impedance. 
void 
setNumberFacilitiesToLocate(int value)
Determines how many facilities will be present in the solution. 
void 
setOutputLines(int value)
Specifies what if any shape geometry will be output 
void 
setProblemType(int value)
Specifies which locationallocation problem type to solve. 
void 
setTargetMarketSharePercentage(double value)
Applies to the target market share problem, the minimum number of facilites will be placed to obtain the target market share. 
void 
setTransformationParameter(double value)
Applies to the impedance transformation. 
void 
setTravelDirection(int value)
Specifies which direction the network will be traversed 
Method Detail 

void setTravelDirection(int value) throws IOException, AutomationException
TravelDirection can be set to travel from the facility (default) or travel to the facility. This can make a difference in finding the closest facility to a demand point if there are oneway restrictions, turn restrictions, or different travel cost attributes for each side of the street in the network. This property sets and gets the travel direction for the NALocationAllocationSolver.
value
 A com.esri.arcgis.networkanalyst.esriNATravelDirection constant (in)
IOException
 If there are interop problems.
AutomationException
 If the ArcObject component throws an exception.int getTravelDirection() throws IOException, AutomationException
TravelDirection can be set to travel from the facility (default) or travel to the facility. This can make a difference in finding the closest facility to a demand point if there are oneway restrictions, turn restrictions, or different travel cost attributes for each side of the street in the network. This property sets and gets the travel direction for the NALocationAllocationSolver.
IOException
 If there are interop problems.
AutomationException
 If the ArcObject component throws an exception.void setOutputLines(int value) throws IOException, AutomationException
OutputLines specifies the type of lines to be generated by the locationallocation solver. The choice is to generate straight lines, or to generate no lines. This property sets and gets the output line type for the NALocationAllocationSolver.
value
 A com.esri.arcgis.networkanalyst.esriNAOutputLineType constant (in)
IOException
 If there are interop problems.
AutomationException
 If the ArcObject component throws an exception.int getOutputLines() throws IOException, AutomationException
OutputLines specifies the type of lines to be generated by the locationallocation solver. The choice is to generate straight lines, or to generate no lines. This property sets and gets the output line type for the NALocationAllocationSolver.
IOException
 If there are interop problems.
AutomationException
 If the ArcObject component throws an exception.void setProblemType(int value) throws IOException, AutomationException
ProblemType specifies the type of problem to be solved by the NALocationAllocationSolver.
The choices for the problem type are available via the enum esriNALocationAllocationProblemType are MinimizeWeightedImpedance, MaximizeCoverage, MaximizeCoverageMinimizeFacilities, MaximizeAttendance, MaximizeMarketShare, and TargetMarketShare. This property sets or gets the problem type for the NALocationAllocationSolver.
value
 A com.esri.arcgis.networkanalyst.esriNALocationAllocationProblemType constant (in)
IOException
 If there are interop problems.
AutomationException
 If the ArcObject component throws an exception.int getProblemType() throws IOException, AutomationException
ProblemType specifies the type of problem to be solved by the NALocationAllocationSolver.
The choices for the problem type are available via the enum esriNALocationAllocationProblemType are MinimizeWeightedImpedance, MaximizeCoverage, MaximizeCoverageMinimizeFacilities, MaximizeAttendance, MaximizeMarketShare, and TargetMarketShare. This property sets or gets the problem type for the NALocationAllocationSolver.
IOException
 If there are interop problems.
AutomationException
 If the ArcObject component throws an exception.int getNumberFacilitiesToLocate() throws IOException, AutomationException
IOException
 If there are interop problems.
AutomationException
 If the ArcObject component throws an exception.void setNumberFacilitiesToLocate(int value) throws IOException, AutomationException
value
 The value (in)
IOException
 If there are interop problems.
AutomationException
 If the ArcObject component throws an exception.Object getDefaultCutoff() throws IOException, AutomationException
The DefaultCutoff specifies how far a facility should look to allocate demand points. Any facilities further than the default cutoff are not evaluated. Individual demand points can override this setting with their own cutoff length.
The MaximizeAttendance problem type does not require a cutoff. All other problem types require a cutoff to be specified.
IOException
 If there are interop problems.
AutomationException
 If the ArcObject component throws an exception.void setDefaultCutoff(Object value) throws IOException, AutomationException
The DefaultCutoff specifies how far a facility should look to allocate demand points. Any facilities further than the default cutoff are not evaluated. Individual demand points can override this setting with their own cutoff length.
The MaximizeAttendance problem type does not require a cutoff. All other problem types require a cutoff to be specified.
value
 A Variant (in)
IOException
 If there are interop problems.
AutomationException
 If the ArcObject component throws an exception.int getImpedanceTransformation() throws IOException, AutomationException
The ImpedanceTransformation specifies the type of scaling to be performed on the results of the OD Cost Matrix computed between the facilities and the demand points. The options for the distance scaling are linear, power and exponential and they can be specified by using the esriNAImpedanceTransformationType enum.
The amount of scaling for each transformation is specified by the TransformationParameter.
IOException
 If there are interop problems.
AutomationException
 If the ArcObject component throws an exception.void setImpedanceTransformation(int value) throws IOException, AutomationException
The ImpedanceTransformation specifies the type of scaling to be performed on the results of the OD Cost Matrix computed between the facilities and the demand points. The options for the distance scaling are linear, power and exponential and they can be specified by using the esriNAImpedanceTransformationType enum.
The amount of scaling for each transformation is specified by the TransformationParameter.
value
 A com.esri.arcgis.networkanalyst.esriNAImpedanceTransformationType constant (in)
IOException
 If there are interop problems.
AutomationException
 If the ArcObject component throws an exception.double getTransformationParameter() throws IOException, AutomationException
The TransformationParameter specifies the amount of scaling to be done on the distances computed between the facilities and demand points. It type of transformation to be applied is specified by the ImpedanceTransformation.
IOException
 If there are interop problems.
AutomationException
 If the ArcObject component throws an exception.void setTransformationParameter(double value) throws IOException, AutomationException
The TransformationParameter specifies the amount of scaling to be done on the distances computed between the facilities and demand points. It type of transformation to be applied is specified by the ImpedanceTransformation.
value
 The value (in)
IOException
 If there are interop problems.
AutomationException
 If the ArcObject component throws an exception.double getTargetMarketSharePercentage() throws IOException, AutomationException
The TargetMarketSharePercentage specifies the target market share to achieve by the esriNALAPTTargetMarketShare problem type. The LocationAllocation solver finds the minimum number of facilities needed to achieve this market share. The market share is determined by using a Huff (gravity) model. If the target market share can not be achieved then it locates as many facilities to attain the maximum target share possible.
IOException
 If there are interop problems.
AutomationException
 If the ArcObject component throws an exception.void setTargetMarketSharePercentage(double value) throws IOException, AutomationException
The TargetMarketSharePercentage specifies the target market share to achieve by the esriNALAPTTargetMarketShare problem type. The LocationAllocation solver finds the minimum number of facilities needed to achieve this market share. The market share is determined by using a Huff (gravity) model. If the target market share can not be achieved then it locates as many facilities to attain the maximum target share possible.
value
 The value (in)
IOException
 If there are interop problems.
AutomationException
 If the ArcObject component throws an exception.


PREV CLASS NEXT CLASS  FRAMES NO FRAMES  
SUMMARY: NESTED  FIELD  CONSTR  METHOD  DETAIL: FIELD  CONSTR  METHOD 