heap(Order) — Logtalk APIs v3.47.0 documentation

object

# `heap(Order)`

Heap implementation, parameterized by the order to be used to compare keys (`<` or `>`).

Author: Richard O’Keefe; adapted to Logtalk by Paulo Moura and Victor Lagerkvist.
Version: 1:1:0
Date: 2019-05-18
Compilation flags:
`static, context_switching_calls`
Implements:
`public` heapp
Extends:
`public` compound
Remarks:
(none)
Inherited public predicates:
as_heap/2 as_list/2 check/1 delete/4 depth/2 empty/1 ground/1 insert/4 insert_all/3 merge/3 new/1 numbervars/1 numbervars/3 occurs/2 singletons/2 size/2 subsumes/2 subterm/2 top/3 top_next/5 valid/1 variables/2 variant/2 varnumbers/2 varnumbers/3

- Public predicates

- Protected predicates

- Private predicates

- Operators

## Public predicates

(no local declarations; see entity ancestors if any)

## Protected predicates

(no local declarations; see entity ancestors if any)

## Private predicates

(no local declarations; see entity ancestors if any)

## Operators

(none)

See also

minheap, maxheap