Compilation and execution of Markov kernels. Site proposal policies and weighted population operations do not pass through this interpreter.
Compilation and execution of Markov kernels. Site proposal policies and weighted population operations do not pass through this interpreter.
(options kernel)Compile a Markov descriptor once per chain, using the same interpreter
as population prepare/step. The chain driver collects outer iterations.
Compile a Markov descriptor once per chain, using the same interpreter as population `prepare`/`step`. The chain driver collects outer iterations.
(prepare kernel)Compile once per independently moving chain or particle. The result owns
local tuning counters and must not be shared by resampled descendants.
step reuses this state across calls. :adaptation? reports warm-up in
any component; such a transition is not a fixed invariant Markov kernel.
Compile once per independently moving chain or particle. The result owns local tuning counters and must not be shared by resampled descendants. `step` reuses this state across calls. `:adaptation?` reports warm-up in any component; such a transition is not a fixed invariant Markov kernel.
(step prepared current context)Run a prepared descriptor's configured iterations. Context is the target (:temperature, :policy-options, :constraints), replay frontier (:until, :anchor?), and ownership (:keep-old?, :shared-anchors?). :on-visit sees each leaf result, including intermediate states. :first-iteration optionally supplies an already reserved RNG base. Returns CPS {:trace :moves :accepted :accepted-moves}. Call sequentially on a prepared interpreter.
Run a prepared descriptor's configured iterations. Context is the target
(:temperature, :policy-options, :constraints), replay frontier (:until,
:anchor?), and ownership (:keep-old?, :shared-anchors?). :on-visit sees each
leaf result, including intermediate states. :first-iteration optionally
supplies an already reserved RNG base. Returns CPS {:trace :moves
:accepted :accepted-moves}. Call sequentially on a prepared interpreter.cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |