FST  openfst-1.8.3
OpenFst Library
Public Types | Public Member Functions | List of all members
fst::SigmaMatcher< M > Class Template Reference

#include <matcher.h>

Inheritance diagram for fst::SigmaMatcher< M >:
Inheritance graph
[legend]
Collaboration diagram for fst::SigmaMatcher< M >:
Collaboration graph
[legend]

Public Types

using FST = typename M::FST
 
using Arc = typename FST::Arc
 
using Label = typename Arc::Label
 
using StateId = typename Arc::StateId
 
using Weight = typename Arc::Weight
 
- Public Types inherited from fst::MatcherBase< M::Arc >
using Arc = M::Arc
 
using Label = typename Arc::Label
 
using StateId = typename Arc::StateId
 
using Weight = typename Arc::Weight
 

Public Member Functions

 SigmaMatcher (const FST &fst, MatchType match_type, Label sigma_label=kNoLabel, MatcherRewriteMode rewrite_mode=MATCHER_REWRITE_AUTO, M *matcher=nullptr)
 
 SigmaMatcher (const FST *fst, MatchType match_type, Label sigma_label=kNoLabel, MatcherRewriteMode rewrite_mode=MATCHER_REWRITE_AUTO, M *matcher=nullptr)
 
 SigmaMatcher (const SigmaMatcher &matcher, bool safe=false)
 
SigmaMatcherCopy (bool safe=false) const override
 
MatchType Type (bool test) const override
 
void SetState (StateId s) final
 
bool Find (Label match_label) final
 
bool Done () const final
 
const ArcValue () const final
 
void Next () final
 
Weight Final (StateId s) const final
 
ssize_t Priority (StateId s) final
 
const FSTGetFst () const override
 
uint64_t Properties (uint64_t props) const override
 
uint32_t Flags () const override
 
Label SigmaLabel () const
 
- Public Member Functions inherited from fst::MatcherBase< M::Arc >
virtual ~MatcherBase ()=default
 

Detailed Description

template<class M>
class fst::SigmaMatcher< M >

Definition at line 1054 of file matcher.h.

Member Typedef Documentation

template<class M >
using fst::SigmaMatcher< M >::Arc = typename FST::Arc

Definition at line 1057 of file matcher.h.

template<class M >
using fst::SigmaMatcher< M >::FST = typename M::FST

Definition at line 1056 of file matcher.h.

template<class M >
using fst::SigmaMatcher< M >::Label = typename Arc::Label

Definition at line 1058 of file matcher.h.

template<class M >
using fst::SigmaMatcher< M >::StateId = typename Arc::StateId

Definition at line 1059 of file matcher.h.

template<class M >
using fst::SigmaMatcher< M >::Weight = typename Arc::Weight

Definition at line 1060 of file matcher.h.

Constructor & Destructor Documentation

template<class M >
fst::SigmaMatcher< M >::SigmaMatcher ( const FST fst,
MatchType  match_type,
Label  sigma_label = kNoLabel,
MatcherRewriteMode  rewrite_mode = MATCHER_REWRITE_AUTO,
M *  matcher = nullptr 
)
inline

Definition at line 1063 of file matcher.h.

template<class M >
fst::SigmaMatcher< M >::SigmaMatcher ( const FST fst,
MatchType  match_type,
Label  sigma_label = kNoLabel,
MatcherRewriteMode  rewrite_mode = MATCHER_REWRITE_AUTO,
M *  matcher = nullptr 
)
inline

Definition at line 1092 of file matcher.h.

template<class M >
fst::SigmaMatcher< M >::SigmaMatcher ( const SigmaMatcher< M > &  matcher,
bool  safe = false 
)
inline

Definition at line 1100 of file matcher.h.

Member Function Documentation

template<class M >
SigmaMatcher* fst::SigmaMatcher< M >::Copy ( bool  safe = false) const
inlineoverridevirtual

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

Definition at line 1108 of file matcher.h.

template<class M >
bool fst::SigmaMatcher< M >::Done ( ) const
inlinefinalvirtual

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

Definition at line 1141 of file matcher.h.

template<class M >
Weight fst::SigmaMatcher< M >::Final ( StateId  s) const
inlinefinalvirtual

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

Definition at line 1169 of file matcher.h.

template<class M >
bool fst::SigmaMatcher< M >::Find ( Label  match_label)
inlinefinalvirtual

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

Definition at line 1122 of file matcher.h.

template<class M >
uint32_t fst::SigmaMatcher< M >::Flags ( ) const
inlineoverridevirtual

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

Definition at line 1184 of file matcher.h.

template<class M >
const FST& fst::SigmaMatcher< M >::GetFst ( ) const
inlineoverridevirtual

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

Definition at line 1180 of file matcher.h.

template<class M >
void fst::SigmaMatcher< M >::Next ( )
inlinefinalvirtual

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

Definition at line 1160 of file matcher.h.

template<class M >
ssize_t fst::SigmaMatcher< M >::Priority ( StateId  s)
inlinefinalvirtual

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

Definition at line 1171 of file matcher.h.

template<class M >
uint64_t fst::SigmaMatcher< M >::Properties ( uint64_t  props) const
inlineoverridevirtual

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

Definition at line 1207 of file matcher.h.

template<class M >
void fst::SigmaMatcher< M >::SetState ( StateId  s)
inlinefinalvirtual

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

Definition at line 1114 of file matcher.h.

template<class M >
Label fst::SigmaMatcher< M >::SigmaLabel ( ) const
inline

Definition at line 1191 of file matcher.h.

template<class M >
MatchType fst::SigmaMatcher< M >::Type ( bool  test) const
inlineoverridevirtual

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

Definition at line 1112 of file matcher.h.

template<class M >
const Arc& fst::SigmaMatcher< M >::Value ( ) const
inlinefinalvirtual

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

Definition at line 1143 of file matcher.h.


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