Skip to content
Sections
>> Trisquel >> 软件包 >> aramo >> devel >> golang-github-aalpar-deheap-dev
aramo  ]
[ 源代码: golang-github-aalpar-deheap  ]

软件包: golang-github-aalpar-deheap-dev (0.0~git20200318.9a0c288-2)

Doubly ended heap implementation (library)

deheap provides the implementation of a doubly ended heap. Doubly ended heaps are heaps with two sides, a min side and a max side. Like normal single-sided heaps, elements can be pushed onto and pulled off of a deheap. deheaps have an additional Pop function, PopMax, that returns elements from the opposite side of the ordering.

This implementation has emphasized compatibility with existing libraries in the sort and heap packages.

Performance of the deheap functions should be very close to the performance of the functions of the heap library

下载 golang-github-aalpar-deheap-dev

下载可用于所有硬件架构的
硬件架构 软件包大小 安装后大小 文件
all 7.4 kB43 kB [文件列表]