PolyBoRi
LMLessCompare.h
Go to the documentation of this file.
1 // -*- c++ -*-
2 //*****************************************************************************
14 //*****************************************************************************
15 
16 #ifndef polybori_groebner_LMLessCompare_h_
17 #define polybori_groebner_LMLessCompare_h_
18 
19 // include basic definitions
20 #include "groebner_defs.h"
21 
23 
30 public:
31  bool operator() (const Polynomial& p1, const Polynomial& p2){
32  return p1.lead()<p2.lead();
33  }
34 };
35 
37 
38 #endif /* polybori_groebner_LMLessCompare_h_ */