/external/openfst/src/include/fst/ |
state-map.h | 461 arcs_.clear(); 462 arcs_.reserve(fst_.NumArcs(s)); 464 arcs_.push_back(aiter.Value()); 469 sort(arcs_.begin(), arcs_.end(), comp_); 471 for (size_t i = 0; i < arcs_.size(); ++i) { 472 if (narcs > 0 && equal_(arcs_[i], arcs_[narcs - 1])) { 473 arcs_[narcs - 1].weight = Plus(arcs_[narcs - 1].weight 518 vector<A> arcs_; member in class:fst::ArcSumMapper 594 vector<A> arcs_; member in class:fst::ArcUniqueMapper [all...] |
arcsort.h | 58 arcs_.clear(); 59 arcs_.reserve(fst_.NumArcs(s)); 61 arcs_.push_back(aiter.Value()); 62 sort(arcs_.begin(), arcs_.end(), comp_); 65 bool Done() const { return i_ >= arcs_.size(); } 66 const Arc &Value() const { return arcs_[i_]; } 76 vector<Arc> arcs_; member in class:fst::ArcSortMapper
|
const-fst.h | 59 : states_region_(0), arcs_region_(0), states_(0), arcs_(0), nstates_(0), 92 A *Arcs(StateId s) { return arcs_ + states_[s].pos; } 103 data->arcs = arcs_ + states_[s].pos; 111 // States implemented by array *states_ below, arcs by (single) *arcs_. 114 Unsigned pos; // Start of state's arcs in *arcs_ 134 A *arcs_; // Arcs representation member in class:fst::ConstFstImpl 177 arcs_region_ = MappedFile::Allocate(narcs_ * sizeof(*arcs_)); 179 arcs_ = reinterpret_cast<A*>(arcs_region_->mutable_data()); 196 arcs_[pos++] = arc; 248 impl->arcs_ = reinterpret_cast<A*>(impl->arcs_region_->mutable_data()) 485 const A *arcs_; member in class:fst::ArcIterator [all...] |
rmepsilon.h | 87 vector<Arc> &Arcs() { return arcs_; } 139 // to the position 'p.second' in the 'arcs_' vector if 'p.first' is 146 vector<Arc> arcs_; // Arcs of state being expanded member in class:fst::RmEpsilonState 162 arcs_.clear(); 194 (element, pair<StateId, size_t>(expand_id_, arcs_.size()))); 195 arcs_.push_back(arc); 198 Weight &w = arcs_[((*it).second).second].weight; 202 ((*it).second).second = arcs_.size(); 203 arcs_.push_back(arc);
|
replace.h | 1224 mutable const A* arcs_; \/\/ Array of arcs member in class:fst::ArcIterator [all...] |
vector-fst.h | 592 : arcs_(fst.GetImpl()->GetState(s)->arcs), i_(0) {} 594 bool Done() const { return i_ >= arcs_.size(); } 596 const A& Value() const { return arcs_[i_]; } 613 const vector<A>& arcs_; member in class:fst::ArcIterator
|
/external/srec/tools/thirdparty/OpenFst/fst/lib/ |
const-fst.h | 44 : states_(0), arcs_(0), nstates_(0), narcs_(0), start_(kNoStateId) { 53 delete[] arcs_; 72 A *Arcs(StateId s) { return arcs_ + states_[s].pos; } 83 data->arcs = arcs_ + states_[s].pos; 89 // States implemented by array *states_ below, arcs by (single) *arcs_. 92 uint32 pos; // Start of state's arcs in *arcs_ 109 A *arcs_; // Arcs representation member in class:fst::ConstFstImpl 138 arcs_ = new A[narcs_]; 155 arcs_[pos++] = arc; 171 impl->arcs_ = new A[impl->narcs_] 382 const A *arcs_; member in class:fst::ArcIterator [all...] |
rmepsilon.h | 72 vector<Arc> &Arcs() { return arcs_; } 122 // to the position 'p.second' in the 'arcs_' vector if 'p.first' is 129 vector<Arc> arcs_; // Arcs of state being expanded member in class:fst::RmEpsilonState 141 arcs_.clear(); 168 (element, pair<StateId, ssize_t>(source, arcs_.size()))); 169 arcs_.push_back(arc); 172 Weight &w = arcs_[((*it).second).second].weight; 176 ((*it).second).second = arcs_.size(); 177 arcs_.push_back(arc);
|
vector-fst.h | 698 : arcs_(fst.impl_->GetState(s)->arcs), i_(0) {} 700 bool Done() const { return i_ >= arcs_.size(); } 702 const A& Value() const { return arcs_[i_]; } 711 const vector<A>& arcs_; member in class:fst::ArcIterator
|