Algorithms Library Toolkit
A toolkit for algorithms, especially for algorithms on formal languages
|
#include <RankedTree.h>
Static Public Member Functions | |
static bool | used (const tree::RankedTree< SymbolType > &tree, const common::ranked_symbol< SymbolType > &symbol) |
static bool | available (const tree::RankedTree< SymbolType > &, const common::ranked_symbol< SymbolType > &) |
static void | valid (const tree::RankedTree< SymbolType > &, const common::ranked_symbol< SymbolType > &) |
Helper class specifying constraints for the tree's internal alphabet component.
SymbolType | used for the symbol part of the ranked symbols of the alphabet of the pattern. |
|
inlinestatic |
Returns true as all symbols are possibly available to be in an alphabet.
tree | the tested tree |
symbol | the tested symbol |
|
inlinestatic |
Returns true if the symbol is still used in the tree.
tree | the tested tree |
symbol | the tested symbol |
|
inlinestatic |
All symbols are valid as symbols of an alphabet.
tree | the tested tree |
symbol | the tested symbol |