FST
openfst-1.8.2
OpenFst Library
|
#include <fst-decl.h>
Public Types | |
using | Arc = A |
using | StateId = typename Arc::StateId |
using | State = S |
using | Impl = internal::VectorFstImpl< State > |
![]() | |
using | Arc = typename internal::VectorFstImpl< S >::Arc |
using | StateId = typename Arc::StateId |
using | Weight = typename Arc::Weight |
![]() | |
using | Arc = typename MutableFst< typename internal::VectorFstImpl< S >::Arc >::Arc |
using | StateId = typename Arc::StateId |
using | Weight = typename Arc::Weight |
![]() | |
using | Arc = typename internal::VectorFstImpl< S >::Arc |
using | StateId = typename Arc::StateId |
using | Weight = typename Arc::Weight |
![]() | |
using | Arc = typename internal::VectorFstImpl< S >::Arc |
using | StateId = typename Arc::StateId |
using | Weight = typename Arc::Weight |
![]() | |
using | Arc = typename internal::VectorFstImpl< S >::Arc |
using | StateId = typename Arc::StateId |
![]() | |
using | Arc = A |
using | StateId = typename Arc::StateId |
using | Weight = typename Arc::Weight |
Public Member Functions | |
VectorFst () | |
VectorFst (const Fst< Arc > &fst) | |
VectorFst (const VectorFst &fst, bool unused_safe=false) | |
VectorFst (VectorFst &&) noexcept | |
VectorFst * | Copy (bool safe=false) const override |
VectorFst & | operator= (const VectorFst &)=default |
VectorFst & | operator= (VectorFst &&) noexcept |
VectorFst & | operator= (const Fst< Arc > &fst) override |
template<class... T> | |
void | EmplaceArc (StateId state, T &&...ctor_args) |
bool | Write (std::ostream &strm, const FstWriteOptions &opts) const override |
bool | Write (const std::string &source) const override |
void | InitStateIterator (StateIteratorData< Arc > *data) const override |
void | InitArcIterator (StateId s, ArcIteratorData< Arc > *data) const override |
void | InitMutableArcIterator (StateId s, MutableArcIteratorData< Arc > *) override |
![]() | |
void | SetStart (StateId s) override |
void | SetFinal (StateId s, Weight weight=Weight::One()) override |
void | SetProperties (uint64_t props, uint64_t mask) override |
StateId | AddState () override |
void | AddStates (size_t n) override |
void | AddArc (StateId s, const Arc &arc) override |
void | AddArc (StateId s, Arc &&arc) override |
void | DeleteStates (const std::vector< StateId > &dstates) override |
void | DeleteStates () override |
void | DeleteArcs (StateId s, size_t n) override |
void | DeleteArcs (StateId s) override |
void | ReserveStates (size_t n) override |
void | ReserveArcs (StateId s, size_t n) override |
const SymbolTable * | InputSymbols () const override |
const SymbolTable * | OutputSymbols () const override |
SymbolTable * | MutableInputSymbols () override |
SymbolTable * | MutableOutputSymbols () override |
void | SetInputSymbols (const SymbolTable *isyms) override |
void | SetOutputSymbols (const SymbolTable *osyms) override |
![]() | |
StateId | NumStates () const override |
![]() | |
StateId | Start () const override |
Weight | Final (StateId s) const override |
size_t | NumArcs (StateId s) const override |
size_t | NumInputEpsilons (StateId s) const override |
size_t | NumOutputEpsilons (StateId s) const override |
uint64_t | Properties (uint64_t mask, bool test) const override |
const std::string & | Type () const override |
![]() | |
MutableFst & | operator= (const MutableFst &fst) |
![]() | |
virtual | ~Fst () |
virtual MatcherBase< Arc > * | InitMatcher (MatchType match_type) const |
Static Public Member Functions | |
static VectorFst * | Read (std::istream &strm, const FstReadOptions &opts) |
static VectorFst * | Read (const std::string &source) |
template<class FST > | |
static bool | WriteFst (const FST &fst, std::ostream &strm, const FstWriteOptions &opts) |
![]() | |
static MutableFst * | Read (std::istream &strm, const FstReadOptions &opts) |
static MutableFst * | Read (const std::string &source, bool convert=false, std::string_view convert_type="vector") |
![]() | |
static ExpandedFst * | Read (std::istream &strm, const FstReadOptions &opts) |
static ExpandedFst * | Read (const std::string &source) |
![]() | |
static Fst * | Read (std::istream &strm, const FstReadOptions &opts) |
static Fst * | Read (const std::string &source) |
Friends | |
class | StateIterator< VectorFst< Arc, State > > |
class | ArcIterator< VectorFst< Arc, State > > |
class | MutableArcIterator< VectorFst< A, S > > |
template<class F , class G > | |
void | Cast (const F &, G *) |
Definition at line 115 of file fst-decl.h.
using fst::VectorFst< A, S >::Arc = A |
Definition at line 522 of file vector-fst.h.
using fst::VectorFst< A, S >::Impl = internal::VectorFstImpl<State> |
Definition at line 526 of file vector-fst.h.
using fst::VectorFst< A, S >::State = S |
Definition at line 525 of file vector-fst.h.
using fst::VectorFst< A, S >::StateId = typename Arc::StateId |
Definition at line 523 of file vector-fst.h.
|
inline |
Definition at line 535 of file vector-fst.h.
|
inlineexplicit |
Definition at line 537 of file vector-fst.h.
|
inline |
Definition at line 540 of file vector-fst.h.
|
inlinedefaultnoexcept |
|
inlineoverridevirtual |
Implements fst::MutableFst< typename internal::VectorFstImpl< S >::Arc >.
Definition at line 546 of file vector-fst.h.
|
inline |
Definition at line 560 of file vector-fst.h.
|
inlineoverridevirtual |
Implements fst::Fst< A >.
Definition at line 594 of file vector-fst.h.
|
inlineoverridevirtual |
Implements fst::MutableFst< typename internal::VectorFstImpl< S >::Arc >.
Definition at line 811 of file vector-fst.h.
|
inlineoverridevirtual |
Implements fst::Fst< A >.
Definition at line 590 of file vector-fst.h.
|
default |
|
inlinedefaultnoexcept |
|
inlineoverridevirtual |
Implements fst::MutableFst< typename internal::VectorFstImpl< S >::Arc >.
Definition at line 554 of file vector-fst.h.
|
inlinestatic |
Definition at line 566 of file vector-fst.h.
|
inlinestatic |
Definition at line 573 of file vector-fst.h.
|
inlineoverridevirtual |
Reimplemented from fst::Fst< A >.
Definition at line 578 of file vector-fst.h.
|
inlineoverridevirtual |
Reimplemented from fst::Fst< A >.
Definition at line 582 of file vector-fst.h.
|
static |
Definition at line 625 of file vector-fst.h.
|
friend |
Definition at line 529 of file vector-fst.h.
|
friend |
|
friend |
Definition at line 530 of file vector-fst.h.
|
friend |
Definition at line 528 of file vector-fst.h.