49#ifdef FOR_TRITE_TEST_PROGRAM
50#define LEQ(x,y) (*pq->leq)(x,y)
54#define LEQ(x,y) VertLeq((GLUvertex *)x, (GLUvertex *)y)
66 if (pq->nodes ==
NULL) {
72 if (pq->handles ==
NULL) {
78 pq->initialized =
FALSE;
82 pq->nodes[1].handle = 1;
83 pq->handles[1].key =
NULL;
155 for( i = pq->size; i >= 1; --i ) {
158 pq->initialized =
TRUE;
169 if( (
curr*2) > pq->max ) {
177 ((pq->max + 1) *
sizeof( pq->nodes[0] )));
178 if (pq->nodes ==
NULL) {
185 sizeof( pq->handles[0] )));
186 if (pq->handles ==
NULL) {
192 if( pq->freeList == 0 ) {
203 if( pq->initialized ) {
219 n[1].handle =
n[pq->size].handle;
220 h[
n[1].handle].node = 1;
223 h[
hMin].node = pq->freeList;
226 if( -- pq->size > 0 ) {
243 n[
curr].handle =
n[pq->size].handle;
254 h[
hCurr].node = pq->freeList;
255 pq->freeList =
hCurr;
size_t size(const MatrixT &matrix)
retrieve the size of a square matrix
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t child
static void FloatUp(PriorityQHeap *pq, long curr)
static void FloatDown(PriorityQHeap *pq, long curr)
#define pqNewPriorityQ(leq)
#define pqDeletePriorityQ(pq)
#define pqDelete(pq, handle)
#define pqInsert(pq, key)