Handbook
Glossary
cost-through ( origin node astar -- cost )
Vocabulary
path-finding
.
private
Inputs
origin
an
object
node
an
object
astar
an
object
Outputs
cost
an
object
Definition
USING:
accessors
assocs
kernel
math
path-finding
;
IN:
path-finding.private
:
cost-through
( origin node astar -- cost )
[
astar>>
cost
]
[
nip
astar>>
g>>
at
]
3bi
+
;