HeapHandleArray< DataConstIterator, HeapIterator > Class Template Reference

A functor for getting handles into a heap. More...

#include <HeapHandleArray.h>

List of all members.

Public Types

typedef DataConstIterator data_const_iterator
 A const iterator into the data array.
typedef HeapIterator heap_iterator
 An iterator into the heap.

Public Member Functions

 HeapHandleArray ()
 Default constructor. Invalid pointers.
template<class DataArray , class HandleArray >
 HeapHandleArray (const DataArray &data, HandleArray &handles)
 Construct from the data array and the handle array.
 HeapHandleArray (const HeapHandleArray &x)
 Copy constructor.
heap_iterator operator() (data_const_iterator h) const
 Return the heap iterator for the handle.
heap_iteratoroperator() (data_const_iterator h)
 Return a reference to the heap iterator for the handle.
template<class DataArray , class HandleArray >
void initialize (const DataArray &data, HandleArray &handles)
 Initialize from the data array and the handle array.

Detailed Description

template<typename DataConstIterator, typename HeapIterator>
class HeapHandleArray< DataConstIterator, HeapIterator >

A functor for getting handles into a heap.

Parameters:
DataConstIterator is a random access const iterator into the data array.
HeapIterator is a random access iterator into the heap.

The documentation for this class was generated from the following file:
Generated on Thu Jun 30 02:14:51 2016 for Algorithms and Data Structures Package by  doxygen 1.6.3