|
Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
|
Heap of nodes with virtual destroyer. More...
#include <tpl_binHeap.H>
Public Types | |
| using | Node = BinHeapNodeVtl< Key > |
| El tipo de nodo del heap. | |
Public Types inherited from Aleph::GenBinHeap< NodeType, Key, Compare > | |
| using | Node = NodeType< Key > |
Heap of nodes with virtual destroyer.
The BinHeapVtl class instruments a node heap with a destroyer virtual. This team doesn't is implemented by array, but with a binary tree. This provides the great advantage of being highly dynamic. The memory used is therefore proportional to the amount of nodes of the HEAP.
| Key | the key that each node keeps. |
| Compare | the criterion of comparison between the keys of the Nodes; by default is the relationship "less than". |
Definition at line 1028 of file tpl_binHeap.H.
| using Aleph::BinHeapVtl< Key, Compare >::Node = BinHeapNodeVtl<Key> |
El tipo de nodo del heap.
Definition at line 1031 of file tpl_binHeap.H.