![]() |
ProvSQL C/C++ API
Adding support for provenance and uncertainty management to PostgreSQL databases
|
Structural statistics of a compiled d-DNNF. More...
#include "dDNNF.h"
Public Attributes | |
| std::size_t | nodes = 0 |
| Total reachable gates. | |
| std::size_t | edges = 0 |
| Total wires among reachable gates. | |
| std::size_t | and_gates = 0 |
| AND (decomposition) gates. | |
| std::size_t | or_gates = 0 |
| OR (decision) gates. | |
| std::size_t | not_gates = 0 |
| NOT gates. | |
| std::size_t | inputs = 0 |
| IN (variable) leaves. | |
| bool | smooth = true |
| Every OR gate's children share their variable set. | |
| int | depth = 0 |
| Longest path (in gates) from the root. | |
Structural statistics of a compiled d-DNNF.
Counts are over the gates reachable from root. depth is the longest path (in gates) from the root; smooth is true iff every OR gate's children mention the same set of variables (the property makeSmooth() establishes, required by probabilityEvaluation).
| std::size_t dDNNF::Stats::and_gates = 0 |
| int dDNNF::Stats::depth = 0 |
| std::size_t dDNNF::Stats::edges = 0 |
| bool dDNNF::Stats::smooth = true |