Interface AStar.Transition
All Known Implementing Classes:
-
Enclosing class:
-
public static interface AStar.Transition
a transition between two nodes
Field Summary |
|
INFINITE_COSTconstant to indicate cost for transition is infinite and
hence transition is not possible |
Method Summary |
|
fromNode()returns the node this transition originates from |
|
getCost(PathContext context)returns the cost, a negative value means transition is not possible. |
|
toNode()returns the node this transition leads to |
Field Detail
INFINITE_COST
public static final float INFINITE_COST
-
constant to indicate cost for transition is infinite and
hence transition is not possible
Method Detail
fromNode
-
returns the node this transition originates from
toNode
-
returns the node this transition leads to
getCost
-
returns the cost, a negative value means transition is not possible.
Parameters:
-
context - more information about pathfinding enviroment.
-
See Also:
-
DocFlex/Doclet is both a multi-format Javadoc doclet and a free edition of DocFlex/Javadoc. If you need to customize your Javadoc without writing a full-blown doclet from scratch, DocFlex/Javadoc may be the only tool able to help you! Find out more at www.docflex.com