public abstract class CostFunction
extends java.lang.Object
コンストラクタと説明 |
---|
CostFunction() |
修飾子とタイプ | メソッドと説明 |
---|---|
abstract int |
cost(rescuecore2.standard.entities.Area from,
rescuecore2.standard.entities.Area to) |
abstract int |
cost(rescuecore2.standard.entities.Area from,
rescuecore2.standard.entities.Area through,
rescuecore2.standard.entities.Area to) |
static CostFunction |
normal(ReachableArea reachable,
AdvancedWorldModel world)
デフォルトのコストファンクション
|
static CostFunction |
pf(ReachableArea reachable,
AdvancedWorldModel world) |
public abstract int cost(rescuecore2.standard.entities.Area from, rescuecore2.standard.entities.Area through, rescuecore2.standard.entities.Area to)
public abstract int cost(rescuecore2.standard.entities.Area from, rescuecore2.standard.entities.Area to)
public static CostFunction normal(ReachableArea reachable, AdvancedWorldModel world)
public static CostFunction pf(ReachableArea reachable, AdvancedWorldModel world)