Algorithms Library Toolkit
A toolkit for algorithms, especially for algorithms on formal languages
Static Public Member Functions
core::SetConstraint< automaton::UnorderedDFTA< SymbolType, StateType >, common::ranked_symbol< SymbolType >, automaton::InputAlphabet > Class Template Reference

#include <UnorderedDFTA.h>

Static Public Member Functions

static bool used (const automaton::UnorderedDFTA< SymbolType, StateType > &automaton, const common::ranked_symbol< SymbolType > &symbol)
 
static bool available (const automaton::UnorderedDFTA< SymbolType, StateType > &, const common::ranked_symbol< SymbolType > &)
 
static void valid (const automaton::UnorderedDFTA< SymbolType, StateType > &, const common::ranked_symbol< SymbolType > &)
 

Detailed Description

template<class SymbolType, class StateType>
class core::SetConstraint< automaton::UnorderedDFTA< SymbolType, StateType >, common::ranked_symbol< SymbolType >, automaton::InputAlphabet >

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

Template Parameters
SymbolTypeused for the symbol part of the ranked symbol
StateTypeused for the terminal alphabet of the automaton.

Member Function Documentation

◆ available()

template<class SymbolType , class StateType >
static bool core::SetConstraint< automaton::UnorderedDFTA< SymbolType, StateType >, common::ranked_symbol< SymbolType >, automaton::InputAlphabet >::available ( const automaton::UnorderedDFTA< SymbolType, StateType > &  ,
const common::ranked_symbol< SymbolType > &   
)
inlinestatic

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

Parameters
automatonthe tested automaton
symbolthe tested symbol
Returns
true

◆ used()

template<class SymbolType , class StateType >
static bool core::SetConstraint< automaton::UnorderedDFTA< SymbolType, StateType >, common::ranked_symbol< SymbolType >, automaton::InputAlphabet >::used ( const automaton::UnorderedDFTA< SymbolType, StateType > &  automaton,
const common::ranked_symbol< SymbolType > &  symbol 
)
inlinestatic

Returns true if the symbol is still used in some transition of the automaton.

Parameters
automatonthe tested automaton
symbolthe tested symbol
Returns
true if the symbol is used, false othervise

◆ valid()

template<class SymbolType , class StateType >
static void core::SetConstraint< automaton::UnorderedDFTA< SymbolType, StateType >, common::ranked_symbol< SymbolType >, automaton::InputAlphabet >::valid ( const automaton::UnorderedDFTA< SymbolType, StateType > &  ,
const common::ranked_symbol< SymbolType > &   
)
inlinestatic

All symbols are valid as input symbols.

Parameters
automatonthe tested automaton
symbolthe tested symbol

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