PolyBoRi
LexOrderGreaterComparer.h
Go to the documentation of this file.
1 // -*- c++ -*-
2 //*****************************************************************************
14 //*****************************************************************************
15 
16 #ifndef polybori_groebner_LexOrderGreaterComparer_h_
17 #define polybori_groebner_LexOrderGreaterComparer_h_
18 
19 // include basic definitions
20 #include "groebner_defs.h"
21 
23 
29  LexOrder o;
30 public:
31  bool operator() (const Monomial& m1, const Monomial& m2){
32  return o.compare(m1,m2)==BoolePolyRing::greater_than;
33  }
34  bool operator() (const Exponent& m1, const Exponent& m2){
35  return o.compare(m1,m2)==BoolePolyRing::greater_than;
36  }
37 };
38 
40 
41 #endif /* polybori_LexOrderGreaterComparer_h_ */
comp_type compare(idx_type, idx_type) const
Comparison of indices corresponding to variables.
Definition: LexOrder.cc:81
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 defines LexOrderGreaterComparer.
Definition: LexOrderGreaterComparer.h:28
This class defines ordering related functions.
Definition: LexOrder.h:33
This class is just a wrapper for using variables from cudd's decicion diagram.
Definition: BooleMonomial.h:50