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_ */
polybori::LexOrder::compare
comp_type compare(idx_type, idx_type) const
Comparison of indices corresponding to variables.
Definition: LexOrder.cc:81
polybori::BooleExponent
This class is just a wrapper for using variables for storing indices as interim data structure for Bo...
Definition: BooleExponent.h:34
END_NAMESPACE_PBORIGB
#define END_NAMESPACE_PBORIGB
Definition: groebner_defs.h:16
polybori::groebner::ExpLexLess
This class defines ExpLexLess.
Definition: ExpLexLess.h:29
BEGIN_NAMESPACE_PBORIGB
#define BEGIN_NAMESPACE_PBORIGB
Definition: groebner_defs.h:15
groebner_defs.h
polybori::groebner::ExpLexLess::operator()
bool operator()(const Exponent &lhs, const Exponent &rhs) const
Definition: ExpLexLess.h:31
polybori::LexOrder
This class defines ordering related functions.
Definition: LexOrder.h:33