Clamp#
- class hybrid_aif.composition.Clamp[source]#
Bases:
NamedTupleA control node no planner chooses and no link drives, clamped at a constant.
The average under a distribution is taken once, at merge time, with a fixed vector: the static case of a node consumed as a probability vector. The per-tick consumption is the planner’s contraction (
take_controls()). Design: nesting-and-coupling.md N8.- level: int | Categorical | Array#
An
intlevel (a delta: slices every reading state factor’s control axis, pinning the dynamics) or aCategoricalor probability vector over the node’s levels (averages every reading state factor’s table over the axis; uniform means no one is steering).
- static __new__(_cls, node, level)#
Create new instance of Clamp(node, level)