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

Operations on regular expressions, shared by Regex and TropicalPaths. More...

#include "Regex.h"

Static Public Member Functions

static regex_t make (regex_t::Kind k, std::string label, std::vector< regex_t > kids)
 A node of kind k.
static regex_t atom (const std::string &label)
 A one-letter language; \(\varepsilon\) for an empty label.
static regex_t plus (const std::vector< regex_t > &v)
 The union of v.
static regex_t times (const std::vector< regex_t > &v)
 The concatenation of v, in this order.
static regex_t star (const regex_t &a)
 The Kleene star of a.

Detailed Description

Operations on regular expressions, shared by Regex and TropicalPaths.

Definition at line 166 of file Regex.h.

Member Function Documentation

◆ atom()

regex_t semiring::regex_ops::atom ( const std::string & label)
inlinestatic

A one-letter language; \(\varepsilon\) for an empty label.

Definition at line 180 of file Regex.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ make()

regex_t semiring::regex_ops::make ( regex_t::Kind k,
std::string label,
std::vector< regex_t > kids )
inlinestatic

A node of kind k.

Definition at line 168 of file Regex.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ plus()

regex_t semiring::regex_ops::plus ( const std::vector< regex_t > & v)
inlinestatic

The union of v.

Definition at line 185 of file Regex.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ star()

regex_t semiring::regex_ops::star ( const regex_t & a)
inlinestatic

The Kleene star of a.

Definition at line 246 of file Regex.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ times()

regex_t semiring::regex_ops::times ( const std::vector< regex_t > & v)
inlinestatic

The concatenation of v, in this order.

Definition at line 223 of file Regex.h.

Here is the call graph for this function:
Here is the caller graph for this function:

The documentation for this struct was generated from the following file:
  • /home/pierre/git/software/provsql/src/semiring/Regex.h