public class SupplyCenter
extends java.lang.Object
implements java.io.Serializable
资源供给中心点。
资源供给中心点,在选址分区分析(FindLacationService)中使用。
限定符和类型 | 字段和说明 |
---|---|
double |
maxWeight
资源供给中心的最大耗费值,必设参数。
|
int |
nodeID
资源供给中心点的结点ID号,必设参数。
|
double |
resourceValue
资源供给中心能提供的最大服务量或商品数量,必设参数。
|
SupplyCenterType |
type
资源供给中心点的类型。
|
构造器和说明 |
---|
SupplyCenter()
构造函数。
|
SupplyCenter(double maxWeight, int nodeID, double resourceValue, SupplyCenterType type) |
public double maxWeight
资源供给中心的最大耗费值,必设参数。
public int nodeID
资源供给中心点的结点ID号,必设参数。资源供给中心必须是结点。
public double resourceValue
资源供给中心能提供的最大服务量或商品数量,必设参数。
public SupplyCenterType type
资源供给中心点的类型。
public SupplyCenter()
构造函数。
public SupplyCenter(double maxWeight, int nodeID, double resourceValue, SupplyCenterType type)