FST  openfst-1.8.4
OpenFst Library
Public Types | Public Member Functions | List of all members
fst::PdtInfo< Arc > Class Template Reference

#include <info.h>

Public Types

using Label = typename Arc::Label
 
using StateId = typename Arc::StateId
 
using Weight = typename Arc::Weight
 

Public Member Functions

 PdtInfo (const Fst< Arc > &fst, const std::vector< std::pair< Label, Label >> &parents)
 
const std::string & FstType () const
 
const std::string & ArcType () const
 
int64_t NumStates () const
 
int64_t NumArcs () const
 
int64_t NumOpenParens () const
 
int64_t NumCloseParens () const
 
int64_t NumUniqueOpenParens () const
 
int64_t NumUniqueCloseParens () const
 
int64_t NumOpenParenStates () const
 
int64_t NumCloseParenStates () const
 
void Print ()
 

Detailed Description

template<class Arc>
class fst::PdtInfo< Arc >

Definition at line 40 of file info.h.

Member Typedef Documentation

template<class Arc >
using fst::PdtInfo< Arc >::Label = typename Arc::Label

Definition at line 42 of file info.h.

template<class Arc >
using fst::PdtInfo< Arc >::StateId = typename Arc::StateId

Definition at line 43 of file info.h.

template<class Arc >
using fst::PdtInfo< Arc >::Weight = typename Arc::Weight

Definition at line 44 of file info.h.

Constructor & Destructor Documentation

template<class Arc >
fst::PdtInfo< Arc >::PdtInfo ( const Fst< Arc > &  fst,
const std::vector< std::pair< Label, Label >> &  parents 
)

Definition at line 84 of file info.h.

Member Function Documentation

template<class Arc >
const std::string& fst::PdtInfo< Arc >::ArcType ( ) const
inline

Definition at line 51 of file info.h.

template<class Arc >
const std::string& fst::PdtInfo< Arc >::FstType ( ) const
inline

Definition at line 49 of file info.h.

template<class Arc >
int64_t fst::PdtInfo< Arc >::NumArcs ( ) const
inline

Definition at line 55 of file info.h.

template<class Arc >
int64_t fst::PdtInfo< Arc >::NumCloseParens ( ) const
inline

Definition at line 59 of file info.h.

template<class Arc >
int64_t fst::PdtInfo< Arc >::NumCloseParenStates ( ) const
inline

Definition at line 67 of file info.h.

template<class Arc >
int64_t fst::PdtInfo< Arc >::NumOpenParens ( ) const
inline

Definition at line 57 of file info.h.

template<class Arc >
int64_t fst::PdtInfo< Arc >::NumOpenParenStates ( ) const
inline

Definition at line 65 of file info.h.

template<class Arc >
int64_t fst::PdtInfo< Arc >::NumStates ( ) const
inline

Definition at line 53 of file info.h.

template<class Arc >
int64_t fst::PdtInfo< Arc >::NumUniqueCloseParens ( ) const
inline

Definition at line 63 of file info.h.

template<class Arc >
int64_t fst::PdtInfo< Arc >::NumUniqueOpenParens ( ) const
inline

Definition at line 61 of file info.h.

template<class Arc >
void fst::PdtInfo< Arc >::Print ( )

Definition at line 138 of file info.h.


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