Home
last modified time | relevance | path

Searched refs:ofst_ (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()
204 ofst_->DeleteStates(); in InitVisit()
205 ofst_->SetStart(ifst_->Start()); in InitVisit()
209 while (ofst_->NumStates() <= s) in InitState()
210 ofst_->AddState(); in InitState()
215 ofst_->AddArc(s, arc); in WhiteArc()
220 ofst_->AddArc(s, arc); in GreyArc()
225 ofst_->AddArc(s, arc); in BlackArc()
230 ofst_->SetFinal(s, ifst_->Final(s)); in FinishState()
237 MutableFst<Arc> *ofst_; variable
Drandgen.h611 RandGenVisitor(MutableFst<OArc> *ofst) : ofst_(ofst) {} in RandGenVisitor()
616 ofst_->DeleteStates(); in InitVisit()
617 ofst_->SetInputSymbols(ifst.InputSymbols()); in InitVisit()
618 ofst_->SetOutputSymbols(ifst.OutputSymbols()); in InitVisit()
620 ofst_->SetProperties(kError, kError); in InitVisit()
637 ofst_->SetProperties(kError, kError); in BackArc()
655 if (ofst_->Start() == kNoStateId) { in OutputPath()
656 StateId start = ofst_->AddState(); in OutputPath()
657 ofst_->SetStart(start); in OutputPath()
660 StateId src = ofst_->Start(); in OutputPath()
[all …]
/external/openfst/src/include/fst/extensions/pdt/
Dexpand.h484 MutableFst<Arc> *ofst_; // Output fst variable
615 while (ofst_->NumStates() <= s) ofst_->AddState(); in AddStateAndEnqueue()
692 ofst_->SetStart(s); in ProcStart()
719 ofst_->SetFinal(s, final); in ProcFinal()
730 if(add_arc) ofst_->AddArc(s, arc); in ProcNonParen()
795 ofst_->AddArc( in ProcOpenParen()
819 ofst_->AddArc( in ProcCloseParen()
873 ofst_ = ofst; in Expand()
874 ofst_->DeleteStates(); in Expand()
875 ofst_->SetInputSymbols(ifst_->InputSymbols()); in Expand()
[all …]
Dshortest-path.h468 MutableFst<Arc> *ofst_; variable
487 ofst_ = ofst; in Init()
693 s_p = ofst_->AddState(); in GetPath()
695 ofst_->SetFinal(s_p, ifst_->Final(f_parent_.state)); in GetPath()
708 ofst_->AddArc(s_p, arc); in GetPath()
722 ofst_->SetStart(s_p); in GetPath()
723 ofst_->SetProperties( in GetPath()
724 ShortestPathProperties(ofst_->Properties(kFstProperties, false)), in GetPath()