|
Oracle® Spatial Java API Reference 11g Release 1 (11.1) B28401-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AStarCostFunction
this interface defines the heuristic cost function for A* search Users can provide their own cost eistimates to guide the A* search. Default heuristic cost for spatial networks is the Euliddean cost and 0 for logical networks.
Method Summary | |
---|---|
double |
getHeuristicCost(java.lang.Object currentNodeObj, java.lang.Object goalNodeObj) return the heuristic cost between 2 AStarNodes (currnet node and goal node) |
Method Detail |
---|
double getHeuristicCost(java.lang.Object currentNodeObj, java.lang.Object goalNodeObj)
currentNodeObj
- AStarNode current node objectgoalNodeObj
- AStarNode goal node object
|
Oracle® Spatial Java API Reference 11g Release 1 (11.1) B28401-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |