cost ( 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 cost to go from from to to. to is necessarily a neighbor of from.

Definition

GENERIC: cost ( from to astar -- n )


Methods