A* search algorithm: Difference between revisions

m
m (Automated syntax highlighting fixup (second round - minor fixes))
Line 1,695:
else foldr Map.delete (g x) ns </syntaxhighlight>
 
Finally, the search algorythmalgorithm, as given in Wikipedia.
 
<syntaxhighlight lang="haskell">get :: (Ord k, Bounded a) => Map k a -> k -> a
1

edit