Skip to content

Defined in: packages/e-graph/src/extract.ts:5

A finite expression. Repeated children can share the same result object.

Op extends string

readonly operator: Op

Defined in: packages/e-graph/src/extract.ts:6


readonly children: readonly EGraphExpression<Op>[]

Defined in: packages/e-graph/src/extract.ts:7


readonly cost: number

Defined in: packages/e-graph/src/extract.ts:9

Local operator cost plus the cost of each child occurrence in order.