Edinburgh Speech Tools  2.1-release
EST_WFST_MultiState Class Reference

an internal class to EST_WFST used in holding multi-states when determinizing and find the intersections of other WFSTs. More...

#include <include/EST_WFST.h>

Inheritance diagram for EST_WFST_MultiState:
Collaboration diagram for EST_WFST_MultiState:

Public Member Functions

 EST_WFST_MultiState ()
 
 EST_WFST_MultiState (enum wfst_mstate_type ty)
 
int name () const
 
void set_name (int i)
 
float weight () const
 
void set_weight (float w)
 
void set_type (enum wfst_mstate_type s)
 
enum wfst_mstate_type type () const
 
void add (int i)
 
- Public Member Functions inherited from EST_TList< int >
void init ()
 
 EST_TList ()
 default constructor More...
 
 EST_TList (const EST_TList< int > &l)
 copy constructor More...
 
 ~EST_TList ()
 
intitem (const EST_Litem *p)
 
const intitem (const EST_Litem *p) const
 
intnth (int n)
 return the Nth value More...
 
const intnth (int n) const
 return a const Nth value More...
 
const intfirst () const
 return const reference to first item in list More...
 
intfirst ()
 
const intlast () const
 return const reference to last item in list More...
 
intlast ()
 return reference to last item in list More...
 
const intoperator() (const EST_Litem *ptr) const
 return const reference to item in list pointed to by ptr More...
 
intoperator() (const EST_Litem *ptr)
 return non-const reference to item in list pointed to by ptr More...
 
EST_Litemremove (EST_Litem *ptr)
 
EST_Litemremove_nth (int n)
 remove nth item, return pointer to previous item More...
 
void append (const int &item)
 add item onto end of list More...
 
void prepend (const int &item)
 add item onto start of list More...
 
EST_Liteminsert_after (EST_Litem *ptr, const int &item)
 
EST_Liteminsert_before (EST_Litem *ptr, const int &item)
 
EST_TList< int > & operator= (const EST_TList< int > &a)
 make full copy of list More...
 
EST_TList< int > & operator+= (const EST_TList< int > &a)
 Add list onto end of existing list. More...
 
void clear (void)
 remove all items in list More...
 
void exchange (EST_Litem *a, EST_Litem *b)
 exchange 1 More...
 
void exchange (int i, int j)
 exchange 2 More...
 
- Public Member Functions inherited from EST_UList
 EST_UList ()
 
virtual ~EST_UList ()
 
EST_UItemnth_pointer (int n) const
 
EST_UIteminsert_after (EST_UItem *ptr, EST_UItem *new_item)
 
EST_UIteminsert_before (EST_UItem *ptr, EST_UItem *new_item)
 
EST_UItemremove (EST_UItem *ptr, void(*item_free)(EST_UItem *item))
 
EST_UItemremove (int n, void(*item_free)(EST_UItem *item))
 
void exchange (EST_UItem *a, EST_UItem *b)
 
void exchange (int i, int j)
 
void reverse ()
 
int length () const
 
int index (EST_UItem *item) const
 
int empty () const
 
void clear (void)
 
void append (EST_UItem *item)
 
void prepend (EST_UItem *item)
 
EST_UItemhead () const
 
EST_UItemtail () const
 

Additional Inherited Members

- Public Types inherited from EST_TList< int >
typedef int Entry
 
typedef EST_TIterator< EST_TList< int >, IPointer, intEntries
 
typedef EST_TRwIterator< EST_TList< int >, IPointer, intRwEntries
 
- Static Public Member Functions inherited from EST_TList< int >
static void free_item (EST_UItem *item)
 
static void exchange_contents (EST_Litem *a, EST_Litem *b)
 exchange 3 More...
 
- Static Public Member Functions inherited from EST_UList
static bool operator_eq (const EST_UList &a, const EST_UList &b, bool(*eq)(const EST_UItem *item1, const EST_UItem *item2))
 
static int index (const EST_UList &l, const EST_UItem &b, bool(*eq)(const EST_UItem *item1, const EST_UItem *item2))
 
static void sort (EST_UList &a, bool(*gt)(const EST_UItem *item1, const EST_UItem *item2))
 
static void qsort (EST_UList &a, bool(*gt)(const EST_UItem *item1, const EST_UItem *item2), void(*exchange)(EST_UItem *item1, EST_UItem *item2))
 
static void sort_unique (EST_UList &l, bool(*eq)(const EST_UItem *item1, const EST_UItem *item2), bool(*gt)(const EST_UItem *item1, const EST_UItem *item2), void(*item_free)(EST_UItem *item))
 
static void merge_sort_unique (EST_UList &l, EST_UList &m, bool(*eq)(const EST_UItem *item1, const EST_UItem *item2), bool(*gt)(const EST_UItem *item1, const EST_UItem *item2), void(*item_free)(EST_UItem *item))
 
- Protected Member Functions inherited from EST_TList< int >
void point_to_first (IPointer &ip) const
 
void move_pointer_forwards (IPointer &ip) const
 
bool points_to_something (const IPointer &ip) const
 
intpoints_at (const IPointer &ip)
 
- Protected Member Functions inherited from EST_UList
void init ()
 
void clear_and_free (void(*item_free)(EST_UItem *item))
 
- Protected Attributes inherited from EST_UList
EST_UItemh
 
EST_UItemt
 

Detailed Description

an internal class to EST_WFST used in holding multi-states when determinizing and find the intersections of other WFSTs.

Definition at line 130 of file EST_WFST.h.

Constructor & Destructor Documentation

EST_WFST_MultiState::EST_WFST_MultiState ( )
inline

Definition at line 136 of file EST_WFST.h.

EST_WFST_MultiState::EST_WFST_MultiState ( enum wfst_mstate_type  ty)
inline

Definition at line 138 of file EST_WFST.h.

Member Function Documentation

int EST_WFST_MultiState::name ( void  ) const
inline

Definition at line 140 of file EST_WFST.h.

void EST_WFST_MultiState::set_name ( int  i)
inline

Definition at line 141 of file EST_WFST.h.

float EST_WFST_MultiState::weight ( ) const
inline

Definition at line 142 of file EST_WFST.h.

void EST_WFST_MultiState::set_weight ( float  w)
inline

Definition at line 143 of file EST_WFST.h.

void EST_WFST_MultiState::set_type ( enum wfst_mstate_type  s)
inline

Definition at line 144 of file EST_WFST.h.

enum wfst_mstate_type EST_WFST_MultiState::type ( void  ) const
inline

Definition at line 145 of file EST_WFST.h.

void EST_WFST_MultiState::add ( int  i)

Definition at line 105 of file wfst_ops.cc.


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