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 | Impl = internal::ComplementFstImpl< Arc > |
![]() | |
using | Arc = typename internal::ComplementFstImpl< A >::Arc |
using | StateId = typename Arc::StateId |
using | Weight = typename Arc::Weight |
![]() | |
using | Arc = typename internal::ComplementFstImpl< A >::Arc |
using | StateId = typename Arc::StateId |
using | Weight = typename Arc::Weight |
Public Member Functions | |
ComplementFst (const Fst< Arc > &fst) | |
ComplementFst (const ComplementFst &fst, bool safe=false) | |
ComplementFst * | Copy (bool safe=false) const override |
void | InitStateIterator (StateIteratorData< Arc > *data) const override |
void | InitArcIterator (StateId s, ArcIteratorData< Arc > *data) 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 |
const SymbolTable * | InputSymbols () const override |
const SymbolTable * | OutputSymbols () const override |
![]() | |
virtual | ~Fst () |
virtual bool | Write (std::ostream &strm, const FstWriteOptions &opts) const |
virtual bool | Write (const std::string &source) const |
virtual void | InitStateIterator (StateIteratorData< Arc > *data) const =0 |
virtual void | InitArcIterator (StateId s, ArcIteratorData< Arc > *data) const =0 |
virtual MatcherBase< Arc > * | InitMatcher (MatchType match_type) const |
Static Public Attributes | |
static constexpr Label | kRhoLabel = -2 |
Friends | |
class | StateIterator< ComplementFst< Arc > > |
class | ArcIterator< ComplementFst< Arc > > |
Additional Inherited Members | |
![]() | |
static Fst * | Read (std::istream &strm, const FstReadOptions &opts) |
static Fst * | Read (const std::string &source) |
![]() | |
ImplToFst (std::shared_ptr< internal::ComplementFstImpl< A > > impl) | |
ImplToFst (const ImplToFst &fst, bool safe) | |
ImplToFst ()=delete | |
ImplToFst (const ImplToFst &fst) | |
ImplToFst (ImplToFst &&fst) noexcept | |
ImplToFst & | operator= (const ImplToFst &fst) |
ImplToFst & | operator= (ImplToFst &&fst) noexcept |
const internal::ComplementFstImpl< A > * | GetImpl () const |
internal::ComplementFstImpl< A > * | GetMutableImpl () const |
std::shared_ptr< internal::ComplementFstImpl< A > > | GetSharedImpl () const |
bool | Unique () const |
void | SetImpl (std::shared_ptr< internal::ComplementFstImpl< A > > impl) |
![]() | |
bool | WriteFile (const std::string &source) const |
Definition at line 36 of file complement.h.
using fst::ComplementFst< A >::Arc = A |
Definition at line 133 of file complement.h.
using fst::ComplementFst< A >::Impl = internal::ComplementFstImpl<Arc> |
Definition at line 136 of file complement.h.
using fst::ComplementFst< A >::Label = typename Arc::Label |
Definition at line 134 of file complement.h.
using fst::ComplementFst< A >::StateId = typename Arc::StateId |
Definition at line 135 of file complement.h.
|
inlineexplicit |
Definition at line 141 of file complement.h.
|
inline |
Definition at line 153 of file complement.h.
|
inlineoverridevirtual |
Implements fst::Fst< typename internal::ComplementFstImpl< A >::Arc >.
Definition at line 157 of file complement.h.
|
inlineoverride |
Definition at line 280 of file complement.h.
|
inlineoverride |
Definition at line 274 of file complement.h.
|
friend |
Definition at line 139 of file complement.h.
|
friend |
Definition at line 138 of file complement.h.
|
static |
Definition at line 168 of file complement.h.