PostGIS 3.7.0dev-r@@SVN_REVISION@@
Loading...
Searching...
No Matches

◆ initiate_minheap()

static MINHEAP initiate_minheap ( int  npoints)
static

Definition at line 51 of file effectivearea.c.

52{
53 MINHEAP tree;
54 tree.key_array = lwalloc(npoints*sizeof(void*));
55 tree.maxSize=npoints;
56 tree.usedSize=0;
57 return tree;
58}
void * lwalloc(size_t size)
Definition lwutil.c:227
areanode ** key_array
This structure holds a minheap tree that is used to keep track of what points that has the smallest e...

References MINHEAP::key_array, lwalloc(), MINHEAP::maxSize, and MINHEAP::usedSize.

Referenced by tune_areas().

Here is the call graph for this function:
Here is the caller graph for this function: