FST  openfst-1.8.3
OpenFst Library
Public Types | Public Member Functions | List of all members
fst::VectorHashReplaceStateTable< Arc, P > Class Template Reference

#include <replace.h>

Public Types

using Label = typename Arc::Label
 
using StateId = typename Arc::StateId
 
using PrefixId = P
 
using StateTuple = ReplaceStateTuple< StateId, PrefixId >
 
using StateTable = VectorHashStateTable< ReplaceStateTuple< StateId, PrefixId >, ReplaceRootSelector< StateId, PrefixId >, ReplaceFstStateFingerprint< StateId, PrefixId >, ReplaceFingerprint< StateId, PrefixId >>
 
using StackPrefix = ReplaceStackPrefix< Label, StateId >
 
using StackPrefixTable = CompactHashBiTable< PrefixId, StackPrefix, ReplaceStackPrefixHash< Label, StateId >>
 

Public Member Functions

 VectorHashReplaceStateTable (const std::vector< std::pair< Label, const Fst< Arc > * >> &fst_list, Label root)
 
 VectorHashReplaceStateTable (const VectorHashReplaceStateTable< Arc, PrefixId > &table)
 
StateId FindState (const StateTuple &tuple)
 
const StateTupleTuple (StateId id) const
 
PrefixId FindPrefixId (const StackPrefix &prefix)
 
const StackPrefixGetStackPrefix (PrefixId id) const
 

Detailed Description

template<class Arc, class P = ssize_t>
class fst::VectorHashReplaceStateTable< Arc, P >

Definition at line 241 of file replace.h.

Member Typedef Documentation

template<class Arc, class P = ssize_t>
using fst::VectorHashReplaceStateTable< Arc, P >::Label = typename Arc::Label

Definition at line 243 of file replace.h.

template<class Arc, class P = ssize_t>
using fst::VectorHashReplaceStateTable< Arc, P >::PrefixId = P

Definition at line 246 of file replace.h.

template<class Arc, class P = ssize_t>
using fst::VectorHashReplaceStateTable< Arc, P >::StackPrefix = ReplaceStackPrefix<Label, StateId>

Definition at line 254 of file replace.h.

Definition at line 257 of file replace.h.

template<class Arc, class P = ssize_t>
using fst::VectorHashReplaceStateTable< Arc, P >::StateId = typename Arc::StateId

Definition at line 244 of file replace.h.

Definition at line 253 of file replace.h.

template<class Arc, class P = ssize_t>
using fst::VectorHashReplaceStateTable< Arc, P >::StateTuple = ReplaceStateTuple<StateId, PrefixId>

Definition at line 248 of file replace.h.

Constructor & Destructor Documentation

template<class Arc, class P = ssize_t>
fst::VectorHashReplaceStateTable< Arc, P >::VectorHashReplaceStateTable ( const std::vector< std::pair< Label, const Fst< Arc > * >> &  fst_list,
Label  root 
)
inline

Definition at line 259 of file replace.h.

template<class Arc, class P = ssize_t>
fst::VectorHashReplaceStateTable< Arc, P >::VectorHashReplaceStateTable ( const VectorHashReplaceStateTable< Arc, PrefixId > &  table)
inline

Definition at line 279 of file replace.h.

Member Function Documentation

template<class Arc, class P = ssize_t>
PrefixId fst::VectorHashReplaceStateTable< Arc, P >::FindPrefixId ( const StackPrefix prefix)
inline

Definition at line 297 of file replace.h.

template<class Arc, class P = ssize_t>
StateId fst::VectorHashReplaceStateTable< Arc, P >::FindState ( const StateTuple tuple)
inline

Definition at line 291 of file replace.h.

template<class Arc, class P = ssize_t>
const StackPrefix& fst::VectorHashReplaceStateTable< Arc, P >::GetStackPrefix ( PrefixId  id) const
inline

Definition at line 301 of file replace.h.

template<class Arc, class P = ssize_t>
const StateTuple& fst::VectorHashReplaceStateTable< Arc, P >::Tuple ( StateId  id) const
inline

Definition at line 295 of file replace.h.


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