public interface AStarMap<NODE>
Modifier and Type | Method and Description |
---|---|
int |
getEdgeCost(NODE nodeFrom,
NODE nodeTo)
Should return the distance from nodeFrom to nodeTo
You can be sure that nodeTo is among the neighbours of nodeFrom.
|
int |
getNodeCost(NODE node)
General cost of having this node at your path.
|
Collection<NODE> |
getNodeNeighbours(NODE node)
This should return a collection of nodes which are connected to this one.
|
int getNodeCost(NODE node)
node
- int getEdgeCost(NODE nodeFrom, NODE nodeTo)
nodeFrom
- nodeTo
- Collection<NODE> getNodeNeighbours(NODE node)
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.