binaryheap.hpp File Reference

Binary heap implementation. More...

#include "../core/alloc_func.hpp"

Go to the source code of this file.

Data Structures

class  CBinaryHeapT< T >
 Binary Heap as C++ template. More...

Defines

#define BINARYHEAP_CHECK   0
 Enable it if you suspect binary heap doesn't work well.
#define CHECK_CONSISTY()   ;
 Don't check for consistency.

Detailed Description

Binary heap implementation.

Definition in file binaryheap.hpp.


Define Documentation

 
#define CHECK_CONSISTY (  )     ;

Don't check for consistency.

Definition at line 25 of file binaryheap.hpp.

Referenced by CBinaryHeapT< Titem_ >::Include(), CBinaryHeapT< Titem_ >::Remove(), and CBinaryHeapT< Titem_ >::Shift().


Generated on Fri May 27 04:19:56 2011 for OpenTTD by  doxygen 1.6.1