FST  openfst-1.6.9
OpenFst Library
Public Types | Public Member Functions | List of all members
fst::SortedMatcher< F > Class Template Reference

#include <matcher.h>

Inheritance diagram for fst::SortedMatcher< F >:
Inheritance graph
[legend]
Collaboration diagram for fst::SortedMatcher< F >:
Collaboration graph
[legend]

Public Types

using FST = F
 
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< F::Arc >
using Arc = F::Arc
 
using Label = typename Arc::Label
 
using StateId = typename Arc::StateId
 
using Weight = typename Arc::Weight
 

Public Member Functions

 SortedMatcher (const FST &fst, MatchType match_type, Label binary_label=1)
 
 SortedMatcher (const FST *fst, MatchType match_type, Label binary_label=1)
 
 SortedMatcher (const SortedMatcher< FST > &matcher, bool safe=false)
 
 ~SortedMatcher () override
 
SortedMatcher< FST > * Copy (bool safe=false) const override
 
MatchType Type (bool test) const override
 
void SetState (StateId s) final
 
bool Find (Label match_label) final
 
void LowerBound (Label label)
 
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 Properties (uint64 inprops) const override
 
size_t Position () const
 
- Public Member Functions inherited from fst::MatcherBase< F::Arc >
virtual ~MatcherBase ()
 
virtual uint32 Flags () const
 

Detailed Description

template<class F>
class fst::SortedMatcher< F >

Definition at line 151 of file matcher.h.

Member Typedef Documentation

template<class F>
using fst::SortedMatcher< F >::Arc = typename FST::Arc

Definition at line 154 of file matcher.h.

template<class F>
using fst::SortedMatcher< F >::FST = F

Definition at line 153 of file matcher.h.

template<class F>
using fst::SortedMatcher< F >::Label = typename Arc::Label

Definition at line 155 of file matcher.h.

template<class F>
using fst::SortedMatcher< F >::StateId = typename Arc::StateId

Definition at line 156 of file matcher.h.

template<class F>
using fst::SortedMatcher< F >::Weight = typename Arc::Weight

Definition at line 157 of file matcher.h.

Constructor & Destructor Documentation

template<class F>
fst::SortedMatcher< F >::SortedMatcher ( const FST fst,
MatchType  match_type,
Label  binary_label = 1 
)
inline

Definition at line 165 of file matcher.h.

template<class F>
fst::SortedMatcher< F >::SortedMatcher ( const FST fst,
MatchType  match_type,
Label  binary_label = 1 
)
inline

Definition at line 173 of file matcher.h.

template<class F>
fst::SortedMatcher< F >::SortedMatcher ( const SortedMatcher< FST > &  matcher,
bool  safe = false 
)
inline

Definition at line 199 of file matcher.h.

template<class F>
fst::SortedMatcher< F >::~SortedMatcher ( )
inlineoverride

Definition at line 212 of file matcher.h.

Member Function Documentation

template<class F>
SortedMatcher<FST>* fst::SortedMatcher< F >::Copy ( bool  safe = false) const
inlineoverridevirtual

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

Definition at line 214 of file matcher.h.

template<class F>
bool fst::SortedMatcher< F >::Done ( ) const
inlinefinalvirtual

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

Definition at line 279 of file matcher.h.

template<class F>
Weight fst::SortedMatcher< F >::Final ( StateId  s) const
inlinefinalvirtual

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

Definition at line 303 of file matcher.h.

template<class F>
bool fst::SortedMatcher< F >::Find ( Label  match_label)
inlinefinalvirtual

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

Definition at line 248 of file matcher.h.

template<class F>
const FST& fst::SortedMatcher< F >::GetFst ( ) const
inlineoverridevirtual

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

Definition at line 311 of file matcher.h.

template<class F>
void fst::SortedMatcher< F >::LowerBound ( Label  label)
inline

Definition at line 266 of file matcher.h.

template<class F>
void fst::SortedMatcher< F >::Next ( )
inlinefinalvirtual

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

Definition at line 295 of file matcher.h.

template<class F>
size_t fst::SortedMatcher< F >::Position ( ) const
inline

Definition at line 317 of file matcher.h.

template<class F>
ssize_t fst::SortedMatcher< F >::Priority ( StateId  s)
inlinefinalvirtual

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

Definition at line 307 of file matcher.h.

template<class F>
uint64 fst::SortedMatcher< F >::Properties ( uint64  inprops) const
inlineoverridevirtual

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

Definition at line 313 of file matcher.h.

template<class F>
void fst::SortedMatcher< F >::SetState ( StateId  s)
inlinefinalvirtual

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

Definition at line 234 of file matcher.h.

template<class F>
MatchType fst::SortedMatcher< F >::Type ( bool  test) const
inlineoverridevirtual

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

Definition at line 218 of file matcher.h.

template<class F>
const Arc& fst::SortedMatcher< F >::Value ( ) const
inlinefinalvirtual

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

Definition at line 289 of file matcher.h.


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