OverSim
|
#include <VastDefs.h>
Public Member Functions | |
HeapPQ () | |
void | PQinitialize (int sqrt_nsites, double ymin, double deltay) |
void | PQreset () |
void | PQinsert (Halfedge *he, Site *v, double offset) |
void | PQdelete (Halfedge *he) |
int | PQbucket (Halfedge *he) |
int | PQempty () |
Vector2D | PQ_min () |
Halfedge * | PQextractmin () |
Protected Attributes | |
int | PQcount |
int | PQmin |
int | PQhashsize |
double | ymin |
double | deltay |
Halfedge * | PQhash |
HeapPQ class.
Maintains a hash table in order to find halfedges in n*log(n) time.
Definition at line 100 of file VastDefs.h.
HeapPQ::HeapPQ | ( | ) |
Definition at line 73 of file VastDefs.cc.
Vector2D HeapPQ::PQ_min | ( | ) |
int HeapPQ::PQbucket | ( | Halfedge * | he | ) |
Definition at line 122 of file VastDefs.cc.
Referenced by PQdelete(), and PQinsert().
void HeapPQ::PQdelete | ( | Halfedge * | he | ) |
int HeapPQ::PQempty | ( | ) |
Definition at line 133 of file VastDefs.cc.
Referenced by Vast::buildVoronoi().
Halfedge * HeapPQ::PQextractmin | ( | ) |
void HeapPQ::PQinitialize | ( | int | sqrt_nsites, |
double | ymin, | ||
double | deltay | ||
) |
Definition at line 78 of file VastDefs.cc.
Referenced by Vast::buildVoronoi().
Definition at line 93 of file VastDefs.cc.
Referenced by Vast::buildVoronoi().
void HeapPQ::PQreset | ( | ) |
|
protected |
Definition at line 115 of file VastDefs.h.
Referenced by PQbucket(), and PQinitialize().
|
protected |
Definition at line 114 of file VastDefs.h.
Referenced by PQdelete(), PQempty(), PQextractmin(), PQinitialize(), and PQinsert().
|
protected |
Definition at line 116 of file VastDefs.h.
Referenced by HeapPQ(), PQ_min(), PQdelete(), PQextractmin(), PQinitialize(), PQinsert(), and PQreset().
|
protected |
Definition at line 114 of file VastDefs.h.
Referenced by PQbucket(), and PQinitialize().
|
protected |
Definition at line 114 of file VastDefs.h.
Referenced by PQ_min(), PQbucket(), PQextractmin(), and PQinitialize().
|
protected |
Definition at line 115 of file VastDefs.h.
Referenced by PQbucket(), and PQinitialize().