kumulant

ExprSplit

@Serializable
@SerialName(value = "ExprSplit")
data class ExprSplit(val expr: BoolExpr) : Split(source)

Route by an arbitrary BoolExpr evaluated against the context vector. The expression sees the context's first coordinate as X, the second as Y, and the full vector via V(i); matching the existing kumulant AST conventions. Wire-portable through skema's polymorphism on BoolExpr.

Constructors

Link copied to clipboard
constructor(expr: BoolExpr)

Properties

Link copied to clipboard

Predicate expression over the context vector.

Functions

Link copied to clipboard
open override fun direction(row: VectorView): Boolean

Evaluate the predicate against the context row.

Link copied to clipboard
open override fun toString(): String

ExprSplit

constructor(expr: BoolExpr)(source)

direction

open override fun direction(row: VectorView): Boolean(source)

Evaluate the predicate against the context row.

expr

Predicate expression over the context vector.

toString

open override fun toString(): String(source)