PolyBoRi
ExpLexLess.h
Go to the documentation of this file.
1 // -*- c++ -*-
2 //*****************************************************************************
14 //*****************************************************************************
15 
16 #ifndef polybori_groebner_ExpLexLess_h_
17 #define polybori_groebner_ExpLexLess_h_
18 
19 // include basic definitions
20 #include "groebner_defs.h"
21 
23 
29 class ExpLexLess {
30 public:
31  bool operator()(const Exponent&lhs, const Exponent& rhs) const {
32  return LexOrder().compare(lhs, rhs)==CTypes::less_than;
33  }
34 };
35 
37 
38 #endif /* polybori_groebner_ExpLexLess_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
This class defines ExpLexLess.
Definition: ExpLexLess.h:29
#define BEGIN_NAMESPACE_PBORIGB
Definition: groebner_defs.h:15
bool operator()(const Exponent &lhs, const Exponent &rhs) const
Definition: ExpLexLess.h:31
This class defines ordering related functions.
Definition: LexOrder.h:33