rheap
is a Rust library containing an implementation of a minimum, maximum, d-way heap.
It supports:
core::cmp::Reverse
] or a custom [std::cmp::Ord
] implementationUse the [Heap::update
] method to modify the value of an element on the heap in such
a way that the element's ordering relative to other elements is changed. Modifying
an element's value through other means may result in a inconsistencies, logic errors,
panics, or other unintended consequences.
*rheap is licensed under the MIT License. Please see the included LICENSE.txt file.