(async-worker xform problem-bus empty-heap parallel? problem)
(xform-async self)
(chan-xform init)
(combine this other)
(combine-async this other)
(combine->offer->recur problem heap chan parallel?)
(stop this)
(next-channel-value worker-pool control-chans parallelism time-left?)
(parallel-depth-first-search
{:keys [compare] :or {compare depth-first-comparator} :as init}
{:keys [chan-size parallelism timeout] :or {chan-size 10 parallelism 4}})
(parallel-depth-first-search init chan-size parallelism)
(priority self)
(priority-comparator compare)
(priority-queue n compare)
(priority-queue n compare init)
(rec:parallel-depth-first-search root-problem
[problem-bus :as control-chans]
parallelism
time-left?
solve-async)
(remove-worker-from worker-pool worker)
(children self)
(xform self)
(time-left-fn timeout-future)
(timeout-xf $future)
(transduce-1 xform x)
apply a transducer on a single value
apply a transducer on a single value
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close