11#ifndef BOOLEAN_CIRCUIT_FROM_MMAP_H
12#define BOOLEAN_CIRCUIT_FROM_MMAP_H
59 std::unordered_map<gate_t, gate_t> &gc_to_bc);
93 const std::unordered_map<gate_t, gate_t> &gc_to_bc,
Boolean provenance circuit with support for knowledge compilation.
void propagateDNNFCertificate(const GenericCircuit &gc, const std::unordered_map< gate_t, gate_t > &gc_to_bc, BooleanCircuit &c)
Propagate the per-gate d-DNNF certificate from gc to c.
BooleanCircuit getBooleanCircuit(pg_uuid_t token, gate_t &gate)
Build a BooleanCircuit from the mmap store rooted at token.
GenericCircuit getJointCircuit(pg_uuid_t root_token, pg_uuid_t event_token, gate_t &root_gate, gate_t &event_gate)
Build a GenericCircuit containing the closures of two roots, with shared subgraphs unified.
dDNNF buildInversionFreeDDNNF(pg_uuid_t token)
Compile a query certified inversion-free to its structured d-DNNF.
GenericCircuit getGenericCircuit(pg_uuid_t token)
Build a GenericCircuit from the mmap store rooted at token.
gate_t
Strongly-typed gate identifier.
Semiring-agnostic in-memory provenance circuit.
Boolean circuit for provenance formula evaluation.
In-memory provenance circuit with semiring-generic evaluation.
A d-DNNF circuit supporting exact probabilistic and game-theoretic evaluation.
Core types, constants, and utilities shared across ProvSQL.