Searched refs:arcs_ (Results 1 – 3 of 3) sorted by relevance
/external/srec/tools/thirdparty/OpenFst/fst/lib/ |
D | const-fst.h | 44 : states_(0), arcs_(0), nstates_(0), narcs_(0), start_(kNoStateId) { in ConstFstImpl() 53 delete[] arcs_; in ~ConstFstImpl() 72 A *Arcs(StateId s) { return arcs_ + states_[s].pos; } in Arcs() 83 data->arcs = arcs_ + states_[s].pos; in InitArcIterator() 109 A *arcs_; // Arcs representation variable 138 arcs_ = new A[narcs_]; in ConstFstImpl() 155 arcs_[pos++] = arc; in ConstFstImpl() 171 impl->arcs_ = new A[impl->narcs_]; in Read() 187 strm.read(reinterpret_cast<char *>(impl->arcs_), b); in Read() 212 strm.write(reinterpret_cast<char *>(arcs_), narcs_ * sizeof(A)); in Write() [all …]
|
D | rmepsilon.h | 72 vector<Arc> &Arcs() { return arcs_; } in Arcs() 129 vector<Arc> arcs_; // Arcs of state being expanded variable 141 arcs_.clear(); in Expand() 168 (element, pair<StateId, ssize_t>(source, arcs_.size()))); in Expand() 169 arcs_.push_back(arc); in Expand() 172 Weight &w = arcs_[((*it).second).second].weight; in Expand() 176 ((*it).second).second = arcs_.size(); in Expand() 177 arcs_.push_back(arc); in Expand()
|
D | vector-fst.h | 698 : arcs_(fst.impl_->GetState(s)->arcs), i_(0) {} in ArcIterator() 700 bool Done() const { return i_ >= arcs_.size(); } in Done() 702 const A& Value() const { return arcs_[i_]; } in Value() 711 const vector<A>& arcs_;
|