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 885 of file determinize-lattice-pruned.cc.

Member Function Documentation

◆ operator()()

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

Definition at line 887 of file determinize-lattice-pruned.cc.

887  {
888  if (p1.first < p2.first) return true;
889  else if (p1.first > p2.first) return false;
890  else {
891  return p1.second.state < p2.second.state;
892  }
893  }

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