PolyBoRi
PolyEntryPtrLmLess.h
Go to the documentation of this file.
1 // -*- c++ -*-
2 //*****************************************************************************
14 //*****************************************************************************
15 
16 #ifndef polybori_groebner_PolyEntryPtrLmLess_h_
17 #define polybori_groebner_PolyEntryPtrLmLess_h_
18 
19 // include basic definitions
20 #include "groebner_defs.h"
21 #include "PolyEntry.h"
22 
24 
30 public:
31  bool operator()(const PolyEntry* lhs, const PolyEntry* rhs) const {
32  return lhs->lead < rhs->lead;
33  }
34 };
35 
37 
38 #endif /* polybori_groebner_PolyEntryPtrLmLess_h_ */
#define END_NAMESPACE_PBORIGB
Definition: groebner_defs.h:16
#define BEGIN_NAMESPACE_PBORIGB
Definition: groebner_defs.h:15
This class defines PolyEntry.
Definition: PolyEntry.h:32
This class compares pointers to PolyEntry by their leading monomials.
Definition: PolyEntryPtrLmLess.h:29
bool operator()(const PolyEntry *lhs, const PolyEntry *rhs) const
Definition: PolyEntryPtrLmLess.h:31
Monomial lead
Definition: PolyEntryBase.h:55