NODE
- public interface AStarEvaluator<NODE> extends AStarHeuristic<NODE>
AStarHeuristic
allowing
you to additionally specified which NODEs can't be visited at all or assign
extra cost to edges between nodes which is added to AStarMap.getEdgeCost(Object, Object)
when computing distances between them.Modifier and Type | Method and Description |
---|---|
int |
getExtraCost(NODE nodeFrom,
NODE nodeTo)
Returns extra cost to add to value when trying to go
nodeFrom to nodeTo ...
|
boolean |
isNodeOpened(NODE node)
Returns true if A* can use this node (e.g.
|
getEstimatedDistanceToGoal
boolean isNodeOpened(NODE node)
int getExtraCost(NODE nodeFrom, NODE nodeTo)
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.