template<class Weight, class IntType>
class fst::LatticeDeterminizer< Weight, IntType >::SubsetEqualStates
Definition at line 615 of file determinize-lattice-inl.h.
◆ operator()()
bool operator() |
( |
const std::vector< Element > * |
s1, |
|
|
const std::vector< Element > * |
s2 |
|
) |
| const |
|
inline |
Definition at line 617 of file determinize-lattice-inl.h.
618 size_t sz = s1->size();
620 if (sz != s2->size())
return false;
621 typename std::vector<Element>::const_iterator iter1 = s1->begin(),
622 iter1_end = s1->end(), iter2=s2->begin();
623 for (; iter1 < iter1_end; ++iter1, ++iter2) {
624 if (iter1->state != iter2->state)
return false;
The documentation for this class was generated from the following file: