PolyBoRi
GetNthPoly.h
Go to the documentation of this file.
1 // -*- c++ -*-
2 //*****************************************************************************
14 //*****************************************************************************
15 
16 #ifndef polybori_groebner_GetNthPoly_h_
17 #define polybori_groebner_GetNthPoly_h_
18 
19 // include basic definitions
20 #include "groebner_defs.h"
21 
22 #include "ReductionStrategy.h"
23 
25 
32 class GetNthPoly {
33 public:
34  GetNthPoly(ReductionStrategy& strat): m_strat(strat) {}
35 
36  template <class KeyType>
37  const Polynomial& operator()(const KeyType& key) {
38  return m_strat[key].p;
39  }
40 
42 };
43 
45 
46 #endif /* polybori_groebner_GetNthPoly_h_ */
GetNthPoly(ReductionStrategy &strat)
Definition: GetNthPoly.h:34
#define END_NAMESPACE_PBORIGB
Definition: groebner_defs.h:16
#define BEGIN_NAMESPACE_PBORIGB
Definition: groebner_defs.h:15
This class wraps the underlying decicion diagram type and defines the necessary operations.
Definition: BoolePolynomial.h:85
const Polynomial & operator()(const KeyType &key)
Definition: GetNthPoly.h:37
ReductionStrategy & m_strat
Definition: GetNthPoly.h:41
This class defines ReductionStrategy.
Definition: ReductionStrategy.h:34
Definition: GetNthPoly.h:32