35 template<
class HT_TYPE>
54 int useIndexL=0, useIndexR=0;
58 if (((*(*
this)[index]).*compare)(*(*
this)[indexL])<0)
63 if (((*(*
this)[index]).*compare)(*(*
this)[indexR])<0)
66 if (useIndexR && useIndexL){
68 if (((*(*
this)[indexL]).*compare)(*(*
this)[indexR])<0)
107 if ((*(*
this)[parent].*compare)(*(*
this)[index])<0){
124 unsigned int index=0;
139 if (vector<HT_TYPE*>::size()!=ll.
getCount())
144 for (
int i=0; i<vector<HT_TYPE*>::size(); i++)
152 for (
int i=0;i<HeapTreeType<HT_TYPE*>::unsortedCount; i++){
169 #endif //HEAP_TREE_H_