Algorithms Library Toolkit
A toolkit for algorithms, especially for algorithms on formal languages
|
#include <PrefixRankedBarPattern.h>
Static Public Member Functions | |
static bool | available (const tree::PrefixRankedBarPattern< SymbolType > &pattern, const common::ranked_symbol< SymbolType > &symbol) |
static void | valid (const tree::PrefixRankedBarPattern< SymbolType > &, const common::ranked_symbol< SymbolType > &symbol) |
Helper class specifying constraints for the pattern's internal variables bar element.
SymbolType | used for the symbol part of the ranked symbols of the alphabet of the pattern. |
|
inlinestatic |
Determines whether the symbol is available in the pattern's alphabet.
pattern | the tested pattern |
symbol | the tested symbol |
|
inlinestatic |
Variables bar needs to have zero arity.
pattern | the tested pattern |
symbol | the tested symbol |
TreeException | if the symbol does not have zero arity |