All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
LatticeDeterminizer< 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::LatticeDeterminizer< Weight, IntType >::PairComparator

Definition at line 996 of file determinize-lattice-inl.h.

Member Function Documentation

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

Definition at line 998 of file determinize-lattice-inl.h.

998  {
999  if (p1.first < p2.first) return true;
1000  else if (p1.first > p2.first) return false;
1001  else {
1002  return p1.second.state < p2.second.state;
1003  }
1004  }

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