PolyBoRi
PolyFromPolyEntry.h
Go to the documentation of this file.
1 // -*- c++ -*-
2 //*****************************************************************************
14 //*****************************************************************************
15 
16 #ifndef polybori_groebner_PolyFromPolyEntry_h_
17 #define polybori_groebner_PolyFromPolyEntry_h_
18 
19 // include basic definitions
20 #include "groebner_defs.h"
21 
22 #include "PolyEntry.h"
23 #include <functional>
24 
26 
33  public std::unary_function<PolyEntry, Polynomial> {
34 public:
35  const Polynomial& operator()(const PolyEntry& entry) const {
36  return entry.p;
37  }
38 };
39 
41 
42 #endif /* polybori_groebner_PolyFromPolyEntry_h_ */
Polynomial p
Definition: PolyEntryBase.h:54
#define END_NAMESPACE_PBORIGB
Definition: groebner_defs.h:16
#define BEGIN_NAMESPACE_PBORIGB
Definition: groebner_defs.h:15
This class defines PolyEntry.
Definition: PolyEntry.h:32
This class wraps the underlying decicion diagram type and defines the necessary operations.
Definition: BoolePolynomial.h:85
const Polynomial & operator()(const PolyEntry &entry) const
Definition: PolyFromPolyEntry.h:35
This class defines an operator which extracts the Polynomial from a PolyEntry.
Definition: PolyFromPolyEntry.h:32