PolyBoRi
IJPairData.h
Go to the documentation of this file.
00001 // -*- c++ -*-
00002 //*****************************************************************************
00014 //*****************************************************************************
00015 
00016 #ifndef polybori_groebner_IJPairData_h_
00017 #define polybori_groebner_IJPairData_h_
00018 
00019 // include basic definitions
00020 #include "groebner_defs.h"
00021 
00022 BEGIN_NAMESPACE_PBORIGB
00023 
00028 class IJPairData: public PairData{
00029 public:
00030   int i;
00031   int j;
00032   Polynomial extract(const PolyEntryVector& v) const {
00033     return spoly(v[i].p,v[j].p);
00034   }
00035   IJPairData(int i, int j){
00036     this->i=i;
00037     this->j=j;
00038   }
00039 };
00040 
00041 END_NAMESPACE_PBORIGB
00042 
00043 #endif /* polybori_IJPairData_h_ */