Add some documentation precisions for astar
parent
14d1da94bb
commit
f62d414bd1
|
@ -62,8 +62,7 @@ HELP: find-path
|
||||||
", or f if no such path exists" }
|
", or f if no such path exists" }
|
||||||
}
|
}
|
||||||
{ $description "Find a path between " { $snippet "start" } " and " { $snippet "target" }
|
{ $description "Find a path between " { $snippet "start" } " and " { $snippet "target" }
|
||||||
" using the A* algorithm. The " { $snippet "astar" } " tuple must have been previously "
|
" using the A* algorithm."
|
||||||
" built using " { $link <astar> } "."
|
|
||||||
} ;
|
} ;
|
||||||
|
|
||||||
HELP: considered
|
HELP: considered
|
||||||
|
@ -77,6 +76,7 @@ HELP: considered
|
||||||
|
|
||||||
ARTICLE: "astar" "A* algorithm"
|
ARTICLE: "astar" "A* algorithm"
|
||||||
"The " { $vocab-link "astar" } " vocabulary implements a graph search algorithm for finding the least-cost path from one node to another." $nl
|
"The " { $vocab-link "astar" } " vocabulary implements a graph search algorithm for finding the least-cost path from one node to another." $nl
|
||||||
|
"The " { $link astar } " tuple may be derived from and its " { $link cost } ", " { $link heuristic } ", and " { $link neighbours } " methods overwritten, or the " { $link <astar> } " word can be used to build such an object from quotations." $nl
|
||||||
"Make an A* object:"
|
"Make an A* object:"
|
||||||
{ $subsections <astar> }
|
{ $subsections <astar> }
|
||||||
"Find a path between nodes:"
|
"Find a path between nodes:"
|
||||||
|
|
Loading…
Reference in New Issue