Algorithms Library Toolkit
A toolkit for algorithms, especially for algorithms on formal languages
Static Public Member Functions
core::ElementConstraint< string::WildcardLinearString< SymbolType >, SymbolType, string::WildcardSymbol > Class Template Reference

#include <WildcardLinearString.h>

Static Public Member Functions

static bool available (const string::WildcardLinearString< SymbolType > &string, const SymbolType &symbol)
 
static void valid (const string::WildcardLinearString< SymbolType > &, const SymbolType &)
 

Detailed Description

template<class SymbolType>
class core::ElementConstraint< string::WildcardLinearString< SymbolType >, SymbolType, string::WildcardSymbol >

Helper class specifying constraints for the string's internal wildcard element.

Template Parameters
SymbolTypeused for the alphabet of the string.

Member Function Documentation

◆ available()

template<class SymbolType >
static bool core::ElementConstraint< string::WildcardLinearString< SymbolType >, SymbolType, string::WildcardSymbol >::available ( const string::WildcardLinearString< SymbolType > &  string,
const SymbolType &  symbol 
)
inlinestatic

Determines whether the symbol is available in the string's alphabet.

Parameters
stringthe tested string
symbolthe tested symbol
Returns
true if the symbol is already in the alphabet of the string

◆ valid()

template<class SymbolType >
static void core::ElementConstraint< string::WildcardLinearString< SymbolType >, SymbolType, string::WildcardSymbol >::valid ( const string::WildcardLinearString< SymbolType > &  ,
const SymbolType &   
)
inlinestatic

All symbols are valid as an initial sildcard symbol of the string.

Parameters
stringthe tested string
symbolthe tested symbol

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