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 кБ43 кБ [списък на файловете]