![]() |
ProvSQL C/C++ API
Adding support for provenance and uncertainty management to PostgreSQL databases
|
SQL functions provsql.circuit_canonical_form(), provsql.circuit_island_key(), provsql.prob_cache_stats() and provsql.prob_cache_reset() – inspect the canonical form of a circuit and the cache of compiled d-DNNFs.
More...
#include "postgres.h"#include "fmgr.h"#include "varatt.h"#include "catalog/pg_type.h"#include "utils/jsonb.h"#include "utils/fmgrprotos.h"#include "utils/uuid.h"#include "provsql_shmem.h"#include "provsql_utils.h"#include "c_cpp_compatibility.h"#include "BooleanCircuit.h"#include "ProbCache.h"#include "CircuitCanonicalForm.h"#include "CircuitFromMMap.h"#include "provsql_utils_cpp.h"#include <sstream>#include <string>
Go to the source code of this file.
Functions | |
| Datum | circuit_canonical_form (PG_FUNCTION_ARGS) |
| Datum | circuit_island_key (PG_FUNCTION_ARGS) |
| Datum | prob_cache_stats (PG_FUNCTION_ARGS) |
| Datum | prob_cache_reset (PG_FUNCTION_ARGS) |
SQL functions provsql.circuit_canonical_form(), provsql.circuit_island_key(), provsql.prob_cache_stats() and provsql.prob_cache_reset() – inspect the canonical form of a circuit and the cache of compiled d-DNNFs.
Diagnostics for the cache of ProbCache.h: the first two show the keys a circuit is looked up under, the last two read and empty the cache of the current session.
Definition in file canonical_form_sql.cpp.
| Datum circuit_canonical_form | ( | PG_FUNCTION_ARGS | ) |
| Datum circuit_island_key | ( | PG_FUNCTION_ARGS | ) |
| Datum prob_cache_reset | ( | PG_FUNCTION_ARGS | ) |
| Datum prob_cache_stats | ( | PG_FUNCTION_ARGS | ) |