68template <
typename Semiring>
98template <
typename Semiring>
A weighted fact database: a map from ground atom to a semiring value type T (bool for the trivial/boo...
Definition datalog_weighted_fact_database.hpp:49
Forward-mode-automatic-differentiation semiring (DualNumber<T>/DualSemiring<T>) – a second,...
A Datalog rule: head :- body1, body2, ..., range-restricted (safe) by construction....
Generic provenance-semiring abstraction (zero/one/add=(+)/mul=(x)) plus the boolean (trivial) and rea...
A map from ground Datalog atom to a semiring-typed weight. Phase 3 Mission 1 of campaign_exai_dl_libr...
Definition datalog_atom.hpp:14
WeightedFactDatabase< typename Semiring::Value > naive_evaluate_weighted(const std::vector< Rule > &rules, const WeightedFactDatabase< typename Semiring::Value > &initial_facts)
Naive bottom-up fixpoint evaluation, generalized over any Semiring-shaped Semiring (see datalog_semir...
WeightedFactDatabase< typename Semiring::Value > semi_naive_evaluate_weighted(const std::vector< Rule > &rules, const WeightedFactDatabase< typename Semiring::Value > &initial_facts)
The semi-naive-named weighted counterpart of naive_evaluate_weighted.
template WeightedFactDatabase< bool > naive_evaluate_weighted< BooleanSemiring >(const std::vector< Rule > &, const WeightedFactDatabase< bool > &)
template WeightedFactDatabase< bool > semi_naive_evaluate_weighted< BooleanSemiring >(const std::vector< Rule > &, const WeightedFactDatabase< bool > &)