FST  openfst-1.7.3
OpenFst Library
Public Types | Public Member Functions | Static Public Member Functions | List of all members
fst::UnweightedAcceptorCompactor< A > Class Template Reference

#include <compact-fst.h>

Public Types

using Arc = A
 
using Label = typename Arc::Label
 
using StateId = typename Arc::StateId
 
using Weight = typename Arc::Weight
 
using Element = std::pair< Label, StateId >
 

Public Member Functions

Element Compact (StateId s, const Arc &arc) const
 
Arc Expand (StateId s, const Element &p, uint32 f=kArcValueFlags) const
 
constexpr ssize_t Size () const
 
constexpr uint64 Properties () const
 
bool Compatible (const Fst< Arc > &fst) const
 
bool Write (std::ostream &strm) const
 

Static Public Member Functions

static const std::string & Type ()
 
static UnweightedAcceptorCompactorRead (std::istream &istrm)
 

Detailed Description

template<class A>
class fst::UnweightedAcceptorCompactor< A >

Definition at line 1411 of file compact-fst.h.

Member Typedef Documentation

template<class A >
using fst::UnweightedAcceptorCompactor< A >::Arc = A

Definition at line 1413 of file compact-fst.h.

template<class A >
using fst::UnweightedAcceptorCompactor< A >::Element = std::pair<Label, StateId>

Definition at line 1418 of file compact-fst.h.

template<class A >
using fst::UnweightedAcceptorCompactor< A >::Label = typename Arc::Label

Definition at line 1414 of file compact-fst.h.

template<class A >
using fst::UnweightedAcceptorCompactor< A >::StateId = typename Arc::StateId

Definition at line 1415 of file compact-fst.h.

template<class A >
using fst::UnweightedAcceptorCompactor< A >::Weight = typename Arc::Weight

Definition at line 1416 of file compact-fst.h.

Member Function Documentation

template<class A >
Element fst::UnweightedAcceptorCompactor< A >::Compact ( StateId  s,
const Arc arc 
) const
inline

Definition at line 1420 of file compact-fst.h.

template<class A >
bool fst::UnweightedAcceptorCompactor< A >::Compatible ( const Fst< Arc > &  fst) const
inline

Definition at line 1432 of file compact-fst.h.

template<class A >
Arc fst::UnweightedAcceptorCompactor< A >::Expand ( StateId  s,
const Element p,
uint32  f = kArcValueFlags 
) const
inline

Definition at line 1424 of file compact-fst.h.

template<class A >
constexpr uint64 fst::UnweightedAcceptorCompactor< A >::Properties ( ) const
inline

Definition at line 1430 of file compact-fst.h.

template<class A >
static UnweightedAcceptorCompactor* fst::UnweightedAcceptorCompactor< A >::Read ( std::istream &  istrm)
inlinestatic

Definition at line 1445 of file compact-fst.h.

template<class A >
constexpr ssize_t fst::UnweightedAcceptorCompactor< A >::Size ( ) const
inline

Definition at line 1428 of file compact-fst.h.

template<class A >
static const std::string& fst::UnweightedAcceptorCompactor< A >::Type ( )
inlinestatic

Definition at line 1437 of file compact-fst.h.

template<class A >
bool fst::UnweightedAcceptorCompactor< A >::Write ( std::ostream &  strm) const
inline

Definition at line 1443 of file compact-fst.h.


The documentation for this class was generated from the following file: