FST
openfst-1.8.4
OpenFst Library
|
#include <compact-fst.h>
Public Member Functions | |
CompactArcStore ()=default | |
CompactArcStore (const CompactArcStore &)=default | |
template<class Arc , class ArcCompactor > | |
CompactArcStore (const Fst< Arc > &fst, const ArcCompactor &arc_compactor) | |
template<class Iterator , class ArcCompactor > | |
CompactArcStore (Iterator begin, Iterator end, const ArcCompactor &arc_compactor) | |
~CompactArcStore ()=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 > | |
CompactArcStore< Element, Unsigned > * | Read (std::istream &strm, const FstReadOptions &opts, const FstHeader &hdr, const ArcCompactor &arc_compactor) |
Static Public Member Functions | |
template<class ArcCompactor > | |
static CompactArcStore * | Read (std::istream &strm, const FstReadOptions &opts, const FstHeader &hdr, const ArcCompactor &arc_compactor) |
static const std::string & | Type () |
Definition at line 242 of file compact-fst.h.
|
default |
|
default |
fst::CompactArcStore< Element, Unsigned >::CompactArcStore | ( | const Fst< Arc > & | fst, |
const ArcCompactor & | arc_compactor | ||
) |
Definition at line 305 of file compact-fst.h.
fst::CompactArcStore< Element, Unsigned >::CompactArcStore | ( | Iterator | begin, |
Iterator | end, | ||
const ArcCompactor & | arc_compactor | ||
) |
Definition at line 366 of file compact-fst.h.
|
default |
|
inline |
Definition at line 274 of file compact-fst.h.
|
inline |
Definition at line 284 of file compact-fst.h.
|
inline |
Definition at line 280 of file compact-fst.h.
|
inline |
Definition at line 278 of file compact-fst.h.
|
inline |
Definition at line 276 of file compact-fst.h.
|
static |
CompactArcStore<Element, Unsigned>* fst::CompactArcStore< Element, Unsigned >::Read | ( | std::istream & | strm, |
const FstReadOptions & | opts, | ||
const FstHeader & | hdr, | ||
const ArcCompactor & | arc_compactor | ||
) |
Definition at line 449 of file compact-fst.h.
|
inline |
Definition at line 282 of file compact-fst.h.
|
inline |
Definition at line 270 of file compact-fst.h.
|
static |
Definition at line 518 of file compact-fst.h.
bool fst::CompactArcStore< Element, Unsigned >::Write | ( | std::ostream & | strm, |
const FstWriteOptions & | opts | ||
) | const |
Definition at line 493 of file compact-fst.h.