FST
openfst-1.7.5
OpenFst Library
|
#include <compact-fst.h>
Public Member Functions | |
DefaultCompactStore ()=default | |
DefaultCompactStore (const DefaultCompactStore &)=default | |
template<class Arc , class ArcCompactor > | |
DefaultCompactStore (const Fst< Arc > &fst, const ArcCompactor &arc_compactor) | |
template<class Iterator , class ArcCompactor > | |
DefaultCompactStore (const Iterator begin, const Iterator end, const ArcCompactor &arc_compactor) | |
~DefaultCompactStore ()=default | |
bool | Write (std::ostream &strm, const FstWriteOptions &opts) const |
Unsigned | States (ssize_t i) const |
const Element & | Compacts (size_t i) const |
size_t | NumStates () const |
size_t | NumCompacts () const |
size_t | NumArcs () const |
ssize_t | Start () const |
bool | Error () const |
template<class ArcCompactor > | |
DefaultCompactStore< Element, Unsigned > * | Read (std::istream &strm, const FstReadOptions &opts, const FstHeader &hdr, const ArcCompactor &arc_compactor) |
Static Public Member Functions | |
template<class ArcCompactor > | |
static DefaultCompactStore * | Read (std::istream &strm, const FstReadOptions &opts, const FstHeader &hdr, const ArcCompactor &arc_compactor) |
static const std::string & | Type () |
Definition at line 211 of file compact-fst.h.
|
default |
|
default |
fst::DefaultCompactStore< Element, Unsigned >::DefaultCompactStore | ( | const Fst< Arc > & | fst, |
const ArcCompactor & | arc_compactor | ||
) |
Definition at line 275 of file compact-fst.h.
fst::DefaultCompactStore< Element, Unsigned >::DefaultCompactStore | ( | const Iterator | begin, |
const Iterator | end, | ||
const ArcCompactor & | arc_compactor | ||
) |
Definition at line 336 of file compact-fst.h.
|
default |
|
inline |
Definition at line 244 of file compact-fst.h.
|
inline |
Definition at line 254 of file compact-fst.h.
|
inline |
Definition at line 250 of file compact-fst.h.
|
inline |
Definition at line 248 of file compact-fst.h.
|
inline |
Definition at line 246 of file compact-fst.h.
|
static |
DefaultCompactStore<Element, Unsigned>* fst::DefaultCompactStore< Element, Unsigned >::Read | ( | std::istream & | strm, |
const FstReadOptions & | opts, | ||
const FstHeader & | hdr, | ||
const ArcCompactor & | arc_compactor | ||
) |
Definition at line 420 of file compact-fst.h.
|
inline |
Definition at line 252 of file compact-fst.h.
|
inline |
Definition at line 240 of file compact-fst.h.
|
static |
Definition at line 493 of file compact-fst.h.
bool fst::DefaultCompactStore< Element, Unsigned >::Write | ( | std::ostream & | strm, |
const FstWriteOptions & | opts | ||
) | const |
Definition at line 466 of file compact-fst.h.