Home
last modified time | relevance | path

Searched refs:ifst_ (Results 1 – 4 of 4) sorted by relevance

/external/openfst/src/include/fst/
Dvisit.h200 CopyVisitor(MutableFst<Arc> *ofst) : ifst_(0), ofst_(ofst) {} in CopyVisitor()
203 ifst_ = &ifst; in InitVisit()
205 ofst_->SetStart(ifst_->Start()); in InitVisit()
230 ofst_->SetFinal(s, ifst_->Final(s)); in FinishState()
236 const Fst<Arc> *ifst_;
Drandgen.h614 ifst_ = &ifst; in InitVisit()
627 if (ifst_->Final(arc.nextstate) == Weight::Zero()) { in TreeArc()
647 if (p != kNoStateId && ifst_->Final(s) == Weight::Zero()) in FinishState()
670 const Fst<IArc> *ifst_; variable
/external/openfst/src/include/fst/extensions/pdt/
Dshortest-path.h396 ifst_(ifst.Copy()), in PdtShortestPath()
418 VLOG(1) << "# of input states: " << CountStates(*ifst_); in ~PdtShortestPath()
421 delete ifst_; in ~PdtShortestPath() local
467 Fst<Arc> *ifst_; variable
489 ofst->SetInputSymbols(ifst_->InputSymbols()); in Init()
490 ofst->SetOutputSymbols(ifst_->OutputSymbols()); in Init()
492 if (ifst_->Start() == kNoStateId) in Init()
504 for (StateIterator<Fst<Arc> > siter(*ifst_); !siter.Done(); siter.Next()) { in Init()
506 for (ArcIterator<Fst<Arc> > aiter(*ifst_, s); in Init()
554 if (ifst_->Final(s.state) != Weight::Zero() && s.start == start_) { in ProcFinal()
[all …]
Dexpand.h354 : ifst_(ifst.Copy()),
360 Reverse(*ifst_, parens, &rfst_);
373 delete ifst_; in ~PrunedExpand() local
464 Fst<A> *ifst_; // Input PDT variable
527 for (StateIterator<Fst<Arc> > siter(*ifst_); !siter.Done(); siter.Next()) { in InitCloseParenMultimap()
529 for (ArcIterator<Fst<Arc> > aiter(*ifst_, s); in InitCloseParenMultimap()
656 if (cached_source_ != ifst_->Start()) { in PruneArc()
693 SetSourceState(s, ifst_->Start()); in ProcStart()
700 cached_source_ = ifst_->Start(); in ProcStart()
708 SetFinalDistance(s, DistanceToDest(ifst_->Start(), rfst_.Start() - 1)); in ProcStart()
[all …]