Lines Matching refs:arcs
19 // Function to remove of final states that have epsilon only input arcs.
70 vector<A> arcs;
75 arcs.clear();
80 // sum up all epsilon arcs
84 arcs.push_back(arc);
87 arcs.push_back(arc);
91 // If some arcs (epsilon arcs) were deleted, delete all
92 // arcs and add back only the non epsilon arcs
93 if (arcs.size() < fst->NumArcs(s)) {
96 for (size_t i = 0; i < arcs.size(); ++i) {
97 fst->AddArc(s, arcs[i]);