Searched refs:compacts (Results 1 - 2 of 2) sorted by relevance

/external/openfst/src/include/fst/
H A Dstring.h116 vector<pair<Label, Weight> > compacts; local
117 compacts.reserve(labels.size());
119 compacts.push_back(make_pair(labels[i], Weight::One()));
120 compacts.back().second = weight;
121 fst->SetCompactElements(compacts.begin(), compacts.end());
H A Dcompact-fst.h323 // Count # of states, arcs and compacts.
991 Unsigned compacts = 0; local
994 strm.write(reinterpret_cast<const char *>(&compacts), sizeof(compacts));
996 ++compacts;
998 compacts += fst.NumArcs(s);
1000 strm.write(reinterpret_cast<const char *>(&compacts), sizeof(compacts));

Completed in 1437 milliseconds