Workshop o mikrokontrolérech na SKSP 2024.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
650 B

2 months ago
Binomial heaps
==============
* <<intro,Introduction>>
* <<common,Common definitions>>
* <<generator,Interface to the generator>>
[[intro]]
Introduction
------------
Binomial heap is a data structure that supports for example efficient merge of two heaps, insertions, deletions or access to the minimum element.
All these operations are logarithimc in the worst case. If the merge is not significat, it is usually better to use simplier <<heap:,binary heaps>>.
They are defined in `ucw/binheap.h` as <<generic:,generics generated by preprocessor>>, some common definitions are also in `ucw/binheap-node.h`.
!!ucw/binheap-node.h
!!ucw/binheap.h