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

A cost, and the derivations of that cost. More...

#include "TropicalPaths.h"

Collaboration diagram for semiring::tropical_paths_t:

Public Member Functions

bool operator== (const tropical_paths_t &o) const
 Syntactic equality, as for regex_t.
bool operator!= (const tropical_paths_t &o) const
 Syntactic inequality.

Public Attributes

double cost = std::numeric_limits<double>::infinity()
 Least cost.
regex_t paths
 Its derivations.

Detailed Description

A cost, and the derivations of that cost.

Definition at line 46 of file TropicalPaths.h.

Member Function Documentation

◆ operator!=()

bool semiring::tropical_paths_t::operator!= ( const tropical_paths_t & o) const
inline

Syntactic inequality.

Definition at line 55 of file TropicalPaths.h.

◆ operator==()

bool semiring::tropical_paths_t::operator== ( const tropical_paths_t & o) const
inline

Syntactic equality, as for regex_t.

Definition at line 51 of file TropicalPaths.h.

Member Data Documentation

◆ cost

double semiring::tropical_paths_t::cost = std::numeric_limits<double>::infinity()

Least cost.

Definition at line 47 of file TropicalPaths.h.

◆ paths

regex_t semiring::tropical_paths_t::paths

Its derivations.

Definition at line 48 of file TropicalPaths.h.


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