Type Alias CausalFn
Source pub type CausalFn<I, O> = fn(I) -> PropagatingEffect<O>;
Expand description
The unified function signature for all singleton causaloids that do not require an external context.
This function is a core part of the reasoning engine.
§Arguments
effect - A reference to the PropagatingEffect flowing through the graph during reasoning.
§Returns
A PropagatingEffect