FST  openfst-1.7.7
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 NumStates () const
 
int64 NumArcs () const
 
int64 NumLevels () const
 
int64 NumOpenParens (Label level) const
 
int64 NumCloseParens (Label level) const
 
int64 NumUniqueOpenParens (Label level) const
 
int64 NumUniqueCloseParens (Label level) const
 
int64 NumOpenParenStates (Label level) const
 
int64 NumCloseParenStates (Label level) const
 
void Print ()
 

Detailed Description

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

Definition at line 20 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 22 of file info.h.

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

Definition at line 23 of file info.h.

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

Definition at line 24 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 75 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 32 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 30 of file info.h.

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

Definition at line 36 of file info.h.

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

Definition at line 42 of file info.h.

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

Definition at line 55 of file info.h.

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

Definition at line 38 of file info.h.

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

Definition at line 40 of file info.h.

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

Definition at line 51 of file info.h.

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

Definition at line 34 of file info.h.

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

Definition at line 48 of file info.h.

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

Definition at line 44 of file info.h.

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

Definition at line 152 of file info.h.


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