IsEcart0Predicate.h
Go to the documentation of this file.
// -*- c++ -*-
//*****************************************************************************
//*****************************************************************************
#ifndef polybori_groebner_IsEcart0Predicate_h_
#define polybori_groebner_IsEcart0Predicate_h_
// include basic definitions
#include "groebner_defs.h"
#include "ReductionStrategy.h"
BEGIN_NAMESPACE_PBORIGB
class IsEcart0Predicate{
public:
IsEcart0Predicate(const ReductionStrategy& strat){
this->strat=&strat;
}
bool operator() (const Exponent& e){
return (*strat)[e].ecart()==0;
}
private:
const ReductionStrategy* strat;
};
END_NAMESPACE_PBORIGB
#endif /* polybori_IsEcart0Predicate_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
END_NAMESPACE_PBORIGB
#define END_NAMESPACE_PBORIGB
Definition: groebner_defs.h:16
BEGIN_NAMESPACE_PBORIGB
#define BEGIN_NAMESPACE_PBORIGB
Definition: groebner_defs.h:15
groebner_defs.h
polybori::groebner::IsEcart0Predicate
This class defines IsEcart0Predicate.
Definition: IsEcart0Predicate.h:29
ReductionStrategy.h
polybori::groebner::IsEcart0Predicate::IsEcart0Predicate
IsEcart0Predicate(const ReductionStrategy &strat)
Definition: IsEcart0Predicate.h:31
polybori::groebner::ReductionStrategy
This class defines ReductionStrategy.
Definition: ReductionStrategy.h:34