MonomialHasher.h
Go to the documentation of this file.
// -*- c++ -*-
//*****************************************************************************
//*****************************************************************************
#ifndef polybori_groebner_MonomialHasher_h_
#define polybori_groebner_MonomialHasher_h_
// include basic definitions
#include "groebner_defs.h"
BEGIN_NAMESPACE_PBORIGB
class MonomialHasher{
public:
size_t operator() (const Monomial & m) const{
return m.hash();
}
};
END_NAMESPACE_PBORIGB
#endif /* polybori_MonomialHasher_h_ */