heuristic ( from to astar -- n )


Vocabulary
path-finding

Inputs
froma node
toa node
astaran instance of a subclassed astar tuple


Outputs
na number


Word description
Return the estimated (undervalued) cost to go from from to to. from and to are not necessarily neighbors.

Definition

GENERIC: heuristic ( from to astar -- n )


Methods