Developer Documentation
ACG::HeapInterfaceT< HeapEntry > Struct Template Reference

#include <OpenFlipper/libs_required/ACG/Utils/HeapT.hh>

Public Member Functions

bool less (const HeapEntry &_e1, const HeapEntry &_e2)
 Comparison of two HeapEntry's: strict less.
 
bool greater (const HeapEntry &_e1, const HeapEntry &_e2)
 Comparison of two HeapEntry's: strict greater.
 
int get_heap_position (const HeapEntry &_e)
 Get the heap position of HeapEntry _e.
 
void set_heap_position (HeapEntry &_e, int _i)
 Set the heap position of HeapEntry _e.
 

Detailed Description

template<class HeapEntry>
struct ACG::HeapInterfaceT< HeapEntry >

This class demonstrates the HeapInterface's interface. If you want to build your customized heap you will have to specify a heap interface class and use this class as a template parameter for the class HeapT. This class defines the interface that this heap interface has to implement.

See also
ACG::HeapT

Definition at line 81 of file HeapT.hh.


The documentation for this struct was generated from the following file: