![]() |
ProvSQL C/C++ API
Adding support for provenance and uncertainty management to PostgreSQL databases
|
Parsed distribution spec (family + up to two parameters). More...
#include "RandomVariable.h"

Public Attributes | |
| const DistributionFamily * | family |
| double | p1 |
| First parameter (μ, a, k, or λ). | |
| double | p2 |
| Second parameter (σ, b, or λ; unused for 1-parameter families). | |
Parsed distribution spec (family + up to two parameters).
Stored in the extra byte string of a gate_rv as "normal:μ,σ", "uniform:a,b", "exponential:λ", "erlang:k,λ", "gamma:k,λ", ... family points at the interned registry descriptor of the parsed name token (one instance per family, so plain pointer comparison is family identity); there is deliberately no family enum – adding a family registers a new descriptor without touching any shared header.
Definition at line 38 of file RandomVariable.h.
| const DistributionFamily* provsql::DistributionSpec::family |
Definition at line 39 of file RandomVariable.h.
| double provsql::DistributionSpec::p1 |
First parameter (μ, a, k, or λ).
Definition at line 40 of file RandomVariable.h.
| double provsql::DistributionSpec::p2 |
Second parameter (σ, b, or λ; unused for 1-parameter families).
Definition at line 41 of file RandomVariable.h.