47 #ifndef OGDF_MIN_HEAP_H
48 #define OGDF_MIN_HEAP_H
74 bool operator<(const Prioritized<X,Priority>& P)
const {
return p<P.p; }
76 bool operator<=(const Prioritized<X,Priority>& P)
const {
return p<=P.p; }
102 template<
class X,
class INDEX =
int>
164 while( (papa = idx/2) > 0) {
176 if( (son = 2*papa) <
num &&
data[son+1] <
data[son] )
195 template<
class X,
class INDEX =
int>
294 template<
class X,
class Priority=
double,
class STATICCOMPARER=StdComparer<X>,
class INDEX =
int >