FST
openfst-1.8.2.post1
OpenFst Library
|
#include <mutable-fst.h>
Public Types | |
using | Arc = typename Impl::Arc |
using | StateId = typename Arc::StateId |
using | Weight = typename Arc::Weight |
![]() | |
using | Arc = typename FST::Arc |
using | StateId = typename Arc::StateId |
using | Weight = typename Arc::Weight |
![]() | |
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 |
![]() | |
StateId | NumStates () 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 |
Protected Member Functions | |
ImplToMutableFst (std::shared_ptr< Impl > impl) | |
ImplToMutableFst (const ImplToMutableFst &fst, bool safe) | |
void | MutateCheck () |
![]() | |
ImplToExpandedFst (std::shared_ptr< Impl > impl) | |
ImplToExpandedFst (const ImplToExpandedFst &fst, bool safe) | |
![]() | |
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 Impl * | Read (std::istream &strm, const FstReadOptions &opts) |
static Impl * | Read (const std::string &source) |
Definition at line 290 of file mutable-fst.h.
using fst::ImplToMutableFst< Impl, FST >::Arc = typename Impl::Arc |
Definition at line 292 of file mutable-fst.h.
using fst::ImplToMutableFst< Impl, FST >::StateId = typename Arc::StateId |
Definition at line 293 of file mutable-fst.h.
using fst::ImplToMutableFst< Impl, FST >::Weight = typename Arc::Weight |
Definition at line 294 of file mutable-fst.h.
|
inlineexplicitprotected |
Definition at line 408 of file mutable-fst.h.
|
inlineprotected |
Definition at line 411 of file mutable-fst.h.
|
inlineoverride |
Definition at line 326 of file mutable-fst.h.
|
inlineoverride |
Definition at line 331 of file mutable-fst.h.
|
inlineoverride |
Definition at line 316 of file mutable-fst.h.
|
inlineoverride |
Definition at line 321 of file mutable-fst.h.
|
inlineoverride |
Definition at line 353 of file mutable-fst.h.
|
inlineoverride |
Definition at line 358 of file mutable-fst.h.
|
inlineoverride |
Definition at line 336 of file mutable-fst.h.
|
inlineoverride |
Definition at line 341 of file mutable-fst.h.
|
inlineoverride |
Definition at line 373 of file mutable-fst.h.
|
inlineoverride |
Definition at line 381 of file mutable-fst.h.
|
inlineoverride |
Definition at line 386 of file mutable-fst.h.
|
inlineprotected |
Definition at line 414 of file mutable-fst.h.
|
inlineoverride |
Definition at line 377 of file mutable-fst.h.
|
inlineoverride |
Definition at line 368 of file mutable-fst.h.
|
inlineoverride |
Definition at line 363 of file mutable-fst.h.
|
inlineoverride |
Definition at line 303 of file mutable-fst.h.
|
inlineoverride |
Definition at line 391 of file mutable-fst.h.
|
inlineoverride |
Definition at line 396 of file mutable-fst.h.
|
inlineoverride |
Definition at line 308 of file mutable-fst.h.
|
inlineoverride |
Definition at line 298 of file mutable-fst.h.