FST
openfst-1.8.3
OpenFst Library
|
#include <compact-fst.h>
Public Types | |
using | ArcCompactor = AC |
using | Unsigned = U |
using | CompactStore = S |
using | Element = typename AC::Element |
using | Arc = typename AC::Arc |
using | StateId = typename Arc::StateId |
using | Weight = typename Arc::Weight |
using | State = CompactArcState< AC, U, S > |
Public Member Functions | |
CompactArcCompactor () | |
CompactArcCompactor (const Fst< Arc > &fst, ArcCompactor &&arc_compactor=ArcCompactor()) | |
CompactArcCompactor (const Fst< Arc > &fst, std::shared_ptr< ArcCompactor > arc_compactor) | |
CompactArcCompactor (const Fst< Arc > &fst, std::shared_ptr< CompactArcCompactor > compactor) | |
CompactArcCompactor (std::shared_ptr< ArcCompactor > arc_compactor, std::shared_ptr< CompactStore > compact_store) | |
template<class Iterator > | |
CompactArcCompactor (const Iterator b, const Iterator e, std::shared_ptr< ArcCompactor > arc_compactor) | |
template<class Iterator > | |
CompactArcCompactor (const Iterator b, const Iterator e) | |
CompactArcCompactor (const CompactArcCompactor &compactor) | |
template<class OtherC > | |
CompactArcCompactor (const CompactArcCompactor< OtherC, U, S > &compactor) | |
StateId | Start () const |
StateId | NumStates () const |
size_t | NumArcs () const |
void | SetState (StateId s, State *state) const |
bool | Write (std::ostream &strm, const FstWriteOptions &opts) const |
uint64_t | Properties (uint64_t props) const |
bool | IsCompatible (const Fst< Arc > &fst) const |
bool | Error () const |
bool | HasFixedOutdegree () const |
const ArcCompactor * | GetArcCompactor () const |
const CompactStore * | GetCompactStore () const |
ArcCompactor * | MutableArcCompactor () |
CompactStore * | MutableCompactStore () |
std::shared_ptr< ArcCompactor > | SharedArcCompactor () |
std::shared_ptr< CompactStore > | SharedCompactStore () |
Arc | ComputeArc (StateId s, Unsigned i, uint8_t flags) const |
Static Public Member Functions | |
static CompactArcCompactor * | Read (std::istream &strm, const FstReadOptions &opts, const FstHeader &hdr) |
static const std::string & | Type () |
Public Attributes | |
friend | State |
Definition at line 531 of file compact-fst.h.
using fst::CompactArcCompactor< AC, U, S >::Arc = typename AC::Arc |
Definition at line 537 of file compact-fst.h.
using fst::CompactArcCompactor< AC, U, S >::ArcCompactor = AC |
Definition at line 533 of file compact-fst.h.
using fst::CompactArcCompactor< AC, U, S >::CompactStore = S |
Definition at line 535 of file compact-fst.h.
using fst::CompactArcCompactor< AC, U, S >::Element = typename AC::Element |
Definition at line 536 of file compact-fst.h.
using fst::CompactArcCompactor< AC, U, S >::State = CompactArcState<AC, U, S> |
Definition at line 540 of file compact-fst.h.
using fst::CompactArcCompactor< AC, U, S >::StateId = typename Arc::StateId |
Definition at line 538 of file compact-fst.h.
using fst::CompactArcCompactor< AC, U, S >::Unsigned = U |
Definition at line 534 of file compact-fst.h.
using fst::CompactArcCompactor< AC, U, S >::Weight = typename Arc::Weight |
Definition at line 539 of file compact-fst.h.
|
inline |
Definition at line 543 of file compact-fst.h.
|
inlineexplicit |
Definition at line 546 of file compact-fst.h.
|
inline |
Definition at line 551 of file compact-fst.h.
|
inline |
Definition at line 556 of file compact-fst.h.
|
inline |
Definition at line 564 of file compact-fst.h.
|
inline |
Definition at line 592 of file compact-fst.h.
|
inline |
Definition at line 598 of file compact-fst.h.
|
inline |
Definition at line 604 of file compact-fst.h.
|
inlineexplicit |
Definition at line 615 of file compact-fst.h.
|
inline |
Definition at line 688 of file compact-fst.h.
|
inline |
Definition at line 659 of file compact-fst.h.
|
inline |
Definition at line 678 of file compact-fst.h.
|
inline |
Definition at line 679 of file compact-fst.h.
|
inline |
Definition at line 661 of file compact-fst.h.
|
inline |
Definition at line 655 of file compact-fst.h.
|
inline |
Definition at line 681 of file compact-fst.h.
|
inline |
Definition at line 682 of file compact-fst.h.
|
inline |
Definition at line 628 of file compact-fst.h.
|
inline |
Definition at line 627 of file compact-fst.h.
|
inline |
Definition at line 648 of file compact-fst.h.
|
inlinestatic |
Definition at line 634 of file compact-fst.h.
|
inline |
Definition at line 630 of file compact-fst.h.
|
inline |
Definition at line 684 of file compact-fst.h.
|
inline |
Definition at line 685 of file compact-fst.h.
|
inline |
Definition at line 626 of file compact-fst.h.
|
inlinestatic |
Definition at line 663 of file compact-fst.h.
|
inline |
Definition at line 644 of file compact-fst.h.
friend fst::CompactArcCompactor< AC, U, S >::State |
Definition at line 541 of file compact-fst.h.