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

What probCachedProbability may do, and what it reports back. More...

#include "ProbCache.h"

Collaboration diagram for provsql::ProbCacheOptions:

Public Attributes

bool use_cache = true
 Look compiled d-DNNFs up, and store new ones.
bool fold = false
 Fold the independent groups of the root first.
std::string required_builder
 Non-empty: only an entry compiled by this builder is a hit (a call naming its method must not be answered from another method's entry).
std::function< std::string()> last_builder
 Names the builder of the d-DNNF the compile callback last returned.
ProbCacheReport * report = nullptr

Detailed Description

What probCachedProbability may do, and what it reports back.

Definition at line 121 of file ProbCache.h.

Member Data Documentation

◆ fold

bool provsql::ProbCacheOptions::fold = false

Fold the independent groups of the root first.

Definition at line 123 of file ProbCache.h.

◆ last_builder

std::function<std::string()> provsql::ProbCacheOptions::last_builder

Names the builder of the d-DNNF the compile callback last returned.

Definition at line 128 of file ProbCache.h.

◆ report

ProbCacheReport* provsql::ProbCacheOptions::report = nullptr

Definition at line 129 of file ProbCache.h.

◆ required_builder

std::string provsql::ProbCacheOptions::required_builder

Non-empty: only an entry compiled by this builder is a hit (a call naming its method must not be answered from another method's entry).

Definition at line 126 of file ProbCache.h.

◆ use_cache

bool provsql::ProbCacheOptions::use_cache = true

Look compiled d-DNNFs up, and store new ones.

Definition at line 122 of file ProbCache.h.


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