|
Macaulay2 Engine
|
Comparator that orders pre_spair* pointers by the quot varpower monomial of each pre-S-pair. More...
#include <f4-types.hpp>
Public Types | |
| typedef pre_spair * | value |
Public Member Functions | |
| int | compare (value a, value b) |
| bool | operator() (value a, value b) |
| PreSPairSorter () | |
| void | reset_ncomparisons () |
| long | ncomparisons () const |
| ~PreSPairSorter () | |
Static Private Attributes | |
| static long | ncmps = 0 |
Comparator that orders pre_spair* pointers by the quot varpower monomial of each pre-S-pair.
Uses varpower_monomials::compare directly and keeps a single ncmps profiling counter. Applied during S-pair generation, before the pre-pairs are promoted to full spairs.
Definition at line 299 of file f4-types.hpp.