![]() |
ProvSQL C/C++ API
Adding support for provenance and uncertainty management to PostgreSQL databases
|
Outcome of a conditional Monte Carlo sampling pass. More...
#include "MonteCarloSampler.h"
Public Attributes | |
| std::vector< double > | accepted |
| unsigned | attempted |
Outcome of a conditional Monte Carlo sampling pass.
accepted holds the root values from the iterations where event_root evaluated to true (the rest are rejected). attempted is the total number of iterations – equal to samples unless the pass was interrupted – so the caller can derive the empirical acceptance rate as accepted.size() / attempted for diagnostics.
Definition at line 139 of file MonteCarloSampler.h.
| std::vector<double> provsql::ConditionalScalarSamples::accepted |
Definition at line 140 of file MonteCarloSampler.h.
| unsigned provsql::ConditionalScalarSamples::attempted |
Definition at line 141 of file MonteCarloSampler.h.