---
name: "Heap071::Fibonacci"
section: "3pm"
platform: "linux"
package: "libgraph-perl"
version: "1:0.9704-1"
release: "Debian 10 (Buster)"
platforms: ["linux"]
url: "https://new.carta.tech/Heap071::Fibonacci"
---

# Heap071::Fibonacci(3pm)

a Perl extension for keeping data partially sorted

## NAME

Heap::Fibonacci - a Perl extension for keeping data partially sorted

## SYNOPSIS

```
  use Heap::Fibonacci;
  $heap = Heap::Fibonacci->new;
  # see Heap(3) for usage
```

## DESCRIPTION

Keeps elements in heap order using a linked list of Fibonacci trees. The *heap* method of an element is used to store a reference to the node in the list that refers to the element.

See Heap for details on using this module.

## AUTHOR

John Macdonald, jmm@perlwolf.com

## COPYRIGHT

Copyright 1998-2003, O'Reilly & Associates.

This code is distributed under the same copyright terms as perl itself.

## SEE ALSO

*Heap*(3), *Heap::Elem*(3).
