FST  openfst-1.8.2.post1
OpenFst Library
Public Types | Public Member Functions | List of all members
fst::internal::PdtBalanceData< 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 OpenParenSet = std::unordered_set< State, StateHash >
 
using OpenParenMap = std::unordered_map< StateId, std::vector< Label >>
 
using CloseParenMap = std::unordered_map< State, std::vector< StateId >, StateHash >
 
using CloseSourceMap = std::unordered_map< State, ssize_t, StateHash >
 
using SetIterator = typename Collection< ssize_t, StateId >::SetIterator
 

Public Member Functions

 PdtBalanceData ()
 
void Clear ()
 
void OpenInsert (Label paren_id, StateId open_dest)
 
void CloseInsert (Label paren_id, StateId open_dest, StateId close_source)
 
SetIterator Find (Label paren_id, StateId open_dest)
 
void FinishInsert (StateId open_dest)
 
PdtBalanceData< Arc > * Reverse (StateId num_states, StateId num_split, StateId state_id_shift) const
 

Detailed Description

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

Definition at line 333 of file paren.h.

Member Typedef Documentation

template<class Arc>
using fst::internal::PdtBalanceData< Arc >::CloseParenMap = std::unordered_map<State, std::vector<StateId>, StateHash>

Definition at line 349 of file paren.h.

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

Definition at line 352 of file paren.h.

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

Definition at line 335 of file paren.h.

template<class Arc>
using fst::internal::PdtBalanceData< Arc >::OpenParenMap = std::unordered_map<StateId, std::vector<Label>>

Definition at line 345 of file paren.h.

template<class Arc>
using fst::internal::PdtBalanceData< Arc >::OpenParenSet = std::unordered_set<State, StateHash>

Definition at line 342 of file paren.h.

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

Definition at line 354 of file paren.h.

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

Definition at line 338 of file paren.h.

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

Definition at line 339 of file paren.h.

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

Definition at line 336 of file paren.h.

Constructor & Destructor Documentation

template<class Arc>
fst::internal::PdtBalanceData< Arc >::PdtBalanceData ( )
inline

Definition at line 356 of file paren.h.

Member Function Documentation

template<class Arc>
void fst::internal::PdtBalanceData< Arc >::Clear ( )
inline

Definition at line 358 of file paren.h.

template<class Arc>
void fst::internal::PdtBalanceData< Arc >::CloseInsert ( Label  paren_id,
StateId  open_dest,
StateId  close_source 
)
inline

Definition at line 374 of file paren.h.

template<class Arc>
SetIterator fst::internal::PdtBalanceData< Arc >::Find ( Label  paren_id,
StateId  open_dest 
)
inline

Definition at line 384 of file paren.h.

template<class Arc>
void fst::internal::PdtBalanceData< Arc >::FinishInsert ( StateId  open_dest)
inline

Definition at line 397 of file paren.h.

template<class Arc>
void fst::internal::PdtBalanceData< Arc >::OpenInsert ( Label  paren_id,
StateId  open_dest 
)
inline

Definition at line 364 of file paren.h.

template<class Arc >
PdtBalanceData< Arc > * fst::internal::PdtBalanceData< Arc >::Reverse ( StateId  num_states,
StateId  num_split,
StateId  state_id_shift 
) const

Definition at line 443 of file paren.h.


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