FST  openfst-1.8.3
OpenFst Library
Public Types | Public Member Functions | List of all members
fst::NullComposeFilter< M1, M2 > Class Template Reference

#include <compose-filter.h>

Public Types

using Matcher1 = M1
 
using Matcher2 = M2
 
using FST1 = typename M1::FST
 
using FST2 = typename M2::FST
 
using FilterState = TrivialFilterState
 
using Arc = typename FST1::Arc
 
using Label = typename Arc::Label
 
using StateId = typename Arc::StateId
 
using Weight = typename Arc::Weight
 

Public Member Functions

 NullComposeFilter (const FST1 &fst1, const FST2 &fst2, Matcher1 *matcher1=nullptr, Matcher2 *matcher2=nullptr)
 
 NullComposeFilter (const NullComposeFilter &filter, bool safe=false)
 
FilterState Start () const
 
void SetState (StateId, StateId, const FilterState &)
 
FilterState FilterArc (Arc *arc1, Arc *arc2) const
 
void FilterFinal (Weight *, Weight *) const
 
Matcher1GetMatcher1 ()
 
Matcher2GetMatcher2 ()
 
uint64_t Properties (uint64_t props) const
 

Detailed Description

template<class M1, class M2>
class fst::NullComposeFilter< M1, M2 >

Definition at line 97 of file compose-filter.h.

Member Typedef Documentation

template<class M1 , class M2 >
using fst::NullComposeFilter< M1, M2 >::Arc = typename FST1::Arc

Definition at line 105 of file compose-filter.h.

template<class M1 , class M2 >
using fst::NullComposeFilter< M1, M2 >::FilterState = TrivialFilterState

Definition at line 103 of file compose-filter.h.

template<class M1 , class M2 >
using fst::NullComposeFilter< M1, M2 >::FST1 = typename M1::FST

Definition at line 101 of file compose-filter.h.

template<class M1 , class M2 >
using fst::NullComposeFilter< M1, M2 >::FST2 = typename M2::FST

Definition at line 102 of file compose-filter.h.

template<class M1 , class M2 >
using fst::NullComposeFilter< M1, M2 >::Label = typename Arc::Label

Definition at line 106 of file compose-filter.h.

template<class M1 , class M2 >
using fst::NullComposeFilter< M1, M2 >::Matcher1 = M1

Definition at line 99 of file compose-filter.h.

template<class M1 , class M2 >
using fst::NullComposeFilter< M1, M2 >::Matcher2 = M2

Definition at line 100 of file compose-filter.h.

template<class M1 , class M2 >
using fst::NullComposeFilter< M1, M2 >::StateId = typename Arc::StateId

Definition at line 107 of file compose-filter.h.

template<class M1 , class M2 >
using fst::NullComposeFilter< M1, M2 >::Weight = typename Arc::Weight

Definition at line 108 of file compose-filter.h.

Constructor & Destructor Documentation

template<class M1 , class M2 >
fst::NullComposeFilter< M1, M2 >::NullComposeFilter ( const FST1 fst1,
const FST2 fst2,
Matcher1 matcher1 = nullptr,
Matcher2 matcher2 = nullptr 
)
inline

Definition at line 110 of file compose-filter.h.

template<class M1 , class M2 >
fst::NullComposeFilter< M1, M2 >::NullComposeFilter ( const NullComposeFilter< M1, M2 > &  filter,
bool  safe = false 
)
inline

Definition at line 117 of file compose-filter.h.

Member Function Documentation

template<class M1 , class M2 >
FilterState fst::NullComposeFilter< M1, M2 >::FilterArc ( Arc arc1,
Arc arc2 
) const
inline

Definition at line 127 of file compose-filter.h.

template<class M1 , class M2 >
void fst::NullComposeFilter< M1, M2 >::FilterFinal ( Weight ,
Weight  
) const
inline

Definition at line 133 of file compose-filter.h.

template<class M1 , class M2 >
Matcher1* fst::NullComposeFilter< M1, M2 >::GetMatcher1 ( )
inline

Definition at line 135 of file compose-filter.h.

template<class M1 , class M2 >
Matcher2* fst::NullComposeFilter< M1, M2 >::GetMatcher2 ( )
inline

Definition at line 137 of file compose-filter.h.

template<class M1 , class M2 >
uint64_t fst::NullComposeFilter< M1, M2 >::Properties ( uint64_t  props) const
inline

Definition at line 139 of file compose-filter.h.

template<class M1 , class M2 >
void fst::NullComposeFilter< M1, M2 >::SetState ( StateId  ,
StateId  ,
const FilterState  
)
inline

Definition at line 125 of file compose-filter.h.

template<class M1 , class M2 >
FilterState fst::NullComposeFilter< M1, M2 >::Start ( ) const
inline

Definition at line 123 of file compose-filter.h.


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