FST
openfst-1.8.4
OpenFst Library
|
#include <rational.h>
Public Types | |
using | Arc = A |
using | Label = typename Arc::Label |
using | StateId = typename Arc::StateId |
using | Weight = typename Arc::Weight |
![]() | |
using | StateId = typename A::StateId |
using | Weight = typename A::Weight |
Public Member Functions | |
RationalFstImpl (const RationalFstOptions &opts) | |
RationalFstImpl (const RationalFstImpl< Arc > &impl) | |
~RationalFstImpl () override | |
StateId | Start () |
Weight | Final (StateId s) |
size_t | NumArcs (StateId s) |
size_t | NumInputEpsilons (StateId s) |
size_t | NumOutputEpsilons (StateId s) |
uint64_t | Properties () const override |
uint64_t | Properties (uint64_t mask) const override |
void | InitUnion (const Fst< Arc > &fst1, const Fst< Arc > &fst2) |
void | InitConcat (const Fst< Arc > &fst1, const Fst< Arc > &fst2) |
void | InitClosure (const Fst< Arc > &fst, ClosureType closure_type) |
void | AddUnion (const Fst< Arc > &fst) |
void | AddConcat (const Fst< Arc > &fst, bool append) |
void | AddClosure (ClosureType closure_type) |
ReplaceFst< Arc > * | Replace () const |
![]() | |
FstImpl ()=default | |
FstImpl (const FstImpl< A > &impl) | |
FstImpl (FstImpl< A > &&impl) noexcept | |
virtual | ~FstImpl ()=default |
FstImpl & | operator= (const FstImpl &impl) |
FstImpl & | operator= (FstImpl &&impl) noexcept |
const std::string & | Type () const |
void | SetType (std::string_view type) |
void | SetProperties (uint64_t props) |
void | SetProperties (uint64_t props, uint64_t mask) |
void | SetProperties (uint64_t props, uint64_t mask) const |
void | UpdateProperties (uint64_t props, uint64_t mask) |
const SymbolTable * | InputSymbols () const |
SymbolTable * | InputSymbols () |
const SymbolTable * | OutputSymbols () const |
SymbolTable * | OutputSymbols () |
void | SetInputSymbols (const SymbolTable *isyms) |
void | SetOutputSymbols (const SymbolTable *osyms) |
bool | ReadHeader (std::istream &strm, const FstReadOptions &opts, int min_version, FstHeader *hdr) |
void | WriteHeader (std::ostream &strm, const FstWriteOptions &opts, int version, FstHeader *hdr) const |
Additional Inherited Members | |
![]() | |
static void | WriteFstHeader (const Fst< A > &fst, std::ostream &strm, const FstWriteOptions &opts, int version, std::string_view type, uint64_t properties, FstHeader *hdr) |
static bool | UpdateFstHeader (const Fst< A > &fst, std::ostream &strm, const FstWriteOptions &opts, int version, std::string_view type, uint64_t properties, FstHeader *hdr, size_t header_offset) |
![]() | |
std::atomic< uint64_t > | properties_ |
Definition at line 69 of file rational.h.
using fst::internal::RationalFstImpl< A >::Arc = A |
Definition at line 71 of file rational.h.
using fst::internal::RationalFstImpl< A >::Label = typename Arc::Label |
Definition at line 72 of file rational.h.
using fst::internal::RationalFstImpl< A >::StateId = typename Arc::StateId |
Definition at line 73 of file rational.h.
using fst::internal::RationalFstImpl< A >::Weight = typename Arc::Weight |
Definition at line 74 of file rational.h.
|
inlineexplicit |
Definition at line 82 of file rational.h.
|
inline |
Definition at line 88 of file rational.h.
|
inlineoverride |
Definition at line 101 of file rational.h.
|
inline |
Definition at line 236 of file rational.h.
|
inline |
Definition at line 215 of file rational.h.
|
inline |
Definition at line 198 of file rational.h.
|
inline |
Definition at line 107 of file rational.h.
|
inline |
Definition at line 171 of file rational.h.
|
inline |
Definition at line 149 of file rational.h.
|
inline |
Definition at line 128 of file rational.h.
|
inline |
Definition at line 109 of file rational.h.
|
inline |
Definition at line 111 of file rational.h.
|
inline |
Definition at line 113 of file rational.h.
|
inlineoverridevirtual |
Reimplemented from fst::internal::FstImpl< A >.
Definition at line 117 of file rational.h.
|
inlineoverridevirtual |
Reimplemented from fst::internal::FstImpl< A >.
Definition at line 120 of file rational.h.
|
inline |
Definition at line 246 of file rational.h.
|
inline |
Definition at line 105 of file rational.h.