FST
openfst-1.8.2.post1
OpenFst Library
|
#include <complement.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 | |
ComplementFstImpl (const Fst< Arc > &fst) | |
ComplementFstImpl (const ComplementFstImpl< Arc > &impl) | |
StateId | Start () const |
Weight | Final (StateId s) const |
size_t | NumArcs (StateId s) const |
size_t | NumInputEpsilons (StateId s) const |
size_t | NumOutputEpsilons (StateId s) const |
uint64_t | Properties () const override |
uint64_t | Properties (uint64_t mask) const override |
![]() | |
FstImpl () | |
FstImpl (const FstImpl< A > &impl) | |
FstImpl (FstImpl< A > &&impl) noexcept | |
virtual | ~FstImpl () |
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 |
Friends | |
class | StateIterator< ComplementFst< Arc > > |
class | ArcIterator< ComplementFst< Arc > > |
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 50 of file complement.h.
using fst::internal::ComplementFstImpl< A >::Arc = A |
Definition at line 52 of file complement.h.
using fst::internal::ComplementFstImpl< A >::Label = typename Arc::Label |
Definition at line 53 of file complement.h.
using fst::internal::ComplementFstImpl< A >::StateId = typename Arc::StateId |
Definition at line 54 of file complement.h.
using fst::internal::ComplementFstImpl< A >::Weight = typename Arc::Weight |
Definition at line 55 of file complement.h.
|
inlineexplicit |
Definition at line 65 of file complement.h.
|
inline |
Definition at line 73 of file complement.h.
|
inline |
Definition at line 88 of file complement.h.
|
inline |
Definition at line 96 of file complement.h.
|
inline |
Definition at line 100 of file complement.h.
|
inline |
Definition at line 104 of file complement.h.
|
inlineoverridevirtual |
Reimplemented from fst::internal::FstImpl< A >.
Definition at line 108 of file complement.h.
|
inlineoverridevirtual |
Reimplemented from fst::internal::FstImpl< A >.
Definition at line 111 of file complement.h.
|
inline |
Definition at line 81 of file complement.h.
|
friend |
Definition at line 63 of file complement.h.
|
friend |
Definition at line 62 of file complement.h.