Algorithms Library Toolkit
A toolkit for algorithms, especially for algorithms on formal languages
Static Public Member Functions
core::SetConstraint< regexp::UnboundedRegExp< SymbolType >, SymbolType, regexp::GeneralAlphabet > Class Template Reference

#include <UnboundedRegExp.h>

Static Public Member Functions

static bool used (const regexp::UnboundedRegExp< SymbolType > &regexp, const SymbolType &symbol)
 
static bool available (const regexp::UnboundedRegExp< SymbolType > &, const SymbolType &)
 
static void valid (const regexp::UnboundedRegExp< SymbolType > &, const SymbolType &)
 

Detailed Description

template<class SymbolType>
class core::SetConstraint< regexp::UnboundedRegExp< SymbolType >, SymbolType, regexp::GeneralAlphabet >

Helper class specifying constraints for the expression's internal alphabet component.

Template Parameters
SymbolTypeused for the terminal alphabet of the expression.

Member Function Documentation

◆ available()

template<class SymbolType >
static bool core::SetConstraint< regexp::UnboundedRegExp< SymbolType >, SymbolType, regexp::GeneralAlphabet >::available ( const regexp::UnboundedRegExp< SymbolType > &  ,
const SymbolType &   
)
inlinestatic

Returns true as all symbols are possibly available to be elements of the alphabet.

Parameters
regexpthe tested expresion
symbolthe tested state
Returns
true

◆ used()

template<class SymbolType >
static bool core::SetConstraint< regexp::UnboundedRegExp< SymbolType >, SymbolType, regexp::GeneralAlphabet >::used ( const regexp::UnboundedRegExp< SymbolType > &  regexp,
const SymbolType &  symbol 
)
inlinestatic

Returns true if the symbol is still used somewhere in the structure of the expression.

Parameters
regexpthe tested expresion
symbolthe tested symbol
Returns
true if the symbol is used, false othervise

◆ valid()

template<class SymbolType >
static void core::SetConstraint< regexp::UnboundedRegExp< SymbolType >, SymbolType, regexp::GeneralAlphabet >::valid ( const regexp::UnboundedRegExp< SymbolType > &  ,
const SymbolType &   
)
inlinestatic

All symbols are valid as symbols of the alphabet.

Parameters
regexpthe tested expresion
symbolthe tested state

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