|
Macaulay2 Engine
|
#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< MonomialView > | mMonomialPointers |
| std::vector< HashInt > | mHashValues |
| MonomialHashFunction | mHashFunction |
| unsigned int | mLog2Size |
| unsigned long | mHashMask |
| unsigned long | mThreshold |
| std::vector< MonomialIndex > | mBuckets |
| HashTableStats | mStats |
Definition at line 162 of file MonomialHashTable.hpp.