PolyBoRi
BlockDegLexOrder.h
Go to the documentation of this file.
1 // -*- c++ -*-
2 //*****************************************************************************
13 //*****************************************************************************
14 
15 #ifndef polybori_BlockDegLexOrder_h_
16 #define polybori_BlockDegLexOrder_h_
17 
18 // include basic definitions
19 #include <polybori/pbori_defs.h>
20 
21 // include base order definitions
24 
26 
33  public CBlockOrderingFacade<BlockDegLexOrder, block_dlex_tag> {
34 
36  typedef BlockDegLexOrder self;
37 
38 public:
39 
41  typedef std::less<idx_type> idx_comparer_type;
42 
45 
47  BlockDegLexOrder(const self& rhs): base(rhs) {};
48 
51 
53  comp_type compare(idx_type, idx_type) const;
54 
56  comp_type compare(const monom_type&, const monom_type&) const;
57 
59  comp_type compare(const exp_type&, const exp_type&) const;
60 
61 };
62 
63 
65 
66 #endif // polybori_BlockDegLexOrder_h_
#define END_NAMESPACE_PBORI
Finish project's namespace.
Definition: pbori_defs.h:77
~BlockDegLexOrder()
Destructor.
Definition: BlockDegLexOrder.h:50
std::less< idx_type > idx_comparer_type
Define binary predicate for index comparision.
Definition: BlockDegLexOrder.h:41
#define BEGIN_NAMESPACE_PBORI
Start project's namespace.
Definition: pbori_defs.h:74
This class implements block orderings for COrderingFacade. OrderType must inherit from COrderingFacad...
Definition: CBlockOrderingFacade.h:28
Definition: COrderingBase.h:43
BlockDegLexOrder()
Default Constructor.
Definition: BlockDegLexOrder.h:44
BlockDegLexOrder(const self &rhs)
Copy Constructor.
Definition: BlockDegLexOrder.h:47
polybori::CTypes::idx_type idx_type
Definition: groebner_defs.h:44
This class defines ordering related functions.
Definition: BlockDegLexOrder.h:32