FST
openfst-1.8.4
OpenFst Library
|
#include <vector-fst.h>
Public Types | |
using | State = S |
using | Arc = typename State::Arc |
using | StateId = typename Arc::StateId |
using | Weight = typename Arc::Weight |
![]() | |
using | StateId = typename S::Arc::StateId |
using | Weight = typename S::Arc::Weight |
Public Member Functions | |
VectorFstBaseImpl ()=default | |
~VectorFstBaseImpl () override | |
VectorFstBaseImpl (const VectorFstBaseImpl< S > &)=delete | |
VectorFstBaseImpl & | operator= (const VectorFstBaseImpl &)=delete |
VectorFstBaseImpl (VectorFstBaseImpl &&impl) noexcept | |
VectorFstBaseImpl & | operator= (VectorFstBaseImpl &&impl) noexcept |
StateId | Start () const |
Weight | Final (StateId state) const |
StateId | NumStates () const |
size_t | NumArcs (StateId state) const |
size_t | NumInputEpsilons (StateId state) const |
size_t | NumOutputEpsilons (StateId state) const |
void | SetStart (StateId state) |
void | SetFinal (StateId state, Weight weight) |
StateId | AddState (State *state) |
StateId | AddState () |
void | AddStates (size_t n) |
void | AddArc (StateId state, const Arc &arc) |
void | AddArc (StateId state, Arc &&arc) |
template<class... T> | |
void | EmplaceArc (StateId state, T &&...ctor_args) |
void | DeleteStates (const std::vector< StateId > &dstates) |
void | DeleteStates () |
void | DeleteArcs (StateId state, size_t n) |
void | DeleteArcs (StateId state) |
State * | GetState (StateId state) |
const State * | GetState (StateId state) const |
void | SetState (StateId state, State *vstate) |
void | ReserveStates (size_t n) |
void | ReserveArcs (StateId state, size_t n) |
void | InitStateIterator (StateIteratorData< Arc > *data) const |
void | InitArcIterator (StateId state, ArcIteratorData< Arc > *data) const |
![]() | |
FstImpl ()=default | |
FstImpl (const FstImpl< S::Arc > &impl) | |
FstImpl (FstImpl< S::Arc > &&impl) noexcept | |
virtual | ~FstImpl ()=default |
FstImpl & | operator= (const FstImpl &impl) |
FstImpl & | operator= (FstImpl &&impl) noexcept |
const std::string & | Type () const |
void | SetType (std::string_view type) |
virtual uint64_t | Properties () const |
virtual uint64_t | Properties (uint64_t mask) const |
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 |
Additional Inherited Members | |
![]() | |
static void | WriteFstHeader (const Fst< S::Arc > &fst, std::ostream &strm, const FstWriteOptions &opts, int version, std::string_view type, uint64_t properties, FstHeader *hdr) |
static bool | UpdateFstHeader (const Fst< S::Arc > &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 174 of file vector-fst.h.
using fst::internal::VectorFstBaseImpl< S >::Arc = typename State::Arc |
Definition at line 177 of file vector-fst.h.
using fst::internal::VectorFstBaseImpl< S >::State = S |
Definition at line 176 of file vector-fst.h.
using fst::internal::VectorFstBaseImpl< S >::StateId = typename Arc::StateId |
Definition at line 178 of file vector-fst.h.
using fst::internal::VectorFstBaseImpl< S >::Weight = typename Arc::Weight |
Definition at line 179 of file vector-fst.h.
|
default |
|
inlineoverride |
Definition at line 183 of file vector-fst.h.
|
delete |
|
inlinenoexcept |
Definition at line 192 of file vector-fst.h.
|
inline |
Definition at line 247 of file vector-fst.h.
|
inline |
Definition at line 249 of file vector-fst.h.
|
inline |
Definition at line 233 of file vector-fst.h.
|
inline |
Definition at line 238 of file vector-fst.h.
|
inline |
Definition at line 240 of file vector-fst.h.
|
inline |
Definition at line 303 of file vector-fst.h.
|
inline |
Definition at line 305 of file vector-fst.h.
|
inline |
Definition at line 258 of file vector-fst.h.
|
inline |
Definition at line 295 of file vector-fst.h.
|
inline |
Definition at line 254 of file vector-fst.h.
|
inline |
Definition at line 213 of file vector-fst.h.
|
inline |
Definition at line 307 of file vector-fst.h.
|
inline |
Definition at line 309 of file vector-fst.h.
|
inline |
Definition at line 324 of file vector-fst.h.
|
inline |
Definition at line 318 of file vector-fst.h.
|
inline |
Definition at line 217 of file vector-fst.h.
|
inline |
Definition at line 219 of file vector-fst.h.
|
inline |
Definition at line 223 of file vector-fst.h.
|
inline |
Definition at line 215 of file vector-fst.h.
|
delete |
|
inlinenoexcept |
Definition at line 200 of file vector-fst.h.
|
inline |
Definition at line 315 of file vector-fst.h.
|
inline |
Definition at line 313 of file vector-fst.h.
|
inline |
Definition at line 229 of file vector-fst.h.
|
inline |
Definition at line 227 of file vector-fst.h.
|
inline |
Definition at line 311 of file vector-fst.h.
|
inline |
Definition at line 211 of file vector-fst.h.