Algorithms Library Toolkit
A toolkit for algorithms, especially for algorithms on formal languages
Static Public Member Functions
automaton::transform::AutomataConcatenationEpsilonTransition Class Reference

#include <AutomataConcatenationEpsilonTransition.h>

Static Public Member Functions

template<class SymbolType , class StateType >
static automaton::EpsilonNFA< SymbolType, ext::pair< StateType, unsigned > > concatenation (const automaton::DFA< SymbolType, StateType > &first, const automaton::DFA< SymbolType, StateType > &second)
 
template<class SymbolType , class StateType >
static automaton::EpsilonNFA< SymbolType, ext::pair< StateType, unsigned > > concatenation (const automaton::NFA< SymbolType, StateType > &first, const automaton::NFA< SymbolType, StateType > &second)
 
template<class SymbolType , class StateType >
static automaton::EpsilonNFA< SymbolType, ext::pair< StateType, unsigned > > concatenation (const automaton::EpsilonNFA< SymbolType, StateType > &first, const automaton::EpsilonNFA< SymbolType, StateType > &second)
 

Detailed Description

Concatenation of two finite automata. For finite automata A1, A2, we create a finite automaton A such that L(A) = L(A1).L(A2). This method utilizes epsilon transitions in the resulting finite automata (Melichar: Jazyky a překlady, 2.80).

Member Function Documentation

◆ concatenation() [1/3]

template<class SymbolType , class StateType >
automaton::EpsilonNFA< SymbolType, ext::pair< StateType, unsigned > > automaton::transform::AutomataConcatenationEpsilonTransition::concatenation ( const automaton::DFA< SymbolType, StateType > &  first,
const automaton::DFA< SymbolType, StateType > &  second 
)
static

Concatenates two automata using epsilon transitions.

Template Parameters
SymbolTypeType for input symbols.
StateTypeType for states.
Parameters
firstFirst automaton (A1)
secondSecond automaton (A2)
Returns
nondeterministic FA with epsilon transitions representing the concatenation of two automata
Here is the call graph for this function:

◆ concatenation() [2/3]

template<class SymbolType , class StateType >
automaton::EpsilonNFA< SymbolType, ext::pair< StateType, unsigned > > automaton::transform::AutomataConcatenationEpsilonTransition::concatenation ( const automaton::EpsilonNFA< SymbolType, StateType > &  first,
const automaton::EpsilonNFA< SymbolType, StateType > &  second 
)
static

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Here is the call graph for this function:

◆ concatenation() [3/3]

template<class SymbolType , class StateType >
automaton::EpsilonNFA< SymbolType, ext::pair< StateType, unsigned > > automaton::transform::AutomataConcatenationEpsilonTransition::concatenation ( const automaton::NFA< SymbolType, StateType > &  first,
const automaton::NFA< SymbolType, StateType > &  second 
)
static

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Here is the call graph for this function:

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