Macaulay2 Engine
Loading...
Searching...
No Matches
newf4::MonomialHashTable Class Reference

#include <MonomialHashTable.hpp>

Public Member Functions

 MonomialHashTable (int log2size=19)
 ~MonomialHashTable ()
void reset ()
auto find (const MonomialView &m, HashInt mhash) -> MonomialIndex
 Essentially the previous case when monomial(n) = monomial 1.
auto find (const MonomialView &m) -> MonomialIndex
auto monomialAt (MonomialIndex m) const -> MonomialView
auto size () const -> size_t
 The actual number of monomials in the table.
void dump () const
 stats and debugging information.
void dumpBuckets () const

Private Member Functions

void reInsert (MonomialIndex i)
void grow ()

Private Attributes

MemoryBlock mMonomialSpace
std::vector< MonomialViewmMonomialPointers
std::vector< HashIntmHashValues
MonomialHashFunction mHashFunction
unsigned int mLog2Size
unsigned long mHashMask
unsigned long mThreshold
std::vector< MonomialIndexmBuckets
HashTableStats mStats

Detailed Description

Definition at line 162 of file MonomialHashTable.hpp.


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