PolyBoRi
LessWeightedLengthInStrat.h
Go to the documentation of this file.
1 // -*- c++ -*-
2 //*****************************************************************************
14 //*****************************************************************************
15 
16 #ifndef polybori_groebner_LessWeightedLengthInStrat_h_
17 #define polybori_groebner_LessWeightedLengthInStrat_h_
18 
19 // include basic definitions
20 #include "ReductionStrategy.h"
21 #include "groebner_defs.h"
22 
24 
30 public:
33  this->strat=&strat;
34  }
35  bool operator() (const Monomial& a , const Monomial& b){
36  return (*strat)[a].weightedLength<(*strat)[b].weightedLength;
37 
38  }
39  bool operator() (const Exponent& a , const Exponent& b){
40  return (*strat)[a].weightedLength<(*strat)[b].weightedLength;
41 
42  }
43 };
44 
46 
47 #endif /* polybori_LessWeightedLengthInStrat_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
This class defines LessWeightedLengthInStrat.
Definition: LessWeightedLengthInStrat.h:29
#define BEGIN_NAMESPACE_PBORIGB
Definition: groebner_defs.h:15
const ReductionStrategy * strat
Definition: LessWeightedLengthInStrat.h:31
LessWeightedLengthInStrat(const ReductionStrategy &strat)
Definition: LessWeightedLengthInStrat.h:32
This class defines ReductionStrategy.
Definition: ReductionStrategy.h:34
This class is just a wrapper for using variables from cudd's decicion diagram.
Definition: BooleMonomial.h:50