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_ */
This class defines LMLessCompare.
Definition: LMLessCompare.h:29
monom_type lead() const
Get leading term.
Definition: BoolePolynomial.cc:225
#define END_NAMESPACE_PBORIGB
Definition: groebner_defs.h:16
#define BEGIN_NAMESPACE_PBORIGB
Definition: groebner_defs.h:15
This class wraps the underlying decicion diagram type and defines the necessary operations.
Definition: BoolePolynomial.h:85