Template Class MinHeap

Nested Relationships

Nested Types

Class Documentation

template<typename KeyType, typename DataType>
class n2::MinHeap

Public Functions

MinHeap()
const KeyType top_key()
Item top()
void pop()
void push(const KeyType &key, const DataType &data)
size_t size()
class Item

Public Functions

Item()
Item(const KeyType &key)
Item(const KeyType &key, const DataType &data)
bool operator<(const Item &i2) const

Public Members

KeyType key
DataType data