Algorithms Library Toolkit
A toolkit for algorithms, especially for algorithms on formal languages
Static Public Member Functions
core::ElementConstraint< automaton::NPDA< InputSymbolType, PushdownStoreSymbolType, StateType >, PushdownStoreSymbolType, automaton::InitialSymbol > Class Template Reference

#include <NPDA.h>

Static Public Member Functions

static bool available (const automaton::NPDA< InputSymbolType, PushdownStoreSymbolType, StateType > &automaton, const PushdownStoreSymbolType &symbol)
 
static void valid (const automaton::NPDA< InputSymbolType, PushdownStoreSymbolType, StateType > &, const PushdownStoreSymbolType &)
 

Detailed Description

template<class InputSymbolType, class PushdownStoreSymbolType, class StateType>
class core::ElementConstraint< automaton::NPDA< InputSymbolType, PushdownStoreSymbolType, StateType >, PushdownStoreSymbolType, automaton::InitialSymbol >

Helper class specifying constraints for the automaton's internal pushdown store initial element.

Template Parameters
InputSymbolTypeused for the terminal alphabet of the automaton.
PushdownSymbolTypeused for the pushdown store alphabet of the automaton.
StateTypeused for the terminal alphabet of the automaton.

Member Function Documentation

◆ available()

template<class InputSymbolType , class PushdownStoreSymbolType , class StateType >
static bool core::ElementConstraint< automaton::NPDA< InputSymbolType, PushdownStoreSymbolType, StateType >, PushdownStoreSymbolType, automaton::InitialSymbol >::available ( const automaton::NPDA< InputSymbolType, PushdownStoreSymbolType, StateType > &  automaton,
const PushdownStoreSymbolType &  symbol 
)
inlinestatic

Determines whether the initial pushdown store symbol is available in the automaton's pushdown store alphabet.

Parameters
automatonthe tested automaton
symbolthe tested symbol
Returns
true if the pushdown store symbol is already in the pushdown store alphabet of the automaton

◆ valid()

template<class InputSymbolType , class PushdownStoreSymbolType , class StateType >
static void core::ElementConstraint< automaton::NPDA< InputSymbolType, PushdownStoreSymbolType, StateType >, PushdownStoreSymbolType, automaton::InitialSymbol >::valid ( const automaton::NPDA< InputSymbolType, PushdownStoreSymbolType, StateType > &  ,
const PushdownStoreSymbolType &   
)
inlinestatic

All pushdown store symbols are valid as an initial pusdown store symbol of the automaton.

Parameters
automatonthe tested automaton
symbolthe tested symbol

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