ProvSQL C/C++ API
Adding support for provenance and uncertainty management to PostgreSQL databases
Loading...
Searching...
No Matches
provsql::ClosureTerm Struct Reference

One wire of a PLUS under closure: a·Z + b for a base RV Z (dist non-null), or a pure additive constant b (dist null, a == 0). More...

#include "Distribution.h"

Collaboration diagram for provsql::ClosureTerm:

Public Attributes

const Distributiondist
double a
double b

Detailed Description

One wire of a PLUS under closure: a·Z + b for a base RV Z (dist non-null), or a pure additive constant b (dist null, a == 0).

Structural concerns (base-RV identity, pairwise independence of the Z's) are the caller's responsibility; rules only see distributions and coefficients.

Definition at line 419 of file Distribution.h.

Member Data Documentation

◆ a

double provsql::ClosureTerm::a

Definition at line 421 of file Distribution.h.

◆ b

double provsql::ClosureTerm::b

Definition at line 422 of file Distribution.h.

◆ dist

const Distribution* provsql::ClosureTerm::dist

Definition at line 420 of file Distribution.h.


The documentation for this struct was generated from the following file: