ExpLexLess.h
Go to the documentation of this file.
// -*- c++ -*-
//*****************************************************************************
//*****************************************************************************
#ifndef polybori_groebner_ExpLexLess_h_
#define polybori_groebner_ExpLexLess_h_
// include basic definitions
#include "groebner_defs.h"
BEGIN_NAMESPACE_PBORIGB
class ExpLexLess {
public:
bool operator()(const Exponent&lhs, const Exponent& rhs) const {
return LexOrder().compare(lhs, rhs)==CTypes::less_than;
}
};
END_NAMESPACE_PBORIGB
#endif /* polybori_groebner_ExpLexLess_h_ */