#include <fst/matcher.h>
Inherits MatcherBase< F::Arc >.

Public Types | |
| typedef F | FST |
| typedef F::Arc | Arc |
| typedef Arc::StateId | StateId |
| typedef Arc::Label | Label |
| typedef Arc::Weight | Weight |
Public Member Functions | |
| SortedMatcher (const F &fst, MatchType match_type, Label binary_label=1) | |
| SortedMatcher (const SortedMatcher< F > &matcher, bool safe=false) | |
| virtual | ~SortedMatcher () |
| virtual SortedMatcher< F > * | Copy (bool safe=false) const |
| virtual MatchType | Type (bool test) const |
| void | SetState (StateId s) |
| bool | Find (Label match_label) |
| bool | Done () const |
| const Arc & | Value () const |
| void | Next () |
| virtual const F & | GetFst () const |
| virtual uint64 | Properties (uint64 props) const |
A matcher that expects sorted labels on the side to be matched. If match_type == MATCH_INPUT, epsilons match the implicit self loop Arc(kNoLabel, 0, Weight::One(), current_state) as well as any actual epsilon transitions. If match_type == MATCH_OUTPUT, then Arc(0, kNoLabel, Weight::One(), current_state) is instead matched.
Definition at line 126 of file matcher.h.
| typedef F::Arc fst::SortedMatcher< F >::Arc |
Reimplemented from fst::MatcherBase< F::Arc >.
| typedef F fst::SortedMatcher< F >::FST |
| typedef Arc::Label fst::SortedMatcher< F >::Label |
Reimplemented from fst::MatcherBase< F::Arc >.
| typedef Arc::StateId fst::SortedMatcher< F >::StateId |
Reimplemented from fst::MatcherBase< F::Arc >.
| typedef Arc::Weight fst::SortedMatcher< F >::Weight |
Reimplemented from fst::MatcherBase< F::Arc >.
| fst::SortedMatcher< F >::SortedMatcher | ( | const F & | fst, | |
| MatchType | match_type, | |||
| Label | binary_label = 1 | |||
| ) | [inline] |
| fst::SortedMatcher< F >::SortedMatcher | ( | const SortedMatcher< F > & | matcher, | |
| bool | safe = false | |||
| ) | [inline] |
| virtual fst::SortedMatcher< F >::~SortedMatcher | ( | ) | [inline, virtual] |
| virtual SortedMatcher<F>* fst::SortedMatcher< F >::Copy | ( | bool | safe = false |
) | const [inline, virtual] |
Implements fst::MatcherBase< F::Arc >.
| bool fst::SortedMatcher< F >::Done | ( | ) | const [inline] |
Reimplemented from fst::MatcherBase< F::Arc >.
| bool fst::SortedMatcher< F >::Find | ( | Label | match_label | ) | [inline] |
| virtual const F& fst::SortedMatcher< F >::GetFst | ( | ) | const [inline, virtual] |
Implements fst::MatcherBase< F::Arc >.
| void fst::SortedMatcher< F >::Next | ( | ) | [inline] |
Reimplemented from fst::MatcherBase< F::Arc >.
| virtual uint64 fst::SortedMatcher< F >::Properties | ( | uint64 | props | ) | const [inline, virtual] |
Implements fst::MatcherBase< F::Arc >.
| void fst::SortedMatcher< F >::SetState | ( | StateId | s | ) | [inline] |
| virtual MatchType fst::SortedMatcher< F >::Type | ( | bool | test | ) | const [inline, virtual] |
Implements fst::MatcherBase< F::Arc >.
| const Arc& fst::SortedMatcher< F >::Value | ( | ) | const [inline] |
Reimplemented from fst::MatcherBase< F::Arc >.
1.7.1