FST  openfst-1.8.3
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 43 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 58 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 82 of file pdt.h.

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

Definition at line 113 of file pdt.h.

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

Definition at line 108 of file pdt.h.

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

Definition at line 111 of file pdt.h.


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