pub type ContextualCausalFn<I, O, S, C> = fn(EffectValue<I>, S, Option<C>) -> PropagatingProcess<O, S, C>;Expand description
The unified function signature for all singleton causaloids that require access to a shared, external context.
It evaluates runtime evidence against its own static configuration and the shared context to produce a causal effect.
§Arguments
effect- A reference to thePropagatingEffectflowing through the graph during reasoning.context- A reference to the sharedContextobject.
§Returns
A PropagatingEffect.