Public Member Functions

fst::MatchComposeFilter< M1, M2 > Class Template Reference

#include <fst/compose-filter.h>

Collaboration diagram for fst::MatchComposeFilter< M1, M2 >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 MatchComposeFilter (const FST1 &fst1, const FST2 &fst2, Matcher1 *matcher1=nullptr, Matcher2 *matcher2=nullptr)
 MatchComposeFilter (const MatchComposeFilter< Matcher1, Matcher2 > &filter, bool safe=false)
FilterState Start () const
void SetState (StateId s1, StateId s2, const FilterState &fs)
FilterState FilterArc (Arc *arc1, Arc *arc2) const
void FilterFinal (Weight *, Weight *) const
Matcher1 * GetMatcher1 ()
Matcher2 * GetMatcher2 ()
uint64 Properties (uint64 props) const

Detailed Description

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

This filter requires epsilons on FST1 to be matched with epsilons on FST2 whenever possible. (Template arg default declared in fst-decl.h.)

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


Constructor & Destructor Documentation

template<class M1, class M2>
fst::MatchComposeFilter< M1, M2 >::MatchComposeFilter ( const FST1 &  fst1,
const FST2 &  fst2,
Matcher1 *  matcher1 = nullptr,
Matcher2 *  matcher2 = nullptr 
) [inline]

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

template<class M1, class M2>
fst::MatchComposeFilter< M1, M2 >::MatchComposeFilter ( const MatchComposeFilter< Matcher1, Matcher2 > &  filter,
bool  safe = false 
) [inline]

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


Member Function Documentation

template<class M1, class M2>
FilterState fst::MatchComposeFilter< M1, M2 >::FilterArc ( Arc *  arc1,
Arc *  arc2 
) const [inline]

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

template<class M1, class M2>
void fst::MatchComposeFilter< M1, M2 >::FilterFinal ( Weight *  ,
Weight *   
) const [inline]

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

template<class M1, class M2>
Matcher1* fst::MatchComposeFilter< M1, M2 >::GetMatcher1 (  )  [inline]

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

template<class M1, class M2>
Matcher2* fst::MatchComposeFilter< M1, M2 >::GetMatcher2 (  )  [inline]

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

template<class M1, class M2>
uint64 fst::MatchComposeFilter< M1, M2 >::Properties ( uint64  props  )  const [inline]

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

template<class M1, class M2>
void fst::MatchComposeFilter< M1, M2 >::SetState ( StateId  s1,
StateId  s2,
const FilterState &  fs 
) [inline]

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

template<class M1, class M2>
FilterState fst::MatchComposeFilter< M1, M2 >::Start (  )  const [inline]

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


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines