FST  openfst-1.7.1
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 string & FstType () const
 
const 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 19 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 21 of file info.h.

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

Definition at line 22 of file info.h.

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

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

Member Function Documentation

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

Definition at line 31 of file info.h.

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

Definition at line 29 of file info.h.

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

Definition at line 35 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 41 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 54 of file info.h.

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

Definition at line 37 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 39 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 50 of file info.h.

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

Definition at line 33 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 47 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 43 of file info.h.

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

Definition at line 151 of file info.h.


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