PolyBoRi
LMLessComparePS.h
Go to the documentation of this file.
1 // -*- c++ -*-
2 //*****************************************************************************
14 //*****************************************************************************
15 
16 #ifndef polybori_groebner_LMLessComparePS_h_
17 #define polybori_groebner_LMLessComparePS_h_
18 
19 // include basic definitions
20 #include "groebner_defs.h"
21 
23 
29 public:
30  bool operator() (const PolynomialSugar& p1, const PolynomialSugar& p2){
31  return p1.lead()<p2.lead();
32  }
33 };
34 
36 
37 #endif /* polybori_LMLessComparePS_h_ */
#define END_NAMESPACE_PBORIGB
Definition: groebner_defs.h:16
This class defines LMLessComparePS.
Definition: LMLessComparePS.h:28
const BooleMonomial & lead() const
Definition: PolynomialSugar.h:58
#define BEGIN_NAMESPACE_PBORIGB
Definition: groebner_defs.h:15
This class defines PolynomialSugar.
Definition: PolynomialSugar.h:28