Implementation of a binomial heap data structure, i.e. a
priority datastructure with push
and pop
in amortized
O(log n). binomial_heap
wraps a boost::binomial_heap
using Rcpp modules. The heap consists of nodes with
keys and values where the key determines the priority in the heap.
Also see the binomial_heap
class.
.heap
C++
object representing a heap
.key.class
the class of the keys
binomial_heap
for creating a new binomial_heap
object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.