PolyBoRi
LargerDegreeComparer.h
Go to the documentation of this file.
1 // -*- c++ -*-
2 //*****************************************************************************
14 //*****************************************************************************
15 
16 #ifndef polybori_groebner_LargerDegreeComparer_h_
17 #define polybori_groebner_LargerDegreeComparer_h_
18 
19 // include basic definitions
20 #include "groebner_defs.h"
21 
23 
29 public:
30  bool operator() (const Monomial& a , const Monomial& b){
31  return a.deg() > b.deg();
32 
33  }
34  bool operator() (const Exponent& a , const Exponent& b){
35  return a.deg()>b.deg();
36 
37  }
38 };
39 
41 
42 #endif /* polybori_LargerDegreeComparer_h_ */
deg_type deg() const
Degree of the monomial.
Definition: BooleMonomial.h:146
This class is just a wrapper for using variables for storing indices as interim data structure for Bo...
Definition: BooleExponent.h:34
#define END_NAMESPACE_PBORIGB
Definition: groebner_defs.h:16
#define BEGIN_NAMESPACE_PBORIGB
Definition: groebner_defs.h:15
This class is just a wrapper for using variables from cudd's decicion diagram.
Definition: BooleMonomial.h:50
This class defines LargerDegreeComparer.
Definition: LargerDegreeComparer.h:28
deg_type deg() const
Degree of the corresponding monomial.
Definition: BooleExponent.h:118