From 25c5eac5e6ca1035db1eddd7bea9ac78531da57e Mon Sep 17 00:00:00 2001 From: David Thompson Date: Thu, 28 Dec 2023 11:23:49 -0500 Subject: Delete manuals! Good riddance! These are hosted on files.dthompson.us now! --- manuals/chickadee/Heaps.html | 139 ------------------------------------------- 1 file changed, 139 deletions(-) delete mode 100644 manuals/chickadee/Heaps.html (limited to 'manuals/chickadee/Heaps.html') diff --git a/manuals/chickadee/Heaps.html b/manuals/chickadee/Heaps.html deleted file mode 100644 index effdb89..0000000 --- a/manuals/chickadee/Heaps.html +++ /dev/null @@ -1,139 +0,0 @@ - - - - - - -Heaps (The Chickadee Game Toolkit) - - - - - - - - - - - - - - - - - - - -
-

-Next: , Previous: , Up: Data Structures   [Contents][Index]

-
-
-

5.6.3 Heaps

- -

The (chickadee data heap) module provides a binary heap data -structure. The heap orders data from smallest to largest, according -to a custom comparison predicate, making it a good choice for priority -queues. -

-
-
Procedure: make-heap [#:< <]
-

Return a new heap that uses the predicate < to determine order. -

- -
-
Procedure: heap? obj
-

Return #t if obj is a heap. -

- -
-
Procedure: heap-empty? heap
-

Return #t if heap is empty. -

- -
-
Procedure: heap-size heap
-

Return the current size of heap. -

- -
-
Procedure: heap-min heap
-

Return the minimum item in heap. -

- -
-
Procedure: heap-insert! heap item
-

Add item to heap. -

- -
-
Procedure: heap-remove! heap
-

Remove the minimum item in heap. -

- -
-
Procedure: heap-clear! heap
-

Remove all items from heap. -

- - - - - - -- cgit v1.2.3