Class: Heap::MultipleHeap::MinHeap
- Inherits:
-
MultipleHeap
- Object
- HeapTemplate
- MultipleHeap
- Heap::MultipleHeap::MinHeap
- Defined in:
- lib/Heap/multiple_heap/multiple_heap_min.rb
Overview
Multiple Heap with min root
Instance Attribute Summary
Attributes inherited from MultipleHeap
Attributes inherited from HeapTemplate
Instance Method Summary collapse
Methods inherited from HeapTemplate
Instance Method Details
#extract_min ⇒ Object
5 6 7 |
# File 'lib/Heap/multiple_heap/multiple_heap_min.rb', line 5 def extract_min extract_root end |
#extract_min! ⇒ Object
9 10 11 |
# File 'lib/Heap/multiple_heap/multiple_heap_min.rb', line 9 def extract_min! extract_root! end |