![]() |
ProvSQL C/C++ API
Adding support for provenance and uncertainty management to PostgreSQL databases
|
A cost and a derivation of that cost, as a word of labels. More...
#include "BestPath.h"
Public Member Functions | |
| bool | is_zero () const |
| Whether this is \(\mathbb{0}\). | |
| bool | operator== (const best_path_t &o) const |
| Equality of the cost and the word. | |
| bool | operator!= (const best_path_t &o) const |
| Inequality. | |
Public Attributes | |
| double | cost = std::numeric_limits<double>::infinity() |
| +∞ for 𝟘 | |
| std::vector< std::string > | word |
| Its labels. | |
A cost and a derivation of that cost, as a word of labels.
Definition at line 53 of file BestPath.h.
|
inline |
Whether this is \(\mathbb{0}\).
Definition at line 58 of file BestPath.h.

|
inline |
Inequality.
Definition at line 66 of file BestPath.h.
|
inline |
Equality of the cost and the word.
Definition at line 62 of file BestPath.h.
| double semiring::best_path_t::cost = std::numeric_limits<double>::infinity() |
+∞ for 𝟘
Definition at line 54 of file BestPath.h.
| std::vector<std::string> semiring::best_path_t::word |
Its labels.
Definition at line 55 of file BestPath.h.