LMLessCompare.h
Go to the documentation of this file.
// -*- c++ -*-
//*****************************************************************************
//*****************************************************************************
#ifndef polybori_groebner_LMLessCompare_h_
#define polybori_groebner_LMLessCompare_h_
// include basic definitions
#include "groebner_defs.h"
BEGIN_NAMESPACE_PBORIGB
class LMLessCompare{
public:
bool operator() (const Polynomial& p1, const Polynomial& p2){
return p1.lead()<p2.lead();
}
};
END_NAMESPACE_PBORIGB
#endif /* polybori_groebner_LMLessCompare_h_ */
polybori::groebner::LMLessCompare
This class defines LMLessCompare.
Definition: LMLessCompare.h:29
polybori::BoolePolynomial::lead
monom_type lead() const
Get leading term.
Definition: BoolePolynomial.cc:225
END_NAMESPACE_PBORIGB
#define END_NAMESPACE_PBORIGB
Definition: groebner_defs.h:16
BEGIN_NAMESPACE_PBORIGB
#define BEGIN_NAMESPACE_PBORIGB
Definition: groebner_defs.h:15
polybori::BoolePolynomial
This class wraps the underlying decicion diagram type and defines the necessary operations.
Definition: BoolePolynomial.h:85
groebner_defs.h