PolyBoRi
IJPairData.h
Go to the documentation of this file.
1 // -*- c++ -*-
2 //*****************************************************************************
14 //*****************************************************************************
15 
16 #ifndef polybori_groebner_IJPairData_h_
17 #define polybori_groebner_IJPairData_h_
18 
19 // include basic definitions
20 #include "groebner_defs.h"
21 
23 
28 class IJPairData: public PairData{
29 public:
30  int i;
31  int j;
33  return spoly(v[i].p,v[j].p);
34  }
35  IJPairData(int i, int j){
36  this->i=i;
37  this->j=j;
38  }
39 };
40 
42 
43 #endif /* polybori_IJPairData_h_ */
Definition: PolyEntryVector.h:28
BoolePolynomial spoly(const BoolePolynomial &first, const BoolePolynomial &second)
Compute spoly of two polynomials.
Definition: pbori_algorithms.h:42
#define END_NAMESPACE_PBORIGB
Definition: groebner_defs.h:16
IJPairData(int i, int j)
Definition: IJPairData.h:35
This class defines IJPairData.
Definition: IJPairData.h:28
#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
This class defines PairData.
Definition: PairData.h:30
Polynomial extract(const PolyEntryVector &v) const
Definition: IJPairData.h:32
int i
Definition: IJPairData.h:30
int j
Definition: IJPairData.h:31