diff options
Diffstat (limited to 'include/BinHeap.h')
-rw-r--r-- | include/BinHeap.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/BinHeap.h b/include/BinHeap.h index c67239c..879267a 100644 --- a/include/BinHeap.h +++ b/include/BinHeap.h @@ -1,18 +1,20 @@ #ifndef __BINHEAP_H__ #define __BINHEAP_H__ #include <PCommon.h> +#include <CList.h> #define GRANUL 8 struct binheap_t { Key_t Key; Datas_t Datas; + Cell FP; }; #ifdef __cplusplus -typedef class BinHeap:public PriorityList { - private: +typedef class BinHeap:public PriorityList { private: void PackUp(int i); + CList *FP; public: BinHeap(void); // Constructor virtual ~ BinHeap(void); // Destructor |