% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/ds_heap.R
\docType{methods}
\name{[<-,heap,vector,missing,list-method}
\alias{[<-,heap,vector,missing,list-method}
\title{Insert parts to an object}
\usage{
\S4method{[}{heap,vector,missing,list}(x, i) <- value
}
\arguments{
\item{x}{a heap object, such as a \code{\link{fibonacci_heap}} or a
\code{\link{binomial_heap}}}

\item{i}{a vector of keys}

\item{value}{a vector of values for the keys}
}
\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.
}
