![]() |
ProvSQL C/C++ API
Adding support for provenance and uncertainty management to PostgreSQL databases
|
Detection result for a closed-form, optionally-truncated single-RV shape. More...
#include "RangeCheck.h"

Public Attributes | |
| DistributionSpec | spec |
| Parsed kind + parameters. | |
| double | lo |
| Lower bound (-INF if unbounded). | |
| double | hi |
| Upper bound (+INF if unbounded). | |
| bool | truncated |
True iff the bounds came from a non-trivial event_root. | |
Detection result for a closed-form, optionally-truncated single-RV shape.
Carries the parsed distribution and the [lo, hi] support after intersection with the conditioning event (or the natural support when truncated == false). Either bound may be infinite when the RV's natural support or the event leaves the corresponding side unbounded (e.g. Normal | X > 0 yields (0, +∞)).
Definition at line 101 of file RangeCheck.h.
| double provsql::TruncatedSingleRv::hi |
Upper bound (+INF if unbounded).
Definition at line 104 of file RangeCheck.h.
| double provsql::TruncatedSingleRv::lo |
Lower bound (-INF if unbounded).
Definition at line 103 of file RangeCheck.h.
| DistributionSpec provsql::TruncatedSingleRv::spec |
Parsed kind + parameters.
Definition at line 102 of file RangeCheck.h.
| bool provsql::TruncatedSingleRv::truncated |
True iff the bounds came from a non-trivial event_root.
Definition at line 105 of file RangeCheck.h.