LatticeBiglmFasterDecoder::Token Struct Reference
Collaboration diagram for LatticeBiglmFasterDecoder::Token:

Public Member Functions

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

Public Attributes

BaseFloat tot_cost
 
BaseFloat extra_cost
 
ForwardLinklinks
 
Tokennext
 

Detailed Description

Definition at line 263 of file lattice-biglm-faster-decoder.h.

Constructor & Destructor Documentation

◆ Token()

Member Function Documentation

◆ DeleteForwardLinks()

void DeleteForwardLinks ( )
inline

Definition at line 279 of file lattice-biglm-faster-decoder.h.

References LatticeBiglmFasterDecoder::ForwardLink::next.

Referenced by LatticeBiglmFasterDecoder::ProcessNonemitting().

279  {
280  ForwardLink *l = links, *m;
281  while (l != NULL) {
282  m = l->next;
283  delete l;
284  l = m;
285  }
286  links = NULL;
287  }

Member Data Documentation

◆ extra_cost

◆ links

◆ next

◆ tot_cost


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