realroot_doc 0.1.1
/Users/mourrain/Devel/mmx/realroot/include/realroot/monomial_ordering.hpp
Go to the documentation of this file.
00001 #ifndef mmx_realroot_monomial_ordering_hpp
00002 #define mmx_realroot_monomial_ordering_hpp
00003 
00028 namespace mmx {
00029 
00031   struct MonomialOrdering {
00032     virtual bool less(const int *m1, int s1, const int *m2, int s2) const =0;
00033     virtual ~MonomialOrdering () {}
00034   };
00035 
00037   struct DegRevLex: public MonomialOrdering {
00038     bool less(const int *m1, int s1, const int *m2, int s2) const;
00039   };
00040     
00041   struct LexRevDegree: public MonomialOrdering {
00042     bool less(const int *m1, int s1, const int *m2, int s2) const;
00043   };
00044 
00046   struct Lex: public MonomialOrdering {
00047     bool less(const int *m1, int s1, const int *m2, int s2) const;
00048   };
00049 
00050 //====================================================================== 
00051 } //namespace mmx
00052 #endif //mmx_realroot_monomial_ordering_hpp