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

#include <matcher.h>

Inheritance diagram for fst::RhoMatcher< M >:
Inheritance graph
[legend]
Collaboration diagram for fst::RhoMatcher< 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

 RhoMatcher (const FST &fst, MatchType match_type, Label rho_label=kNoLabel, MatcherRewriteMode rewrite_mode=MATCHER_REWRITE_AUTO, M *matcher=nullptr)
 
 RhoMatcher (const FST *fst, MatchType match_type, Label rho_label=kNoLabel, MatcherRewriteMode rewrite_mode=MATCHER_REWRITE_AUTO, M *matcher=nullptr)
 
 RhoMatcher (const RhoMatcher &matcher, bool safe=false)
 
RhoMatcherCopy (bool safe=false) const override
 
MatchType Type (bool test) const override
 
void SetState (StateId s) final
 
bool Find (Label 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 RhoLabel () const
 
- Public Member Functions inherited from fst::MatcherBase< M::Arc >
virtual ~MatcherBase ()=default
 

Detailed Description

template<class M>
class fst::RhoMatcher< M >

Definition at line 865 of file matcher.h.

Member Typedef Documentation

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

Definition at line 868 of file matcher.h.

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

Definition at line 867 of file matcher.h.

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

Definition at line 869 of file matcher.h.

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

Definition at line 870 of file matcher.h.

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

Definition at line 871 of file matcher.h.

Constructor & Destructor Documentation

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

Definition at line 874 of file matcher.h.

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

Definition at line 903 of file matcher.h.

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

Definition at line 910 of file matcher.h.

Member Function Documentation

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

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

Definition at line 919 of file matcher.h.

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

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

Definition at line 950 of file matcher.h.

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

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

Definition at line 971 of file matcher.h.

template<class M >
bool fst::RhoMatcher< M >::Find ( Label  label)
inlinefinalvirtual

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

Definition at line 932 of file matcher.h.

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

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

Definition at line 988 of file matcher.h.

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

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

Definition at line 984 of file matcher.h.

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

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

Definition at line 969 of file matcher.h.

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

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

Definition at line 973 of file matcher.h.

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

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

Definition at line 1010 of file matcher.h.

template<class M >
Label fst::RhoMatcher< M >::RhoLabel ( ) const
inline

Definition at line 995 of file matcher.h.

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

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

Definition at line 925 of file matcher.h.

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

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

Definition at line 923 of file matcher.h.

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

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

Definition at line 952 of file matcher.h.


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