コンストラクタと説明 |
---|
POVPath(AreaNode from,
double distance)
根用
|
POVPath(POVPath previous,
PointNode next,
CostFunction costFunc,
double distance)
拡張用
|
修飾子とタイプ | メソッドと説明 |
---|---|
POVPath |
add(POVPath newTail) |
int |
compareTo(POVPath route) |
double |
cost() |
PointNode |
getPoint() |
java.util.List<PointNode> |
getPoints() |
POVPath |
getPrevious() |
java.util.List<PointNode> |
getReversePoints()
MultiAStar専用
|
java.util.List<rescuecore2.worldmodel.EntityID> |
getReverseRoute()
MultiAStar専用
|
java.util.List<rescuecore2.worldmodel.EntityID> |
getRoute() |
public POVPath(AreaNode from, double distance)
from
- 開始位置destination
- 最終目的地public POVPath(POVPath previous, PointNode next, CostFunction costFunc, double distance)
previous
- これまでの経路next
- 追加する点costFunc
- コスト計算時の関数destination
- 最終目的地public PointNode getPoint()
public java.util.List<rescuecore2.worldmodel.EntityID> getRoute()
public java.util.List<PointNode> getPoints()
public java.util.List<rescuecore2.worldmodel.EntityID> getReverseRoute()
public java.util.List<PointNode> getReversePoints()
public double cost()
public POVPath getPrevious()