DeterminizerStar< F >::PairComparator Class Reference

Public Member Functions

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

Detailed Description

template<class F>
class fst::DeterminizerStar< F >::PairComparator

Definition at line 480 of file determinize-star-inl.h.

Member Function Documentation

◆ operator()()

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

Definition at line 482 of file determinize-star-inl.h.

482  {
483  if (p1.first < p2.first) return true;
484  else if (p1.first > p2.first) return false;
485  else {
486  return p1.second.state < p2.second.state;
487  }
488  }

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