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_ */