public class ClosestFacilityPaths<T> extends java.util.ArrayList<ClosestFacilityPath<T>>
最近设施分析结果路径集合。
限定符和类型 | 字段和说明 |
---|---|
int[] |
facilityIndexes
最近设施点索引集合。
|
构造器和说明 |
---|
ClosestFacilityPaths()
构造函数。
|
ClosestFacilityPaths(ClosestFacilityPaths<T> paths)
构造函数。
|
限定符和类型 | 方法和说明 |
---|---|
boolean |
add(ClosestFacilityPath<T> e)
添加一条最近设施分析结果。
|
boolean |
equals(java.lang.Object obj)
比较指定对象与当前
ClosestFacilityPaths 对象是否相等。 |
ClosestFacilityPath<T> |
getFacilityPath(T facility)
根据符合条件的设施点获取事件点与该设施点之间的路径。
|
T[] |
getFoundFacility()
获取最近设施点集合。
|
int |
hashCode()
获取最近设施分析结果集合对象的哈希码值。
|
public ClosestFacilityPaths()
构造函数。
public ClosestFacilityPaths(ClosestFacilityPaths<T> paths)
构造函数。
paths
- 最近设施分析结果路径集合。public ClosestFacilityPath<T> getFacilityPath(T facility)
根据符合条件的设施点获取事件点与该设施点之间的路径。
facility符合条件的设施点,该参数必须是{@link
- #getFoundFacility()}集合中的一个元素,否则返回null。public boolean add(ClosestFacilityPath<T> e)
添加一条最近设施分析结果。
add
在接口中 java.util.Collection<ClosestFacilityPath<T>>
add
在接口中 java.util.List<ClosestFacilityPath<T>>
add
在类中 java.util.ArrayList<ClosestFacilityPath<T>>
e最近设施分析结果路径。
-public T[] getFoundFacility()
获取最近设施点集合。
public int hashCode()
获取最近设施分析结果集合对象的哈希码值。
hashCode
在接口中 java.util.Collection<ClosestFacilityPath<T>>
hashCode
在接口中 java.util.List<ClosestFacilityPath<T>>
hashCode
在类中 java.util.AbstractList<ClosestFacilityPath<T>>
public boolean equals(java.lang.Object obj)
比较指定对象与当前 ClosestFacilityPaths
对象是否相等。
equals
在接口中 java.util.Collection<ClosestFacilityPath<T>>
equals
在接口中 java.util.List<ClosestFacilityPath<T>>
equals
在类中 java.util.AbstractList<ClosestFacilityPath<T>>
obj
- 与当前 ClosestFacilityPaths
对象进行比较的对象。