.. _library_heaps:

``heaps``
=========

This library implements minimum and maximum heaps.

API documentation
-----------------

Open the
`../../apis/library_index.html#heaps <../../apis/library_index.html#heaps>`__
link in a web browser.

Loading
-------

To load all entities in this library, load the ``loader.lgt`` file:

::

   | ?- logtalk_load(heaps(loader)).

Testing
-------

To test this library predicates, load the ``tester.lgt`` file:

::

   | ?- logtalk_load(heaps(tester)).

Credits
-------

Original code by Richard O''Keefe. Adapted to Logtalk by Paulo Moura and
Victor Lagerkvist.
