MinimumBayesRisk::GammaCompare Struct Reference

Public Member Functions

bool operator() (const std::pair< int32, BaseFloat > &a, const std::pair< int32, BaseFloat > &b) const
 

Detailed Description

Definition at line 255 of file sausages.h.

Member Function Documentation

◆ operator()()

bool operator() ( const std::pair< int32, BaseFloat > &  a,
const std::pair< int32, BaseFloat > &  b 
) const
inline

Definition at line 259 of file sausages.h.

260  {
261  if (a.second > b.second) return true;
262  else if (a.second < b.second) return false;
263  else return a.first > b.first;
264  }

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