FST
openfst-1.7.5
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 | Properties () const override |
uint64 | Properties (uint64 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 (const std::string &type) |
void | SetProperties (uint64 props) |
void | SetProperties (uint64 props, uint64 mask) |
void | SetProperties (uint64 props, uint64 mask) const |
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, const std::string &type, uint64 properties, FstHeader *hdr) |
static bool | UpdateFstHeader (const Fst< A > &fst, std::ostream &strm, const FstWriteOptions &opts, int version, const std::string &type, uint64 properties, FstHeader *hdr, size_t header_offset) |
![]() | |
uint64 | properties_ |
Definition at line 37 of file complement.h.
using fst::internal::ComplementFstImpl< A >::Arc = A |
Definition at line 39 of file complement.h.
using fst::internal::ComplementFstImpl< A >::Label = typename Arc::Label |
Definition at line 40 of file complement.h.
using fst::internal::ComplementFstImpl< A >::StateId = typename Arc::StateId |
Definition at line 41 of file complement.h.
using fst::internal::ComplementFstImpl< A >::Weight = typename Arc::Weight |
Definition at line 42 of file complement.h.
|
inlineexplicit |
Definition at line 52 of file complement.h.
|
inline |
Definition at line 60 of file complement.h.
|
inline |
Definition at line 75 of file complement.h.
|
inline |
Definition at line 83 of file complement.h.
|
inline |
Definition at line 87 of file complement.h.
|
inline |
Definition at line 91 of file complement.h.
|
inlineoverridevirtual |
Reimplemented from fst::internal::FstImpl< A >.
Definition at line 95 of file complement.h.
|
inlineoverridevirtual |
Reimplemented from fst::internal::FstImpl< A >.
Definition at line 98 of file complement.h.
|
inline |
Definition at line 68 of file complement.h.
|
friend |
Definition at line 50 of file complement.h.
|
friend |
Definition at line 49 of file complement.h.