Liking cljdoc? Tell your friends :D
All platforms.

mapdag.runtime.default

Reference implementation for executing mapdag Graphs - a portable interpreter.

Reference implementation for executing mapdag Graphs - a portable interpreter.
raw docstring

computeclj/s

(compute graph inputs-map output-keys)

Executes a mapdag Graph on the supplied inputs to return the required outputs.

Given:

  • graph: a mapdag Graph
  • inputs map: a map from input keys to input values
  • output-keys: a sequence of input or Step names (this sequence may be empty or nil)

returns a map from the output keys to their computed values.

Only the necessary intermediary computations will be performed. Missing inputs and dependency cycles will be tolerated, but only if they can't be reached from given output keys.

Executes a mapdag Graph on the supplied inputs to return the required outputs.

Given:
- `graph`: a mapdag Graph
- `inputs map`: a map from input keys to input values
- `output-keys`: a sequence of input or Step names (this sequence may be empty or nil)

returns a map from the output keys to their computed values.

Only the necessary intermediary computations will be performed.
Missing inputs and dependency cycles will be tolerated, but only if they can't be reached from given output keys.
sourceraw docstring

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

× close