FST  openfst-1.6.1
OpenFst Library
Classes | Public Member Functions | List of all members
fst::PdtStack< StackId, Label > Class Template Reference

#include <pdt.h>

Classes

struct  StackNode
 

Public Member Functions

 PdtStack (const std::vector< std::pair< Label, Label >> &parens)
 
StackId Find (StackId stack_id, Label label)
 
StackId Pop (StackId stack_id) const
 
ssize_t Top (StackId stack_id) const
 
ssize_t ParenId (Label label) const
 

Detailed Description

template<typename StackId, typename Label>
class fst::PdtStack< StackId, Label >

Definition at line 24 of file pdt.h.

Constructor & Destructor Documentation

template<typename StackId, typename Label>
fst::PdtStack< StackId, Label >::PdtStack ( const std::vector< std::pair< Label, Label >> &  parens)
inlineexplicit

Definition at line 39 of file pdt.h.

Member Function Documentation

template<typename StackId, typename Label>
StackId fst::PdtStack< StackId, Label >::Find ( StackId  stack_id,
Label  label 
)
inline

Definition at line 63 of file pdt.h.

template<typename StackId, typename Label>
ssize_t fst::PdtStack< StackId, Label >::ParenId ( Label  label) const
inline

Definition at line 94 of file pdt.h.

template<typename StackId, typename Label>
StackId fst::PdtStack< StackId, Label >::Pop ( StackId  stack_id) const
inline

Definition at line 89 of file pdt.h.

template<typename StackId, typename Label>
ssize_t fst::PdtStack< StackId, Label >::Top ( StackId  stack_id) const
inline

Definition at line 92 of file pdt.h.


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