Macaulay2 Engine
Loading...
Searching...
No Matches
PreSPairSorter Class Reference

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_spairvalue

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

Detailed Description

Comparator that orders pre_spair* pointers by the quot varpower monomial of each pre-S-pair.

Note
AI-generated documentation. Verify against the source before relying on it.

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.


The documentation for this class was generated from the following files: