LatticeSimpleDecoder::Token Struct Reference
Collaboration diagram for LatticeSimpleDecoder::Token:

Public Member Functions

 Token (BaseFloat tot_cost, BaseFloat extra_cost, ForwardLink *links, Token *next)
 
 Token ()
 
void DeleteForwardLinks ()
 

Public Attributes

BaseFloat tot_cost
 
BaseFloat extra_cost
 
ForwardLinklinks
 
Tokennext
 

Detailed Description

Definition at line 185 of file lattice-simple-decoder.h.

Constructor & Destructor Documentation

◆ Token() [1/2]

◆ Token() [2/2]

Token ( )
inline

Definition at line 201 of file lattice-simple-decoder.h.

201 {}

Member Function Documentation

◆ DeleteForwardLinks()

void DeleteForwardLinks ( )
inline

Definition at line 202 of file lattice-simple-decoder.h.

References LatticeSimpleDecoder::ForwardLink::next.

Referenced by LatticeSimpleDecoder::ProcessNonemitting().

202  {
203  ForwardLink *l = links, *m;
204  while (l != NULL) {
205  m = l->next;
206  delete l;
207  l = m;
208  }
209  links = NULL;
210  }

Member Data Documentation

◆ extra_cost

◆ links

◆ next

◆ tot_cost


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