Liking cljdoc? Tell your friends :D

orbit.extension

When creating the orbit there are different ways for extending the orbit being built. The general form of extension is to take a collection and an action. Then based on applying the action we produce a new set of elements and also return the unprocessed ones in a vector. This gives control on the extension process. How to this exactly depends on the answers for the following guiding questions.

  1. Do we have an operator that produces a set of results, or just a single one. SET-VALUED vs SINGLE VALUE
  2. Do we need the extension happen one-by-one, or is it ok to extend the whole frontline at once? single-step vs. parallel
  3. Does the extensions happen in parallel or in a single thread?
When creating the orbit there are different ways for extending the orbit
being built. The general form of extension is to take a collection and an
action. Then based on applying the action we produce a new set of elements
and also return the unprocessed ones in a vector. This gives control on the
extension process. How to this exactly depends on the answers for the
following guiding questions.
1. Do we have an operator that produces a set of results, or just a single
one. SET-VALUED vs SINGLE VALUE
2. Do we need the extension happen one-by-one, or is it ok to extend the whole
frontline at once? single-step vs. parallel
3. Does the extensions happen in parallel or in a single thread?
raw docstring

*task-size*clj

source

bulk-stepclj

(bulk-step elts action)

Applies action to all elements in one go. Returns the empty set as unprocessed elements.

Applies action to all elements in one go. Returns the empty set as
unprocessed elements.
sourceraw docstring

combine-functionclj

(combine-function)
(combine-function coll x)

Combines intermediate results into a set. Required by fold in the reducers library.

Combines intermediate results into a set.
Required by fold in the reducers library.
sourceraw docstring

parallel-stepclj

(parallel-step elts action)

Applies action to all elements in parallel using reducers. It has to turn elts into a vector, otherwise fold does not kick in. Processes all elements, thus it returns the empty set unprocessed elements.

Applies action to all elements in parallel using reducers.
It has to turn elts into a vector, otherwise fold does not kick in.
Processes all elements, thus it returns the empty set unprocessed elements.
sourceraw docstring

single-op-bulk-stepclj

(single-op-bulk-step elts action)

Produces elements by applying the single-valued operation to all elements.

Produces elements by applying the single-valued operation to all elements.
sourceraw docstring

single-stepclj

(single-step elts action)

Produces elements by applying the set-valued action to a single element from the given collection of elements.

Produces elements by applying the set-valued action to a single element
from the given collection of elements.
sourceraw docstring

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

× close