Home | History | Annotate | Download | only in lib

Lines Matching defs:Util

141   typedef EquivalenceUtil<Arc> Util;
142 typedef typename Util::MappedId MappedId;
143 enum { FST1 = 1, FST2 = 2 }; // Required by Util::MapState(...)
145 MappedId s1 = Util::MapState(fst1.Start(), FST1);
146 MappedId s2 = Util::MapState(fst2.Start(), FST2);
149 UnionFind<MappedId> eq_classes(1000, Util::kInvalidId);
156 if (Util::IsFinal(fst1, s1) != Util::IsFinal(fst2, s2)) {
181 MappedId rep1 = Util::FindSet(&eq_classes, s1);
182 MappedId rep2 = Util::FindSet(&eq_classes, s2);
189 if (Util::kDeadState != s1) {
190 ArcIterator<Fst<Arc> > arc_iter(fst1, Util::UnMapState(s1));
196 arc_pairs[arc.ilabel].first = Util::MapState(arc.nextstate, FST1);
201 if (Util::kDeadState != s2) {
202 ArcIterator<Fst<Arc> > arc_iter(fst2, Util::UnMapState(s2));
208 arc_pairs[arc.ilabel].second = Util::MapState(arc.nextstate, FST2);
219 if (Util::IsFinal(fst1, p.first) != Util::IsFinal(fst2, p.second)) {