FST  openfst-1.6.1
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_multimap< StateId, Label >
 
using CloseParenMap = std::unordered_multimap< State, 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 297 of file paren.h.

Member Typedef Documentation

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

Definition at line 312 of file paren.h.

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

Definition at line 315 of file paren.h.

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

Definition at line 299 of file paren.h.

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

Definition at line 309 of file paren.h.

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

Definition at line 306 of file paren.h.

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

Definition at line 317 of file paren.h.

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

Definition at line 302 of file paren.h.

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

Definition at line 303 of file paren.h.

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

Definition at line 300 of file paren.h.

Constructor & Destructor Documentation

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

Definition at line 319 of file paren.h.

Member Function Documentation

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

Definition at line 321 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 338 of file paren.h.

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

Definition at line 348 of file paren.h.

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

Definition at line 361 of file paren.h.

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

Definition at line 327 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 408 of file paren.h.


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