Given input, compose a simulation model
Given input, compose a simulation model
(build-skeleton {:keys [profiles personae-array parameters alignments]
:as input})
Given simulation input, return a skeleton with statement
sequences per actor from start
of sim.
Should be run once (in a single thread) Spooky.
Given simulation input, return a skeleton with statement sequences per actor from `start` of sim. Should be run once (in a single thread) Spooky.
(sim-chan input
&
{:keys [sort buffer-size] :or {sort true buffer-size 100} :as kwargs})
Merged output of sim-chans
for parallel gen
Merged output of `sim-chans` for parallel gen
(sim-chans {{?max-statements :max} :parameters :as input}
&
{:keys [select-agents pad-chan-max] :or {pad-chan-max 1}})
Given input, build a skeleton and produce a map of agent channels.
Uses the core.async thread pool for concurrency.
Note that input.parameters.max is implemented via division and may have unexpected results. input.parameters.end is preferable
Given input, build a skeleton and produce a map of agent channels. Uses the core.async thread pool for concurrency. Note that input.parameters.max is implemented via division and may have unexpected results. input.parameters.end is preferable
(sim-seq {{?max-statements :max} :parameters :as input}
&
{:keys [select-agents]})
Given input, build a skeleton and produce a seq of statements.
Given input, build a skeleton and produce a seq of statements.
(statement-seq input
iri-map
activities
actor
alignment
{:keys [prob-seq reg-seq seed rng] :as actor-map})
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close