All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
LatticeDeterminizerPruned< Weight, IntType >::PairComparator Class Reference

Public Member Functions

bool operator() (const pair< Label, Element > &p1, const pair< Label, Element > &p2)

Detailed Description

template<class Weight, class IntType>
class fst::LatticeDeterminizerPruned< Weight, IntType >::PairComparator

Definition at line 882 of file

Member Function Documentation

bool operator() ( const pair< Label, Element > &  p1,
const pair< Label, Element > &  p2 

Definition at line 884 of file

884  {
885  if (p1.first < p2.first) return true;
886  else if (p1.first > p2.first) return false;
887  else {
888  return p1.second.state < p2.second.state;
889  }
890  }

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