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 [文件列表]