1 
2 /*
3  * (c) Oleg Puchinin 2012
4  * graycardinalster@gmail.com
5  *
6  */
7 
8 #ifndef DHEAP_SORT_H
9 #define DHEAP_SORT_H
10 
11 class DHeapSort
12 {
13 	public:
14 		char ** h;
15 		int size;
16 
17 		DHeapSort (int);
18 		~DHeapSort ();
19 
20 		char * add (char *x);
21 		char * extract_min ();
22 
23 	private:
24 		void checkup (int c);
25 		void checkdown (int c);
26 
27 };
28 
29 #endif
30 
31