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

A compiled d-DNNF and how its inputs match the leaves of its form. More...

#include "ProbCache.h"

Collaboration diagram for provsql::ProbCache::Entry:

Public Attributes

std::string form
 Canonical form the d-DNNF was compiled for.
std::string builder
 Method that compiled dd ("tree-decomposition", "compilation:d4"...).
dDNNF dd
 The d-DNNF.
std::vector< gate_t > leaf_gate
 Input of dd for each leaf of the form.
std::vector< char > leaf_present
 Whether that leaf occurs in dd at all.
size_t bytes = 0
 Estimated size of the entry.

Detailed Description

A compiled d-DNNF and how its inputs match the leaves of its form.

Definition at line 60 of file ProbCache.h.

Member Data Documentation

◆ builder

std::string provsql::ProbCache::Entry::builder

Method that compiled dd ("tree-decomposition", "compilation:d4"...).

Definition at line 63 of file ProbCache.h.

◆ bytes

size_t provsql::ProbCache::Entry::bytes = 0

Estimated size of the entry.

Definition at line 67 of file ProbCache.h.

◆ dd

dDNNF provsql::ProbCache::Entry::dd

The d-DNNF.

Definition at line 64 of file ProbCache.h.

◆ form

std::string provsql::ProbCache::Entry::form

Canonical form the d-DNNF was compiled for.

Definition at line 61 of file ProbCache.h.

◆ leaf_gate

std::vector<gate_t> provsql::ProbCache::Entry::leaf_gate

Input of dd for each leaf of the form.

Definition at line 65 of file ProbCache.h.

◆ leaf_present

std::vector<char> provsql::ProbCache::Entry::leaf_present

Whether that leaf occurs in dd at all.

Definition at line 66 of file ProbCache.h.


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