#include <fst/lookahead-matcher.h>
Inherits fst::MatcherBase< A >.

Public Types | |
| typedef A | Arc |
| typedef A::StateId | StateId |
| typedef A::Label | Label |
| typedef A::Weight | Weight |
Public Member Functions | |
| LookAheadMatcherBase () | |
| virtual | ~LookAheadMatcherBase () |
| bool | LookAheadLabel (Label label) const |
| bool | LookAheadFst (const Fst< Arc > &fst, StateId s) |
| Weight | LookAheadWeight () const |
| bool | LookAheadPrefix (Arc *arc) const |
| virtual void | InitLookAheadFst (const Fst< Arc > &fst, bool copy=false)=0 |
Protected Member Functions | |
| void | SetLookAheadWeight (const Weight &w) |
| void | SetLookAheadPrefix (const Arc &arc) |
| void | ClearLookAheadPrefix () |
LookAhead Matcher interface, templated on the Arc definition; used for lookahead matcher specializations that are returned by the InitMatcher() Fst method.
Definition at line 132 of file lookahead-matcher.h.
| typedef A fst::LookAheadMatcherBase< A >::Arc |
Reimplemented from fst::MatcherBase< A >.
Reimplemented in fst::TrivialLookAheadMatcher< M >, fst::ArcLookAheadMatcher< M, F >, and fst::LabelLookAheadMatcher< M, F, S >.
Definition at line 134 of file lookahead-matcher.h.
| typedef A::Label fst::LookAheadMatcherBase< A >::Label |
Reimplemented from fst::MatcherBase< A >.
Reimplemented in fst::TrivialLookAheadMatcher< M >, fst::ArcLookAheadMatcher< M, F >, and fst::LabelLookAheadMatcher< M, F, S >.
Definition at line 136 of file lookahead-matcher.h.
| typedef A::StateId fst::LookAheadMatcherBase< A >::StateId |
Reimplemented from fst::MatcherBase< A >.
Reimplemented in fst::TrivialLookAheadMatcher< M >, fst::ArcLookAheadMatcher< M, F >, and fst::LabelLookAheadMatcher< M, F, S >.
Definition at line 135 of file lookahead-matcher.h.
| typedef A::Weight fst::LookAheadMatcherBase< A >::Weight |
Reimplemented from fst::MatcherBase< A >.
Reimplemented in fst::TrivialLookAheadMatcher< M >, fst::ArcLookAheadMatcher< M, F >, and fst::LabelLookAheadMatcher< M, F, S >.
Definition at line 137 of file lookahead-matcher.h.
| fst::LookAheadMatcherBase< A >::LookAheadMatcherBase | ( | ) | [inline] |
Definition at line 139 of file lookahead-matcher.h.
| virtual fst::LookAheadMatcherBase< A >::~LookAheadMatcherBase | ( | ) | [inline, virtual] |
Definition at line 143 of file lookahead-matcher.h.
| void fst::LookAheadMatcherBase< A >::ClearLookAheadPrefix | ( | ) | [inline, protected] |
Definition at line 169 of file lookahead-matcher.h.
| virtual void fst::LookAheadMatcherBase< A >::InitLookAheadFst | ( | const Fst< Arc > & | fst, | |
| bool | copy = false | |||
| ) | [pure virtual] |
| bool fst::LookAheadMatcherBase< A >::LookAheadFst | ( | const Fst< Arc > & | fst, | |
| StateId | s | |||
| ) | [inline] |
Definition at line 147 of file lookahead-matcher.h.
| bool fst::LookAheadMatcherBase< A >::LookAheadLabel | ( | Label | label | ) | const [inline] |
Definition at line 145 of file lookahead-matcher.h.
| bool fst::LookAheadMatcherBase< A >::LookAheadPrefix | ( | Arc * | arc | ) | const [inline] |
Definition at line 153 of file lookahead-matcher.h.
| Weight fst::LookAheadMatcherBase< A >::LookAheadWeight | ( | ) | const [inline] |
Reimplemented in fst::TrivialLookAheadMatcher< M >.
Definition at line 151 of file lookahead-matcher.h.
| void fst::LookAheadMatcherBase< A >::SetLookAheadPrefix | ( | const Arc & | arc | ) | [inline, protected] |
Definition at line 167 of file lookahead-matcher.h.
| void fst::LookAheadMatcherBase< A >::SetLookAheadWeight | ( | const Weight & | w | ) | [inline, protected] |
Definition at line 165 of file lookahead-matcher.h.
1.7.1