FST
openfst-1.8.3
OpenFst Library
|
#include <mutable-fst.h>
Public Types | |
using | Arc = typename Impl::Arc |
using | StateId = typename Arc::StateId |
using | Weight = typename Arc::Weight |
Public Types inherited from fst::ImplToExpandedFst< Impl, FST > | |
using | Arc = typename FST::Arc |
using | StateId = typename Arc::StateId |
using | Weight = typename Arc::Weight |
Public Types inherited from fst::ImplToFst< Impl, FST > | |
using | Arc = typename Impl::Arc |
using | StateId = typename Arc::StateId |
using | Weight = typename Arc::Weight |
Public Member Functions | |
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 |
Public Member Functions inherited from fst::ImplToExpandedFst< Impl, FST > | |
StateId | NumStates () const override |
Public Member Functions inherited from fst::ImplToFst< Impl, FST > | |
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 |
Protected Member Functions | |
ImplToMutableFst (std::shared_ptr< Impl > impl) | |
ImplToMutableFst (const ImplToMutableFst &fst, bool safe) | |
void | MutateCheck () |
Protected Member Functions inherited from fst::ImplToExpandedFst< Impl, FST > | |
ImplToExpandedFst (std::shared_ptr< Impl > impl) | |
ImplToExpandedFst (const ImplToExpandedFst &fst, bool safe) | |
Protected Member Functions inherited from fst::ImplToFst< Impl, FST > | |
ImplToFst (std::shared_ptr< Impl > 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 Impl * | GetImpl () const |
Impl * | GetMutableImpl () const |
std::shared_ptr< Impl > | GetSharedImpl () const |
bool | Unique () const |
void | SetImpl (std::shared_ptr< Impl > impl) |
Additional Inherited Members | |
Static Protected Member Functions inherited from fst::ImplToExpandedFst< Impl, FST > | |
static Impl * | Read (std::istream &strm, const FstReadOptions &opts) |
static Impl * | Read (std::string_view source) |
Definition at line 295 of file mutable-fst.h.
using fst::ImplToMutableFst< Impl, FST >::Arc = typename Impl::Arc |
Definition at line 297 of file mutable-fst.h.
using fst::ImplToMutableFst< Impl, FST >::StateId = typename Arc::StateId |
Definition at line 298 of file mutable-fst.h.
using fst::ImplToMutableFst< Impl, FST >::Weight = typename Arc::Weight |
Definition at line 299 of file mutable-fst.h.
|
inlineexplicitprotected |
Definition at line 413 of file mutable-fst.h.
|
inlineprotected |
Definition at line 416 of file mutable-fst.h.
|
inlineoverride |
Definition at line 331 of file mutable-fst.h.
|
inlineoverride |
Definition at line 336 of file mutable-fst.h.
|
inlineoverride |
Definition at line 321 of file mutable-fst.h.
|
inlineoverride |
Definition at line 326 of file mutable-fst.h.
|
inlineoverride |
Definition at line 358 of file mutable-fst.h.
|
inlineoverride |
Definition at line 363 of file mutable-fst.h.
|
inlineoverride |
Definition at line 341 of file mutable-fst.h.
|
inlineoverride |
Definition at line 346 of file mutable-fst.h.
|
inlineoverride |
Definition at line 378 of file mutable-fst.h.
|
inlineoverride |
Definition at line 386 of file mutable-fst.h.
|
inlineoverride |
Definition at line 391 of file mutable-fst.h.
|
inlineprotected |
Definition at line 419 of file mutable-fst.h.
|
inlineoverride |
Definition at line 382 of file mutable-fst.h.
|
inlineoverride |
Definition at line 373 of file mutable-fst.h.
|
inlineoverride |
Definition at line 368 of file mutable-fst.h.
|
inlineoverride |
Definition at line 308 of file mutable-fst.h.
|
inlineoverride |
Definition at line 396 of file mutable-fst.h.
|
inlineoverride |
Definition at line 401 of file mutable-fst.h.
|
inlineoverride |
Definition at line 313 of file mutable-fst.h.
|
inlineoverride |
Definition at line 303 of file mutable-fst.h.