DOKK / manpages / debian 12 / libheap-perl / Heap::Binary.3pm.en
Heap::Binary(3pm) User Contributed Perl Documentation Heap::Binary(3pm)

Heap::Binary - a binary heap to keep data partially sorted

  use Heap::Binary;
  $heap = Heap::Binary->new;
  # see Heap(3) for usage

Keeps an array of elements in heap order. The heap method of an element is used to store the index into the array that refers to the element.

See Heap for details on using this module.

John Macdonald, john@perlwolf.com

Copyright 1998-2007, O'Reilly & Associates.

This code is distributed under the same copyright terms as perl itself.

Heap(3), Heap::Elem(3).

2022-10-22 perl v5.34.0