PolyFromPolyEntry.h
Go to the documentation of this file.
// -*- c++ -*-
//*****************************************************************************
//*****************************************************************************
#ifndef polybori_groebner_PolyFromPolyEntry_h_
#define polybori_groebner_PolyFromPolyEntry_h_
// include basic definitions
#include "groebner_defs.h"
#include "PolyEntry.h"
#include <functional>
BEGIN_NAMESPACE_PBORIGB
class PolyFromPolyEntry:
public std::unary_function<PolyEntry, Polynomial> {
public:
const Polynomial& operator()(const PolyEntry& entry) const {
return entry.p;
}
};
END_NAMESPACE_PBORIGB
#endif /* polybori_groebner_PolyFromPolyEntry_h_ */
polybori::groebner::PolyEntryBase::p
Polynomial p
Definition: PolyEntryBase.h:54
END_NAMESPACE_PBORIGB
#define END_NAMESPACE_PBORIGB
Definition: groebner_defs.h:16
PolyEntry.h
BEGIN_NAMESPACE_PBORIGB
#define BEGIN_NAMESPACE_PBORIGB
Definition: groebner_defs.h:15
polybori::groebner::PolyEntry
This class defines PolyEntry.
Definition: PolyEntry.h:32
polybori::BoolePolynomial
This class wraps the underlying decicion diagram type and defines the necessary operations.
Definition: BoolePolynomial.h:85
groebner_defs.h
polybori::groebner::PolyFromPolyEntry::operator()
const Polynomial & operator()(const PolyEntry &entry) const
Definition: PolyFromPolyEntry.h:35
polybori::groebner::PolyFromPolyEntry
This class defines an operator which extracts the Polynomial from a PolyEntry.
Definition: PolyFromPolyEntry.h:32