Liking cljdoc? Tell your friends :D

automaton-simulation-de.control.computation

Computation is responsible for execution/storage of scheduler so that it can respond to questions about simulation. This namespace consists of protocol that defines core questions to answer and use-case functions of that protocol

For diagram see computation

Computation is responsible for execution/storage of scheduler so that it can respond to questions about simulation.
 This namespace consists of protocol that defines core questions to answer and use-case functions of that protocol

For diagram see ![computation](archi/control/computation.png)
raw docstring

Computationclj/sprotocol

Returns information about specific simulation that are useful for rendering

Returns information about specific simulation that are useful for rendering

scheduler-responseclj/s

(scheduler-response this)
(scheduler-response this stopping-criterias)
(scheduler-response this stopping-criterias iteration)

Return scheduler response when any of stopping-criteria is matched from stopping-criterias collection. Empty stopping-criterias means that it will stop at first found. iteration is additional information to tell from which snapshot iteration to start looking for stopping-criterias

Return scheduler response when any of stopping-criteria is matched from `stopping-criterias` collection.
Empty `stopping-criterias` means that it will stop at first found.
`iteration` is additional information to tell from which snapshot iteration to start looking for stopping-criterias

stopping-criteriasclj/s

(stopping-criterias this)

Returns all stopping-criteria that may occur in this simulation

Returns all stopping-criteria that may occur in this simulation
raw docstring

iteration-nclj/s

(iteration-n computation n)

Returns computation-scheduler-response containing snapshot with iteration n

Returns `computation-scheduler-response` containing snapshot with iteration `n`
raw docstring

model-end-iterationclj/s

(model-end-iteration computation)

Returns scheduler response when model-end? stopping-criteria is reached

Returns scheduler response when model-end? stopping-criteria is reached
raw docstring

not-next?clj/s

(not-next? stopping-causes)

Is next iteration possible?

Is next iteration possible?
raw docstring

stopping-criteria-model-end?clj/s

(stopping-criteria-model-end? computation)

Returns true if simulation has model-end criterias defined

Returns true if simulation has model-end criterias defined
raw docstring

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

× close