FST  openfst-1.8.3
OpenFst Library
Public Types | Public Member Functions | List of all members
fst::ComposeFstMatcher< CacheStore, Filter, StateTable > Class Template Reference

#include <compose.h>

Inheritance diagram for fst::ComposeFstMatcher< CacheStore, Filter, StateTable >:
Inheritance graph
[legend]
Collaboration diagram for fst::ComposeFstMatcher< CacheStore, Filter, StateTable >:
Collaboration graph
[legend]

Public Types

using Arc = typename CacheStore::Arc
 
using Label = typename Arc::Label
 
using StateId = typename Arc::StateId
 
using Weight = typename Arc::Weight
 
using Matcher1 = typename Filter::Matcher1
 
using Matcher2 = typename Filter::Matcher2
 
using FilterState = typename Filter::FilterState
 
using StateTuple = typename StateTable::StateTuple
 
using Impl = internal::ComposeFstImpl< CacheStore, Filter, StateTable >
 
- Public Types inherited from fst::MatcherBase< CacheStore::Arc >
using Arc = CacheStore::Arc
 
using Label = typename Arc::Label
 
using StateId = typename Arc::StateId
 
using Weight = typename Arc::Weight
 

Public Member Functions

 ComposeFstMatcher (const ComposeFst< Arc, CacheStore > &fst, MatchType match_type)
 
 ComposeFstMatcher (const ComposeFst< Arc, CacheStore > *fst, MatchType match_type)
 
 ComposeFstMatcher (const ComposeFstMatcher< CacheStore, Filter, StateTable > &matcher, bool safe=false)
 
ComposeFstMatcherCopy (bool safe=false) const override
 
MatchType Type (bool test) const override
 
const Fst< Arc > & GetFst () const override
 
uint64_t Properties (uint64_t inprops) const override
 
void SetState (StateId s) final
 
bool Find (Label label) final
 
bool Done () const final
 
const ArcValue () const final
 
void Next () final
 
ssize_t Priority (StateId s) final
 
- Public Member Functions inherited from fst::MatcherBase< CacheStore::Arc >
virtual ~MatcherBase ()=default
 
virtual uint32_t Flags () const
 
virtual Weight Final (StateId s) const
 

Detailed Description

template<class CacheStore, class Filter, class StateTable>
class fst::ComposeFstMatcher< CacheStore, Filter, StateTable >

Definition at line 83 of file compose.h.

Member Typedef Documentation

template<class CacheStore, class Filter, class StateTable>
using fst::ComposeFstMatcher< CacheStore, Filter, StateTable >::Arc = typename CacheStore::Arc

Definition at line 741 of file compose.h.

template<class CacheStore, class Filter, class StateTable>
using fst::ComposeFstMatcher< CacheStore, Filter, StateTable >::FilterState = typename Filter::FilterState

Definition at line 748 of file compose.h.

template<class CacheStore, class Filter, class StateTable>
using fst::ComposeFstMatcher< CacheStore, Filter, StateTable >::Impl = internal::ComposeFstImpl<CacheStore, Filter, StateTable>

Definition at line 751 of file compose.h.

template<class CacheStore, class Filter, class StateTable>
using fst::ComposeFstMatcher< CacheStore, Filter, StateTable >::Label = typename Arc::Label

Definition at line 742 of file compose.h.

template<class CacheStore, class Filter, class StateTable>
using fst::ComposeFstMatcher< CacheStore, Filter, StateTable >::Matcher1 = typename Filter::Matcher1

Definition at line 746 of file compose.h.

template<class CacheStore, class Filter, class StateTable>
using fst::ComposeFstMatcher< CacheStore, Filter, StateTable >::Matcher2 = typename Filter::Matcher2

Definition at line 747 of file compose.h.

template<class CacheStore, class Filter, class StateTable>
using fst::ComposeFstMatcher< CacheStore, Filter, StateTable >::StateId = typename Arc::StateId

Definition at line 743 of file compose.h.

template<class CacheStore, class Filter, class StateTable>
using fst::ComposeFstMatcher< CacheStore, Filter, StateTable >::StateTuple = typename StateTable::StateTuple

Definition at line 750 of file compose.h.

template<class CacheStore, class Filter, class StateTable>
using fst::ComposeFstMatcher< CacheStore, Filter, StateTable >::Weight = typename Arc::Weight

Definition at line 744 of file compose.h.

Constructor & Destructor Documentation

template<class CacheStore, class Filter, class StateTable>
fst::ComposeFstMatcher< CacheStore, Filter, StateTable >::ComposeFstMatcher ( const ComposeFst< Arc, CacheStore > &  fst,
MatchType  match_type 
)
inline

Definition at line 755 of file compose.h.

template<class CacheStore, class Filter, class StateTable>
fst::ComposeFstMatcher< CacheStore, Filter, StateTable >::ComposeFstMatcher ( const ComposeFst< Arc, CacheStore > *  fst,
MatchType  match_type 
)
inline

Definition at line 771 of file compose.h.

template<class CacheStore, class Filter, class StateTable>
fst::ComposeFstMatcher< CacheStore, Filter, StateTable >::ComposeFstMatcher ( const ComposeFstMatcher< CacheStore, Filter, StateTable > &  matcher,
bool  safe = false 
)
inline

Definition at line 785 of file compose.h.

Member Function Documentation

template<class CacheStore, class Filter, class StateTable>
ComposeFstMatcher* fst::ComposeFstMatcher< CacheStore, Filter, StateTable >::Copy ( bool  safe = false) const
inlineoverridevirtual

Implements fst::MatcherBase< CacheStore::Arc >.

Definition at line 800 of file compose.h.

template<class CacheStore, class Filter, class StateTable>
bool fst::ComposeFstMatcher< CacheStore, Filter, StateTable >::Done ( ) const
inlinefinalvirtual

Implements fst::MatcherBase< CacheStore::Arc >.

Definition at line 852 of file compose.h.

template<class CacheStore, class Filter, class StateTable>
bool fst::ComposeFstMatcher< CacheStore, Filter, StateTable >::Find ( Label  label)
inlinefinalvirtual

Implements fst::MatcherBase< CacheStore::Arc >.

Definition at line 837 of file compose.h.

template<class CacheStore, class Filter, class StateTable>
const Fst<Arc>& fst::ComposeFstMatcher< CacheStore, Filter, StateTable >::GetFst ( ) const
inlineoverridevirtual

Implements fst::MatcherBase< CacheStore::Arc >.

Definition at line 824 of file compose.h.

template<class CacheStore, class Filter, class StateTable>
void fst::ComposeFstMatcher< CacheStore, Filter, StateTable >::Next ( )
inlinefinalvirtual

Implements fst::MatcherBase< CacheStore::Arc >.

Definition at line 858 of file compose.h.

template<class CacheStore, class Filter, class StateTable>
ssize_t fst::ComposeFstMatcher< CacheStore, Filter, StateTable >::Priority ( StateId  s)
inlinefinalvirtual

Reimplemented from fst::MatcherBase< CacheStore::Arc >.

Definition at line 868 of file compose.h.

template<class CacheStore, class Filter, class StateTable>
uint64_t fst::ComposeFstMatcher< CacheStore, Filter, StateTable >::Properties ( uint64_t  inprops) const
inlineoverridevirtual

Implements fst::MatcherBase< CacheStore::Arc >.

Definition at line 826 of file compose.h.

template<class CacheStore, class Filter, class StateTable>
void fst::ComposeFstMatcher< CacheStore, Filter, StateTable >::SetState ( StateId  s)
inlinefinalvirtual

Implements fst::MatcherBase< CacheStore::Arc >.

Definition at line 828 of file compose.h.

template<class CacheStore, class Filter, class StateTable>
MatchType fst::ComposeFstMatcher< CacheStore, Filter, StateTable >::Type ( bool  test) const
inlineoverridevirtual

Implements fst::MatcherBase< CacheStore::Arc >.

Definition at line 804 of file compose.h.

template<class CacheStore, class Filter, class StateTable>
const Arc& fst::ComposeFstMatcher< CacheStore, Filter, StateTable >::Value ( ) const
inlinefinalvirtual

Implements fst::MatcherBase< CacheStore::Arc >.

Definition at line 856 of file compose.h.


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