FST  openfst-1.8.4
OpenFst Library
Public Types | Public Member Functions | Friends | List of all members
fst::ArcMapFst< A, B, C, CacheStore, propagate_expanded_fst > Class Template Reference

#include <arc-map.h>

Inheritance diagram for fst::ArcMapFst< A, B, C, CacheStore, propagate_expanded_fst >:
Inheritance graph
[legend]
Collaboration diagram for fst::ArcMapFst< A, B, C, CacheStore, propagate_expanded_fst >:
Collaboration graph
[legend]

Public Types

using Arc = B
 
using StateId = typename Arc::StateId
 
using Weight = typename Arc::Weight
 
using Store = CacheStore
 
using State = typename Store::State
 
using FromFst = typename Impl::FromFst
 

Public Member Functions

 ArcMapFst (const FromFst &fst, const C &mapper=C(), const ArcMapFstOptions &opts=ArcMapFstOptions())
 
 ArcMapFst (const FromFst &fst, C *mapper, const ArcMapFstOptions &opts=ArcMapFstOptions())
 
 ArcMapFst (const ArcMapFst &fst, bool safe=false)
 
ArcMapFstCopy (bool safe=false) const override
 
void InitStateIterator (StateIteratorData< B > *data) const override
 
void InitArcIterator (StateId s, ArcIteratorData< B > *data) const override
 

Friends

class ArcIterator< ArcMapFst< A, B, C, CacheStore, propagate_expanded_fst > >
 
class StateIterator< ArcMapFst< A, B, C, CacheStore, propagate_expanded_fst > >
 

Detailed Description

template<class A, class B, class C, class CacheStore = DefaultCacheStore<B>, PropagateKExpanded propagate_expanded_fst = PropagateKExpanded::kNo>
class fst::ArcMapFst< A, B, C, CacheStore, propagate_expanded_fst >

Definition at line 323 of file arc-map.h.

Member Typedef Documentation

template<class A, class B, class C, class CacheStore = DefaultCacheStore<B>, PropagateKExpanded propagate_expanded_fst = PropagateKExpanded::kNo>
using fst::ArcMapFst< A, B, C, CacheStore, propagate_expanded_fst >::Arc = B

Definition at line 632 of file arc-map.h.

template<class A, class B, class C, class CacheStore = DefaultCacheStore<B>, PropagateKExpanded propagate_expanded_fst = PropagateKExpanded::kNo>
using fst::ArcMapFst< A, B, C, CacheStore, propagate_expanded_fst >::FromFst = typename Impl::FromFst

Definition at line 639 of file arc-map.h.

template<class A, class B, class C, class CacheStore = DefaultCacheStore<B>, PropagateKExpanded propagate_expanded_fst = PropagateKExpanded::kNo>
using fst::ArcMapFst< A, B, C, CacheStore, propagate_expanded_fst >::State = typename Store::State

Definition at line 637 of file arc-map.h.

template<class A, class B, class C, class CacheStore = DefaultCacheStore<B>, PropagateKExpanded propagate_expanded_fst = PropagateKExpanded::kNo>
using fst::ArcMapFst< A, B, C, CacheStore, propagate_expanded_fst >::StateId = typename Arc::StateId

Definition at line 633 of file arc-map.h.

template<class A, class B, class C, class CacheStore = DefaultCacheStore<B>, PropagateKExpanded propagate_expanded_fst = PropagateKExpanded::kNo>
using fst::ArcMapFst< A, B, C, CacheStore, propagate_expanded_fst >::Store = CacheStore

Definition at line 636 of file arc-map.h.

template<class A, class B, class C, class CacheStore = DefaultCacheStore<B>, PropagateKExpanded propagate_expanded_fst = PropagateKExpanded::kNo>
using fst::ArcMapFst< A, B, C, CacheStore, propagate_expanded_fst >::Weight = typename Arc::Weight

Definition at line 634 of file arc-map.h.

Constructor & Destructor Documentation

template<class A, class B, class C, class CacheStore = DefaultCacheStore<B>, PropagateKExpanded propagate_expanded_fst = PropagateKExpanded::kNo>
fst::ArcMapFst< A, B, C, CacheStore, propagate_expanded_fst >::ArcMapFst ( const FromFst fst,
const C &  mapper = C(),
const ArcMapFstOptions opts = ArcMapFstOptions() 
)
inlineexplicit

Definition at line 646 of file arc-map.h.

template<class A, class B, class C, class CacheStore = DefaultCacheStore<B>, PropagateKExpanded propagate_expanded_fst = PropagateKExpanded::kNo>
fst::ArcMapFst< A, B, C, CacheStore, propagate_expanded_fst >::ArcMapFst ( const FromFst fst,
C *  mapper,
const ArcMapFstOptions opts = ArcMapFstOptions() 
)
inline

Definition at line 650 of file arc-map.h.

template<class A, class B, class C, class CacheStore = DefaultCacheStore<B>, PropagateKExpanded propagate_expanded_fst = PropagateKExpanded::kNo>
fst::ArcMapFst< A, B, C, CacheStore, propagate_expanded_fst >::ArcMapFst ( const ArcMapFst< A, B, C, CacheStore, propagate_expanded_fst > &  fst,
bool  safe = false 
)
inline

Definition at line 655 of file arc-map.h.

Member Function Documentation

template<class A, class B, class C, class CacheStore = DefaultCacheStore<B>, PropagateKExpanded propagate_expanded_fst = PropagateKExpanded::kNo>
ArcMapFst* fst::ArcMapFst< A, B, C, CacheStore, propagate_expanded_fst >::Copy ( bool  safe = false) const
inlineoverride

Definition at line 658 of file arc-map.h.

template<class A, class B, class C, class CacheStore = DefaultCacheStore<B>, PropagateKExpanded propagate_expanded_fst = PropagateKExpanded::kNo>
void fst::ArcMapFst< A, B, C, CacheStore, propagate_expanded_fst >::InitArcIterator ( StateId  s,
ArcIteratorData< B > *  data 
) const
inlineoverride

Definition at line 664 of file arc-map.h.

template<class A , class B, class C , class CacheStore , PropagateKExpanded propagate_expanded_fst>
void fst::ArcMapFst< A, B, C, CacheStore, propagate_expanded_fst >::InitStateIterator ( StateIteratorData< B > *  data) const
inlineoverride

Definition at line 751 of file arc-map.h.

Friends And Related Function Documentation

template<class A, class B, class C, class CacheStore = DefaultCacheStore<B>, PropagateKExpanded propagate_expanded_fst = PropagateKExpanded::kNo>
friend class ArcIterator< ArcMapFst< A, B, C, CacheStore, propagate_expanded_fst > >
friend

Definition at line 642 of file arc-map.h.

template<class A, class B, class C, class CacheStore = DefaultCacheStore<B>, PropagateKExpanded propagate_expanded_fst = PropagateKExpanded::kNo>
friend class StateIterator< ArcMapFst< A, B, C, CacheStore, propagate_expanded_fst > >
friend

Definition at line 644 of file arc-map.h.


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