89#ifndef PROVSQL_AGG_MARGINAL_EVALUATOR_H
90#define PROVSQL_AGG_MARGINAL_EVALUATOR_H
gate_t
Strongly-typed gate identifier.
Semiring-agnostic in-memory provenance circuit.
double aggAvgRawMomentExact(GenericCircuit &gc, gate_t g, unsigned k, bool &ok)
Exact k-th raw moment of AVG = SUM/COUNT over independent rows, conditional on COUNT >= 1.
unsigned runAggMarginalEvaluator(GenericCircuit &gc)
Run the safe-join aggregate marginal-vector pre-pass over gc.