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

How probFoldedProbability evaluates what it cannot fold. More...

#include "ProbCache.h"

Public Attributes

std::function< double(BooleanCircuit &, gate_t, bool)> part
 Probability of a part, given as a circuit of its own and its root; the flag tells a group of several children sharing inputs from a single subcircuit.
std::function< double()> whole
 Probability of the whole circuit, when its root has nothing to fold.

Detailed Description

How probFoldedProbability evaluates what it cannot fold.

Definition at line 133 of file ProbCache.h.

Member Data Documentation

◆ part

std::function<double(BooleanCircuit &, gate_t, bool)> provsql::ProbFoldEval::part

Probability of a part, given as a circuit of its own and its root; the flag tells a group of several children sharing inputs from a single subcircuit.

Definition at line 137 of file ProbCache.h.

◆ whole

std::function<double()> provsql::ProbFoldEval::whole

Probability of the whole circuit, when its root has nothing to fold.

Definition at line 139 of file ProbCache.h.


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