LargerDegreeComparer.h
Go to the documentation of this file.
// -*- c++ -*-
//*****************************************************************************
//*****************************************************************************
#ifndef polybori_groebner_LargerDegreeComparer_h_
#define polybori_groebner_LargerDegreeComparer_h_
// include basic definitions
#include "groebner_defs.h"
BEGIN_NAMESPACE_PBORIGB
class LargerDegreeComparer{
public:
bool operator() (const Monomial& a , const Monomial& b){
return a.deg() > b.deg();
}
bool operator() (const Exponent& a , const Exponent& b){
return a.deg()>b.deg();
}
};
END_NAMESPACE_PBORIGB
#endif /* polybori_LargerDegreeComparer_h_ */