PolyBoRi
ShorterEliminationLength.h
Go to the documentation of this file.
1 // -*- c++ -*-
2 //*****************************************************************************
14 //*****************************************************************************
15 
16 #ifndef polybori_groebner_ShorterEliminationLength_h_
17 #define polybori_groebner_ShorterEliminationLength_h_
18 
19 // include basic definitions
20 #include "groebner_defs.h"
21 #include "GroebnerStrategy.h"
22 
24 
30  public:
34  this->el=el;
35  this->strat=&strat;
36  }
37  bool operator() (const Exponent& e){
38  return (strat->generators[e].weightedLength<=el);
39  }
40 };
41 
43 
44 #endif /* polybori_ShorterEliminationLength_h_ */
This class is just a wrapper for using variables for storing indices as interim data structure for Bo...
Definition: BooleExponent.h:34
#define END_NAMESPACE_PBORIGB
Definition: groebner_defs.h:16
ShorterEliminationLength(const GroebnerStrategy &strat, wlen_type el)
Definition: ShorterEliminationLength.h:33
#define BEGIN_NAMESPACE_PBORIGB
Definition: groebner_defs.h:15
ReductionStrategy generators
Definition: GroebnerStrategy.h:204
const GroebnerStrategy * strat
Definition: ShorterEliminationLength.h:31
This class defines GroebnerStrategy.
Definition: GroebnerStrategy.h:41
wlen_type el
Definition: ShorterEliminationLength.h:32
long wlen_type
Definition: groebner_defs.h:39
This class defines ShorterEliminationLength.
Definition: ShorterEliminationLength.h:29