FST  openfst-1.7.0
OpenFst Library
Public Types | Public Member Functions | List of all members
fst::internal::PdtParenReachable< Arc > Class Template Reference

#include <paren.h>

Public Types

using Label = typename Arc::Label
 
using StateId = typename Arc::StateId
 
using State = ParenState< Arc >
 
using StateHash = typename State::Hash
 
using ParenMultimap = std::unordered_multimap< StateId, Label >
 
using StateSetMap = std::unordered_map< State, ssize_t, StateHash >
 
using ParenArcMultimap = std::unordered_map< State, Arc, StateHash >
 
using ParenIterator = MapIterator< ParenMultimap >
 
using ParenArcIterator = MapIterator< ParenArcMultimap >
 
using SetIterator = typename Collection< ssize_t, StateId >::SetIterator
 

Public Member Functions

 PdtParenReachable (const Fst< Arc > &fst, const std::vector< std::pair< Label, Label >> &parens, bool close)
 
bool Error () const
 
ParenIterator FindParens (StateId s) const
 
SetIterator FindStates (Label paren_id, StateId s) const
 
ParenArcIterator FindParenArcs (Label paren_id, StateId s) const
 

Detailed Description

template<class Arc>
class fst::internal::PdtParenReachable< Arc >

Definition at line 83 of file paren.h.

Member Typedef Documentation

template<class Arc >
using fst::internal::PdtParenReachable< Arc >::Label = typename Arc::Label

Definition at line 85 of file paren.h.

Definition at line 103 of file paren.h.

template<class Arc >
using fst::internal::PdtParenReachable< Arc >::ParenArcMultimap = std::unordered_map<State, Arc, StateHash>

Definition at line 99 of file paren.h.

Definition at line 101 of file paren.h.

template<class Arc >
using fst::internal::PdtParenReachable< Arc >::ParenMultimap = std::unordered_multimap<StateId, Label>

Definition at line 92 of file paren.h.

template<class Arc >
using fst::internal::PdtParenReachable< Arc >::SetIterator = typename Collection<ssize_t, StateId>::SetIterator

Definition at line 105 of file paren.h.

template<class Arc >
using fst::internal::PdtParenReachable< Arc >::State = ParenState<Arc>

Definition at line 88 of file paren.h.

template<class Arc >
using fst::internal::PdtParenReachable< Arc >::StateHash = typename State::Hash

Definition at line 89 of file paren.h.

template<class Arc >
using fst::internal::PdtParenReachable< Arc >::StateId = typename Arc::StateId

Definition at line 86 of file paren.h.

template<class Arc >
using fst::internal::PdtParenReachable< Arc >::StateSetMap = std::unordered_map<State, ssize_t, StateHash>

Definition at line 95 of file paren.h.

Constructor & Destructor Documentation

template<class Arc >
fst::internal::PdtParenReachable< Arc >::PdtParenReachable ( const Fst< Arc > &  fst,
const std::vector< std::pair< Label, Label >> &  parens,
bool  close 
)
inline

Definition at line 109 of file paren.h.

Member Function Documentation

template<class Arc >
bool fst::internal::PdtParenReachable< Arc >::Error ( ) const
inline

Definition at line 132 of file paren.h.

template<class Arc >
ParenArcIterator fst::internal::PdtParenReachable< Arc >::FindParenArcs ( Label  paren_id,
StateId  s 
) const
inline

Definition at line 156 of file paren.h.

template<class Arc >
ParenIterator fst::internal::PdtParenReachable< Arc >::FindParens ( StateId  s) const
inline

Definition at line 136 of file paren.h.

template<class Arc >
SetIterator fst::internal::PdtParenReachable< Arc >::FindStates ( Label  paren_id,
StateId  s 
) const
inline

Definition at line 143 of file paren.h.


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