斐波那契数,二进制,或者C#二项式堆?二项式堆

2023-09-03 09:39:09 作者:轉身、巳陌路

是否有任何堆数据结构的实现在那里,斐波那契,二进制或二项?

Are there any heap data structure implementations out there, fibonacci, binary, or binomial?

参考:这些是用于实现优先级队列,而不是用于分配动态存储器的那些数据结构。请参阅http://en.wikipedia.org/wiki/Heap_(data_structure)

Reference: These are data structures used to implement priority queues, not the ones used to allocate dynamic memory. See http://en.wikipedia.org/wiki/Heap_(data_structure)

谢谢, 戴夫

推荐答案

我不知道有任何本机框架实现。

I don't know of any native framework implementation.

我发现二叉堆的两种实现(链接1 ,链接2 )和一个实现在F#二项堆(链接)的。

I found two implementations of binary heap (link 1, link 2) and one implementation of binomial heap in f# (link).

相关推荐