heaps — The Logtalk Handbook v3.47.0 documentation

# `heaps`

This library implements minimum and maximum heaps.

## API documentation

Open the ../../docs/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.