GRASS Programmer's Manual  6.4.2(2012)
MinMaxHeap< T > Class Template Reference

#include <minmaxheap.h>

Inheritance diagram for MinMaxHeap< T >:
Collaboration diagram for MinMaxHeap< T >:

Public Member Functions

 MinMaxHeap (HeapIndex size)
virtual ~MinMaxHeap ()
bool full (void) const
HeapIndex get_maxsize () const
HeapIndex fill (T *arr, HeapIndex n)

Protected Member Functions

virtual void grow ()

Detailed Description

template<class T>
class MinMaxHeap< T >

Definition at line 725 of file minmaxheap.h.


Constructor & Destructor Documentation

template<class T >
MinMaxHeap< T >::MinMaxHeap ( HeapIndex  size) [inline]

Definition at line 727 of file minmaxheap.h.

template<class T >
virtual MinMaxHeap< T >::~MinMaxHeap ( ) [inline, virtual]

Definition at line 728 of file minmaxheap.h.


Member Function Documentation

template<class T >
HeapIndex MinMaxHeap< T >::fill ( T *  arr,
HeapIndex  n 
)

Definition at line 742 of file minmaxheap.h.

template<class T >
bool MinMaxHeap< T >::full ( void  ) const [inline]

Definition at line 729 of file minmaxheap.h.

template<class T >
HeapIndex MinMaxHeap< T >::get_maxsize ( ) const [inline]

Definition at line 730 of file minmaxheap.h.

template<class T >
virtual void MinMaxHeap< T >::grow ( ) [inline, protected, virtual]

Implements BasicMinMaxHeap< T >.

Definition at line 734 of file minmaxheap.h.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines