Liking cljdoc? Tell your friends :D
Clojure only.

state-space.internal.preorder

Depth-first and breadth-first traversal that yields each visit before its successors. Pending work is kept as lazy chunks of candidates, one chunk per expanded visit; a stack of chunks gives depth-first order and a queue gives breadth-first order.

Depth-first and breadth-first traversal that yields each visit before its
successors. Pending work is kept as lazy chunks of candidates, one chunk
per expanded visit; a stack of chunks gives depth-first order and a queue
gives breadth-first order.
raw docstring

bfsclj

(bfs space starts {:keys [global-key] :as opts})
source

bfs-traceclj

(bfs-trace space starts {:keys [initialize global-key refine] :as opts})
source

dfsclj

(dfs space starts {:keys [global-key] :as opts})
source

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
←Move to previous article
→Move to next article
Ctrl+/Jump to the search field
× close