FST  openfst-1.8.3
OpenFst Library
Public Types | Public Member Functions | List of all members
fst::MPdtInfo< Arc, nlevels > 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

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

Detailed Description

template<class Arc, typename Arc::Label nlevels = 2>
class fst::MPdtInfo< Arc, nlevels >

Definition at line 42 of file info.h.

Member Typedef Documentation

template<class Arc , typename Arc::Label nlevels = 2>
using fst::MPdtInfo< Arc, nlevels >::Label = typename Arc::Label

Definition at line 44 of file info.h.

template<class Arc , typename Arc::Label nlevels = 2>
using fst::MPdtInfo< Arc, nlevels >::StateId = typename Arc::StateId

Definition at line 45 of file info.h.

template<class Arc , typename Arc::Label nlevels = 2>
using fst::MPdtInfo< Arc, nlevels >::Weight = typename Arc::Weight

Definition at line 46 of file info.h.

Constructor & Destructor Documentation

template<class Arc , typename Arc::Label nlevels = 2>
fst::MPdtInfo< Arc, nlevels >::MPdtInfo ( const Fst< Arc > &  fst,
const std::vector< std::pair< Label, Label >> &  parens,
const std::vector< Label > &  assignments 
)

Definition at line 97 of file info.h.

Member Function Documentation

template<class Arc , typename Arc::Label nlevels = 2>
const std::string& fst::MPdtInfo< Arc, nlevels >::ArcType ( ) const
inline

Definition at line 54 of file info.h.

template<class Arc , typename Arc::Label nlevels = 2>
const std::string& fst::MPdtInfo< Arc, nlevels >::FstType ( ) const
inline

Definition at line 52 of file info.h.

template<class Arc , typename Arc::Label nlevels = 2>
int64_t fst::MPdtInfo< Arc, nlevels >::NumArcs ( ) const
inline

Definition at line 58 of file info.h.

template<class Arc , typename Arc::Label nlevels = 2>
int64_t fst::MPdtInfo< Arc, nlevels >::NumCloseParens ( Label  level) const
inline

Definition at line 64 of file info.h.

template<class Arc , typename Arc::Label nlevels = 2>
int64_t fst::MPdtInfo< Arc, nlevels >::NumCloseParenStates ( Label  level) const
inline

Definition at line 77 of file info.h.

template<class Arc , typename Arc::Label nlevels = 2>
int64_t fst::MPdtInfo< Arc, nlevels >::NumLevels ( ) const
inline

Definition at line 60 of file info.h.

template<class Arc , typename Arc::Label nlevels = 2>
int64_t fst::MPdtInfo< Arc, nlevels >::NumOpenParens ( Label  level) const
inline

Definition at line 62 of file info.h.

template<class Arc , typename Arc::Label nlevels = 2>
int64_t fst::MPdtInfo< Arc, nlevels >::NumOpenParenStates ( Label  level) const
inline

Definition at line 73 of file info.h.

template<class Arc , typename Arc::Label nlevels = 2>
int64_t fst::MPdtInfo< Arc, nlevels >::NumStates ( ) const
inline

Definition at line 56 of file info.h.

template<class Arc , typename Arc::Label nlevels = 2>
int64_t fst::MPdtInfo< Arc, nlevels >::NumUniqueCloseParens ( Label  level) const
inline

Definition at line 70 of file info.h.

template<class Arc , typename Arc::Label nlevels = 2>
int64_t fst::MPdtInfo< Arc, nlevels >::NumUniqueOpenParens ( Label  level) const
inline

Definition at line 66 of file info.h.

template<class Arc , typename Arc::Label nlevels>
void fst::MPdtInfo< Arc, nlevels >::Print ( )

Definition at line 170 of file info.h.


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