ExpGreater.h
Go to the documentation of this file.
// -*- c++ -*-
//*****************************************************************************
//*****************************************************************************
#ifndef polybori_groebner_ExpGreater_h_
#define polybori_groebner_ExpGreater_h_
// include basic definitions
#include "groebner_defs.h"
BEGIN_NAMESPACE_PBORIGB
class ExpGreater:
public CFactoryBase {
public:
ExpGreater(const BoolePolyRing& ring): CFactoryBase(ring) {}
bool operator()(const BooleExponent& lhs,
const BooleExponent& rhs) const {
return parent().ordering().compare(lhs,rhs)==CTypes::greater_than;
}
};
END_NAMESPACE_PBORIGB
#endif /* polybori_ExpGreater_h_ */
polybori::BooleExponent
This class is just a wrapper for using variables for storing indices as interim data structure for Bo...
Definition: BooleExponent.h:34
polybori::groebner::ExpGreater::operator()
bool operator()(const BooleExponent &lhs, const BooleExponent &rhs) const
Definition: ExpGreater.h:33
polybori::groebner::ExpGreater::ExpGreater
ExpGreater(const BoolePolyRing &ring)
Definition: ExpGreater.h:31
END_NAMESPACE_PBORIGB
#define END_NAMESPACE_PBORIGB
Definition: groebner_defs.h:16
polybori::BoolePolyRing
This class reinterprets decicion diagram managers as Boolean polynomial rings, adds an ordering and v...
Definition: BoolePolyRing.h:40
BEGIN_NAMESPACE_PBORIGB
#define BEGIN_NAMESPACE_PBORIGB
Definition: groebner_defs.h:15
groebner_defs.h
polybori::CFactoryBase
This base class CFactoryBase is used for currying other constructors with a BoolePolyRing.
Definition: CFactoryBase.h:35
polybori::groebner::ExpGreater
This class defines ExpGreater.
Definition: ExpGreater.h:28