![]() |
ProvSQL C/C++ API
Adding support for provenance and uncertainty management to PostgreSQL databases
|
A gate_rv distribution spec that may carry wired (token) parameters – the parse-time counterpart of DistributionSpec.
More...
#include "RandomVariable.h"

Public Member Functions | |
| bool | parametric () const |
| True iff any parameter is a wire reference (a compound / latent leaf). | |
Public Attributes | |
| const DistributionFamily * | family |
| DistributionParam | p1 |
| DistributionParam | p2 |
A gate_rv distribution spec that may carry wired (token) parameters – the parse-time counterpart of DistributionSpec.
DistributionSpec stays the fully-resolved {family, double, double} form every analytic call site consumes; this parallel template keeps the per-slot literal-or-wire distinction so the Monte Carlo sampler can resolve wired parameters per iteration. parametric() is true when any slot is wired – the signal every analytic path uses to fall through to Monte Carlo (a compound leaf has no constant-parameter closed form).
Definition at line 73 of file RandomVariable.h.
|
inline |
True iff any parameter is a wire reference (a compound / latent leaf).
Definition at line 77 of file RandomVariable.h.
| const DistributionFamily* provsql::DistributionTemplate::family |
Definition at line 74 of file RandomVariable.h.
| DistributionParam provsql::DistributionTemplate::p1 |
Definition at line 75 of file RandomVariable.h.
| DistributionParam provsql::DistributionTemplate::p2 |
Definition at line 75 of file RandomVariable.h.