CompositeSubArm
@Serializable
@SerialName(value = "CompositeSubArm")
One leg of a CompositeArm: which arm receives observations, with optional AST-driven transformation of value, weight, and a filter predicate.
Constructors
Link copied to clipboard
constructor(arm: Arm<*>, valueExpr: ScalarExpr = X, weightExpr: ScalarExpr = Const(1.0), filter: BoolExpr? = null)
Properties
CompositeSubArm
constructor(arm: Arm<*>, valueExpr: ScalarExpr = X, weightExpr: ScalarExpr = Const(1.0), filter: BoolExpr? = null)(source)
arm
filter
valueExpr
Expression evaluated against the raw observation to produce this sub-arm's input value. Default X passes the observation through unchanged (per-arm encode still applies).
weightExpr
Multiplier on the observation's weight; defaults to 1.0 (passthrough).