PolyEntryPtrLmLess.h
Go to the documentation of this file.
// -*- c++ -*-
//*****************************************************************************
//*****************************************************************************
#ifndef polybori_groebner_PolyEntryPtrLmLess_h_
#define polybori_groebner_PolyEntryPtrLmLess_h_
// include basic definitions
#include "groebner_defs.h"
#include "PolyEntry.h"
BEGIN_NAMESPACE_PBORIGB
class PolyEntryPtrLmLess {
public:
bool operator()(const PolyEntry* lhs, const PolyEntry* rhs) const {
return lhs->lead < rhs->lead;
}
};
END_NAMESPACE_PBORIGB
#endif /* polybori_groebner_PolyEntryPtrLmLess_h_ */
END_NAMESPACE_PBORIGB
#define END_NAMESPACE_PBORIGB
Definition: groebner_defs.h:16
PolyEntry.h
BEGIN_NAMESPACE_PBORIGB
#define BEGIN_NAMESPACE_PBORIGB
Definition: groebner_defs.h:15
polybori::groebner::PolyEntry
This class defines PolyEntry.
Definition: PolyEntry.h:32
polybori::groebner::PolyEntryPtrLmLess
This class compares pointers to PolyEntry by their leading monomials.
Definition: PolyEntryPtrLmLess.h:29
groebner_defs.h
polybori::groebner::PolyEntryPtrLmLess::operator()
bool operator()(const PolyEntry *lhs, const PolyEntry *rhs) const
Definition: PolyEntryPtrLmLess.h:31
polybori::groebner::PolyEntryBase::lead
Monomial lead
Definition: PolyEntryBase.h:55