Public Types | Public Member Functions

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

This filter requires epsilons on FST2 to be read before epsilons on FST1. More...

#include <fst/compose-filter.h>

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

List of all members.

Public Types

typedef M1::FST FST1
typedef M2::FST FST2
typedef FST1::Arc Arc
typedef CharFilterState FilterState
typedef M1 Matcher1
typedef M2 Matcher2
typedef Arc::StateId StateId
typedef Arc::Label Label
typedef Arc::Weight Weight

Public Member Functions

 AltSequenceComposeFilter (const FST1 &fst1, const FST2 &fst2, M1 *matcher1=0, M2 *matcher2=0)
 AltSequenceComposeFilter (const AltSequenceComposeFilter< M1, M2 > &filter, bool safe=false)
 ~AltSequenceComposeFilter ()
FilterState Start () const
void SetState (StateId s1, StateId s2, const FilterState &f)
FilterState FilterArc (Arc *arc1, Arc *arc2) const
void FilterFinal (Weight *, Weight *) const
Matcher1GetMatcher1 ()
 Return resp matchers. Ownership stays with filter.
Matcher2GetMatcher2 ()
uint64 Properties (uint64 props) const

Detailed Description

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

This filter requires epsilons on FST2 to be read before epsilons on FST1.

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


Member Typedef Documentation

template<class M1, class M2>
typedef FST1::Arc fst::AltSequenceComposeFilter< M1, M2 >::Arc

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

template<class M1, class M2>
typedef CharFilterState fst::AltSequenceComposeFilter< M1, M2 >::FilterState

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

template<class M1, class M2>
typedef M1::FST fst::AltSequenceComposeFilter< M1, M2 >::FST1

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

template<class M1, class M2>
typedef M2::FST fst::AltSequenceComposeFilter< M1, M2 >::FST2

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

template<class M1, class M2>
typedef Arc::Label fst::AltSequenceComposeFilter< M1, M2 >::Label

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

template<class M1, class M2>
typedef M1 fst::AltSequenceComposeFilter< M1, M2 >::Matcher1

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

template<class M1, class M2>
typedef M2 fst::AltSequenceComposeFilter< M1, M2 >::Matcher2

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

template<class M1, class M2>
typedef Arc::StateId fst::AltSequenceComposeFilter< M1, M2 >::StateId

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

template<class M1, class M2>
typedef Arc::Weight fst::AltSequenceComposeFilter< M1, M2 >::Weight

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


Constructor & Destructor Documentation

template<class M1, class M2>
fst::AltSequenceComposeFilter< M1, M2 >::AltSequenceComposeFilter ( const FST1 fst1,
const FST2 fst2,
M1 *  matcher1 = 0,
M2 *  matcher2 = 0 
) [inline]

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

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

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

template<class M1, class M2>
fst::AltSequenceComposeFilter< M1, M2 >::~AltSequenceComposeFilter (  )  [inline]

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


Member Function Documentation

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

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

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

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

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

Return resp matchers. Ownership stays with filter.

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

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

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

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

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

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

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

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

Definition at line 327 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