Parents: | heaps |
Class | Superclass | Slots |
entry | tuple | value key heap index |
heap | tuple | data |
Word | Stack effect |
heap-compare | ( entry1 entry2 heap -- ? ) |
Word | Stack effect |
<entry> | ( value key heap -- entry ) |
<heap> | ( class -- heap ) |
data-nth | ( n data -- entry ) |
data-push | ( entry data -- n ) |
data-set-nth | ( entry n data -- ) |
entry>index | ( entry heap -- n ) |
left | ( n -- m ) |
right | ( n -- m ) |
sift-down | ( heap from to -- ) |
sift-up | ( heap n -- ) |
up | ( n -- m ) |
Word | Stack effect |
entry? | ( object -- ? ) |
heap? | ( object -- ? ) |