/external/openfst/src/include/fst/ |
visit.h | 200 CopyVisitor(MutableFst<Arc> *ofst) : ifst_(0), ofst_(ofst) {} 204 ofst_->DeleteStates(); 205 ofst_->SetStart(ifst_->Start()); 209 while (ofst_->NumStates() <= s) 210 ofst_->AddState(); 215 ofst_->AddArc(s, arc); 220 ofst_->AddArc(s, arc); 225 ofst_->AddArc(s, arc); 230 ofst_->SetFinal(s, ifst_->Final(s)); 237 MutableFst<Arc> *ofst_; member in class:fst::CopyVisitor [all...] |
randgen.h | 611 RandGenVisitor(MutableFst<OArc> *ofst) : ofst_(ofst) {} 616 ofst_->DeleteStates(); 617 ofst_->SetInputSymbols(ifst.InputSymbols()); 618 ofst_->SetOutputSymbols(ifst.OutputSymbols()); 620 ofst_->SetProperties(kError, kError); 637 ofst_->SetProperties(kError, kError); 655 if (ofst_->Start() == kNoStateId) { 656 StateId start = ofst_->AddState(); 657 ofst_->SetStart(start); 660 StateId src = ofst_->Start() 671 MutableFst<OArc> *ofst_; member in class:fst::RandGenVisitor [all...] |
/external/openfst/src/include/fst/extensions/pdt/ |
expand.h | 332 // MutableFst 'ofst_' to improve readability of the code. 484 MutableFst<Arc> *ofst_; // Output fst member in class:fst::PrunedExpand 555 // Returns the flags for state 's' in 'ofst_'. 561 // Modifies the flags for state 's' in 'ofst_'. 570 // Returns the shortest distance from the initial state to 's' in 'ofst_'. 576 // Sets the shortest distance from the initial state to 's' in 'ofst_' to 'w'. 584 // Returns the shortest distance from 's' to the final states in 'ofst_'. 590 // Sets the shortest distance from 's' to the final states in 'ofst_' to 'w'. 597 // Returns the PDT "source" state of state 's' in 'ofst_'. 603 // Sets the PDT "source" state of state 's' in 'ofst_' to state 'p' in 'ifst_' [all...] |
shortest-path.h | 468 MutableFst<Arc> *ofst_; member in class:fst::PdtShortestPath 487 ofst_ = ofst; 693 s_p = ofst_->AddState(); 695 ofst_->SetFinal(s_p, ifst_->Final(f_parent_.state)); 708 ofst_->AddArc(s_p, arc); 722 ofst_->SetStart(s_p); 723 ofst_->SetProperties( 724 ShortestPathProperties(ofst_->Properties(kFstProperties, false)),
|