BlockDegRevLexAscOrder.h
Go to the documentation of this file.
// -*- c++ -*-
//*****************************************************************************
//*****************************************************************************
#ifndef polybori_BlockDegRevLexAscOrder_h_
#define polybori_BlockDegRevLexAscOrder_h_
// include basic definitions
#include <polybori/pbori_defs.h>
// include base order definitions
#include <polybori/orderings/CBlockOrderingFacade.h>
#include <polybori/orderings/COrderingTags.h>
BEGIN_NAMESPACE_PBORI
class BlockDegRevLexAscOrder:
public CBlockOrderingFacade<BlockDegRevLexAscOrder, block_dp_asc_tag> {
typedef BlockDegRevLexAscOrder self;
public:
typedef std::greater<idx_type> idx_comparer_type;
BlockDegRevLexAscOrder(): base() {};
BlockDegRevLexAscOrder(const self& rhs): base(rhs) {};
~BlockDegRevLexAscOrder() {};
comp_type compare(idx_type, idx_type) const;
comp_type compare(const monom_type&, const monom_type&) const;
comp_type compare(const exp_type&, const exp_type&) const;
};
END_NAMESPACE_PBORI
#endif // polybori_BlockDegRevLexAscOrder_h_