Description Usage Arguments Value Examples
View source: R/ds_heap_fibonacci.R
Instantiates a new fibonacci_heap
object,
i.e. a tree-like data structure satisfying the min-heap property.
1 | fibonacci_heap(key.class = c("character", "numeric", "integer"))
|
key.class |
the primitive class type of the keys |
returns a new fibonacci_heap
object
1 2 3 4 5 6 7 8 | # creates a fibonacci_heap<character, SEXP>
f_heap <- fibonacci_heap()
# creates a fibonacci_heap<numeric, SEXP>
f_heap <- fibonacci_heap("numeric")
# creates a fibonacci_heap<character, SEXP>
f_heap <- fibonacci_heap("character")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.