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 [ファイル一覧]