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

Variant of OurQueueConfiguration with deduplication enabled, used by makeQueue1(). More...

Public Types

enum class  CompareResult { LT , EQ , GT }
using Entry = int

Public Member Functions

CompareResult compare (const Entry &a, const Entry &b) const
bool cmpLessThan (CompareResult a) const
bool cmpEqual (CompareResult a) const
Entry deduplicate (Entry a, Entry b) const

Public Attributes

const size_t minBucketSize = 2
const size_t geoBase = 4

Static Public Attributes

static const size_t insertFactor = 4
static const bool supportDeduplication = true
static const bool minBucketBinarySearch = false
static const bool trackFront = true
static const bool premerge = false
static const bool collectMax = true
static const mathic::GeobucketBucketStorage bucketStorage = mathic::GeoStoreSameSizeBuffer

Detailed Description

Variant of OurQueueConfiguration with deduplication enabled, used by makeQueue1().

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

deduplicate(a, b) returns a + b + 1000, a sentinel value chosen so that the geobucket can be observed to call into the deduplicate path during testing. Like its sibling, this configuration is scaffolding rather than a real reduction backend.

Definition at line 104 of file NCReduction.cpp.


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