pub struct Activation {
pub node: String,
pub deps: Vec<String>,
pub gates: Vec<String>,
pub out: String,
pub ran: bool,
pub fired: bool,
pub dims: Vec<usize>,
pub vals: Option<Vec<Option<f64>>>,
pub jac: Option<Vec<Option<f64>>>,
pub exact_block: Option<ExactBlock>,
pub cost_ns: Option<f64>,
pub exact: bool,
}Expand description
One node’s standing output as of the current tick: fired says whether it was this tick’s
work, while out/vals carry the last fired ones forward (None only before the node’s first
fire, or once that tick has left the ring). out is the node’s own Glance (card face), vals
the flattened elements — a slot is None where the node left it empty. jac is the tick’s own
row-major vals.len() × sum(dep lens) local Jacobian — never carried forward — with entries
None where the engine saw no signal (NaN doesn’t survive serde_json).
ran is the other half of fired, and the engine’s own answer rather than a re-derivation: a
clocked node between publications did not fire and was stepped; one the sweep skipped did
neither.
Fields§
§node: String§deps: Vec<String>§gates: Vec<String>§out: String§ran: bool§fired: bool§dims: Vec<usize>§vals: Option<Vec<Option<f64>>>§jac: Option<Vec<Option<f64>>>§exact_block: Option<ExactBlock>The reading jac is silent about, where the kernel has one. None where it has
none, and then the column is the whole of what can be said.
cost_ns: Option<f64>As TopoNode::cost_ns — carried here too so a card can show it without a second fetch.
exact: boolWhether jac was differentiated or finite-differenced. Not a claim about how
much of the dep’s reach the column covers — that is TopoNode::fidelity.