HomeSort by relevance Sort by last modified time
    Searched defs:narcs (Results 1 - 10 of 10) sorted by null

  /external/openfst/src/include/fst/
state-map.h 470 size_t narcs = 0; local
472 if (narcs > 0 && equal_(arcs_[i], arcs_[narcs - 1])) {
473 arcs_[narcs - 1].weight = Plus(arcs_[narcs - 1].weight,
476 arcs_[narcs++] = arcs_[i];
479 arcs_.resize(narcs);
const-fst.h 84 size_t NumArcs(StateId s) const { return states_[s].narcs; }
104 data->narcs = states_[s].narcs;
115 Unsigned narcs; // Number of arcs (per state) member in struct:fst::ConstFstImpl::State
184 states_[s].narcs = 0;
191 ++states_[s].narcs;
387 state.narcs = fst.NumArcs(siter.Value());
391 pos += state.narcs;
replace-util.h 110 // Replaces Fsts that have at most 'nstates' states, 'narcs' arcs and
113 void ReplaceBySize(size_t nstates, size_t narcs, size_t nnonterms);
139 size_t narcs; // # of arcs member in struct:fst::ReplaceUtil::ReplaceStats
151 narcs(0),
294 ++stats_[i].narcs;
335 stats_[i].narcs += (stats_[j].narcs + 1) * ni; // narcs - 1 + 2 (eps)
478 void ReplaceUtil<Arc>::ReplaceBySize(size_t nstates, size_t narcs,
492 stats_[j].narcs <= narcs &
    [all...]
accumulator.h 265 ssize_t narcs = 0; local
270 if (++narcs % arc_period_ == 0) {
randgen.h 454 size_t narcs = fst_->NumArcs(rstate.state_id); local
460 if (pos < narcs) { // regular transition
vector-fst.h 99 size_t narcs = 0; local
104 if (i != narcs)
105 arcs[narcs] = arcs[i];
106 ++narcs;
114 arcs.resize(narcs);
152 data->narcs = states_[s]->arcs.size();
153 data->arcs = data->narcs > 0 ? &states_[s]->arcs[0] : 0;
344 int64 narcs; local
345 ReadType(strm, &narcs);
351 impl->ReserveArcs(s, narcs);
554 int64 narcs = fst.NumArcs(s); local
    [all...]
fst.h 436 size_t narcs; // ... and arc count member in struct:fst::ArcIteratorData
474 return data_.base ? data_.base->Done() : i_ >= data_.narcs;
  /external/srec/tools/thirdparty/OpenFst/fst/lib/
const-fst.h 62 size_t NumArcs(StateId s) const { return states_[s].narcs; }
84 data->narcs = states_[s].narcs;
93 uint32 narcs; // Number of arcs (per state) member in struct:fst::ConstFstImpl::State
143 states_[s].narcs = 0;
150 ++states_[s].narcs;
fst.h 307 size_t narcs; // ... and arc count member in struct:fst::ArcIteratorData
339 return data_.base ? data_.base->Done() : i_ >= data_.narcs;
vector-fst.h 93 size_t narcs = 0; local
98 if (i != narcs)
99 arcs[narcs] = arcs[i];
100 ++narcs;
108 arcs.resize(narcs);
146 data->narcs = states_[s]->arcs.size();
147 data->arcs = data->narcs > 0 ? &states_[s]->arcs[0] : 0;
363 int64 narcs; local
364 ReadType(strm, &narcs);
369 impl->ReserveArcs(s, narcs);
432 int64 narcs = state->arcs.size(); local
    [all...]

Completed in 317 milliseconds