Common search-related functions and protocols.
Common search-related functions and protocols.
Functions related to graph-search algorithms.
Functions related to graph-search algorithms.
(add-route _ node new-route)Adds a route to a node as a seq of nodes. Implementors of this function
should return an instance of the object implementing this protocol.
Adds a route to a `node` as a seq of nodes. Implementors of this function should return an instance of the object implementing this protocol.
(cost-of _ node)Returns the cost to visit node.
Returns the cost to visit `node`.
(neighbors-of _ node)Returns a seq of neighbors of the given node.
Returns a seq of neighbors of the given `node`.
(route-of _ node)Given a node, returns the route associated with it.
Given a `node`, returns the route associated with it.
Function(s) related to heuristic-guided search.
Function(s) related to heuristic-guided search.
(estimate-cost _ node goal)Returns an estimated cost of the route from node to goal.
Returns an estimated cost of the route from `node` to `goal`.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |