yab.agent
Class Router
java.lang.Object
|
+--yab.agent.Router
- public class Router
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Router
public Router()
get
public static Route get(MotionlessObject origin,
Collection destinations,
Router.CostFunction costFunc)
- This method returns the minimum cost route reaching one of
destinations
from origin
with
estimating cost by costFunc
.
get
public static Route get(MotionlessObject origin,
Condition destinationCondition,
Router.CostFunction costFunc)
- Returns:
- null when there are no routes reaching an object
satisfying
destinationCondition
.