位置分配求解程序属性 (arcpy)

摘要

使用位置分配求解程序时,下列属性受网络分析求解程序对象的支持。

属性

属性说明数据类型
travelDirection
(只读)

The direction of travel between facilities and demand points when calculating the network costs. This property returns the following keywords:

  • FACILITY_TO_DEMAND
  • DEMAND_TO_FACILITY

String
problemType
(只读)

The location-allocation problem type that will be solved. This property returns the following keywords:

  • MINIMIZE_IMPEDANCE
  • MAXIMIZE_COVERAGE
  • MAXIMIZE_CAPACITATED_COVERAGE
  • MINIMIZE_FACILITIES
  • MAXIMIZE_ATTENDANCE
  • MAXIMIZE_MARKET_SHARE
  • TARGET_MARKET_SHARE

String
defaultTargetFacilityCount
(只读)

The number of facilities that the solver should locate.

Integer
defaultCutoff
(只读)

The maximum impedance at which a demand point can be allocated to a facility. If no cutoff value is specified in the network analysis layer, the property returns an empty string.

Double
impedanceTransformation
(只读)

Indicates the equation used by the solver for transforming the network cost between facilities and demand points. This property returns the following keywords:

  • LINEAR
  • POWER
  • EXPONENTIAL

String
impedanceParameter
(只读)

The parameter value to the equations specified in the impedance transformation.

Double
targetMarketShare
(只读)

The target market share in percentage to solve when the problemType property is set to TARGET_MARKET_SHARE.

Double
defaultCapacity
(只读)

The default capacity of facilities when the problemType property is set to MAXIMIZE_CAPACITATED_COVERAGE.

Double
laLinesShape
(只读)

The type of line generated by the solver. This property returns the following keywords:

  • NO_LINES
  • STRAIGHT_LINES

String
timeOfDay
(只读)

Indicates the time and date of departure. The departure can be from facilities or demand points, depending on whether travel is from demand to facility or facility to demand.

String
9/15/2013