path-finding vocabulary
Factor handbook ยป Vocabulary index


Documentation
Path finding using the A* algorithm

Metadata
Tags:algorithms
Authors:Samuel Tardieu


Words

Tuple classes
ClassSuperclassSlots
astar tupleg in-closed-set


Generic words
WordStack effect
cost( from to astar -- n )
heuristic( from to astar -- n )
neighbors( node astar -- seq )


Ordinary words
WordStack effect
<astar>( neighbors cost heuristic -- astar )
<bfs>( neighbors -- astar )
<dijkstra>( costs -- astar )
considered( astar -- considered )
find-path( start target astar -- path/f )
find-path*( start quot astar -- path/f )


Class predicate words
WordStack effect
astar?( object -- ? )


Files


Metadata files