Liking cljdoc? Tell your friends :D

fogus.rv.search

Common search-related functions and protocols.

Common search-related functions and protocols.
raw docstring

GraphSearchcljprotocol

Functions related to graph-search algorithms.

Functions related to graph-search algorithms.

add-routeclj

(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-ofclj

(cost-of _ node)

Returns the cost to visit node.

Returns the cost to visit `node`.

neighbors-ofclj

(neighbors-of _ node)

Returns a seq of neighbors of the given node.

Returns a seq of neighbors of the given `node`.

route-ofclj

(route-of _ node)

Given a node, returns the route associated with it.

Given a `node`, returns the route associated with it.
raw docstring

HeuristicSearchcljprotocol

Function(s) related to heuristic-guided search.

Function(s) related to heuristic-guided search.

estimate-costclj

(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`.
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close