subset-heap-vector-missing-list-method: Insert parts to an object

Description Usage Arguments

Description

Inserts <key, value> pairs to a heap. The keys are determine the ordering of the heap, while the value is the actual value to store.

Usage

1
2
## S4 replacement method for signature 'heap,vector,missing,list'
x[i] <- value

Arguments

x

a heap object, such as a fibonacci_heap or a binomial_heap

i

a vector of keys

value

a vector of values for the keys


datastructures documentation built on Aug. 10, 2020, 5:08 p.m.