PolyMonomialPairComparerLexLess.h
Go to the documentation of this file.
// -*- c++ -*-
//*****************************************************************************
//*****************************************************************************
#ifndef polybori_groebner_PolyMonomialPairComparerLexLess_h_
#define polybori_groebner_PolyMonomialPairComparerLexLess_h_
// include basic definitions
#include "groebner_defs.h"
#include <utility>
BEGIN_NAMESPACE_PBORIGB
class PolyMonomialPairComparerLexLess{
public:
LexOrder o;
bool operator() (const std::pair<Polynomial,Monomial>& a,
const std::pair<Polynomial, Monomial>& b){
return o.compare(a.second,b.second)==BoolePolyRing::less_than;
}
};
END_NAMESPACE_PBORIGB
#endif /* polybori_PolyMonomialPairComparerLexLess_h_ */