#include <fst/minimize.h>

Public Types | |
| typedef A::StateId | StateId |
| typedef A::Weight | Weight |
Public Member Functions | |
| StateComparator (const Fst< A > &fst, const Partition< typename A::StateId > &partition, uint32 flags=kCompareAll) | |
| bool | operator() (const StateId x, const StateId y) const |
| compare state x with state y based on sort criteria | |
Static Public Attributes | |
| static const uint32 | kCompareFinal = 0x00000001 |
| static const uint32 | kCompareOutDegree = 0x00000002 |
| static const uint32 | kCompareArcs = 0x00000004 |
| static const uint32 | kCompareAll = 0x00000007 |
comparator for creating partition based on sorting on
Definition at line 54 of file minimize.h.
| typedef A::StateId fst::StateComparator< A >::StateId |
Definition at line 56 of file minimize.h.
| typedef A::Weight fst::StateComparator< A >::Weight |
Definition at line 57 of file minimize.h.
| fst::StateComparator< A >::StateComparator | ( | const Fst< A > & | fst, | |
| const Partition< typename A::StateId > & | partition, | |||
| uint32 | flags = kCompareAll | |||
| ) | [inline] |
Definition at line 64 of file minimize.h.
| bool fst::StateComparator< A >::operator() | ( | const StateId | x, | |
| const StateId | y | |||
| ) | const [inline] |
compare state x with state y based on sort criteria
Definition at line 70 of file minimize.h.
const uint32 fst::StateComparator< A >::kCompareAll = 0x00000007 [static] |
Definition at line 62 of file minimize.h.
const uint32 fst::StateComparator< A >::kCompareArcs = 0x00000004 [static] |
Definition at line 61 of file minimize.h.
const uint32 fst::StateComparator< A >::kCompareFinal = 0x00000001 [static] |
Definition at line 59 of file minimize.h.
const uint32 fst::StateComparator< A >::kCompareOutDegree = 0x00000002 [static] |
Definition at line 60 of file minimize.h.
1.7.1