Macaulay2 Engine
Loading...
Searching...
No Matches

◆ s_pair_heap()

s_pair_heap::s_pair_heap ( const Monoid * M)

Definition at line 21 of file spair.cpp.

21 : M(MM), top_of_heap(-1), nelems(0)
22{
23 int i;
24 for (i = 0; i < NHEAP; i++)
25 {
26 heap[i] = nullptr;
27 n_in_heap[i] = 0;
28 }
29}
s_pair * heap[NHEAP]
Definition spair.hpp:108
int n_in_heap[NHEAP]
Definition spair.hpp:109
int top_of_heap
Definition spair.hpp:110
const Monoid * M
Definition spair.hpp:106
const int NHEAP
Definition spair.hpp:102

References heap, M, n_in_heap, nelems, NHEAP, and top_of_heap.