AssimilationContext class abstract base

What an Assimilation is told about the step it runs in.

One object rather than parameters, so it can grow, as LoopContext does. Made by the engine: base, so a member added later arrives with a default.

Constructors

AssimilationContext()
For the engine's loop, which extends this.
const

Properties

dt → double
One fixed step of simulated time, in seconds.
no setter
hashCode → int
The hash code for this object.
no setterinherited
inputs → List<ExternalStateInput>
What arrived from outside for this step, in the order it was fed: on the tape with the step, so a replay hands the same.
no setter
isResimulated → bool
Whether the step is being run again after a rollback: inputs are the ones the step was first fed.
no setter
profile → SimulationProfile
What the simulation promises about its numbers: an assimilation that blends in double precision asks SimulationProfile.usesDoublePrecision rather than which profile it is.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
step → int
The step being run, counted from the start of the run.
no setter
world → SimWorld
The simulation's world, where the assimilation writes what it decides.
no setter

Methods

from(String source) → Iterable<ExternalStateInput>
The ones of inputs from source, in order.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
publish(BusEvent event) → void
Publishes event on the step channel.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited