Changes for version 0.03

  • Added settable infinity
  • Added generic compare function
  • min_key now always exists, but can fail on empty heaps
  • reordered $self->[0] from most to least likely
  • Added the Object and Any element methods
  • Added testcases for element methods Method, Object, Function and Any
  • Added method "key_insert"
  • Added testcases for generic compare
  • Added method "key"
  • Documented all new stuff
  • Reduce the number of tests. Still way too many though.

Modules

Fast and easy to use classic heaps

Provides

in lib/Heap/Simple/Any.pm
in lib/Heap/Simple/Array.pm
in lib/Heap/Simple/Function.pm
in lib/Heap/Simple/Hash.pm
in lib/Heap/Simple/Key.pm
in lib/Heap/Simple/Less.pm
in lib/Heap/Simple/Method.pm
in lib/Heap/Simple/Number.pm
in lib/Heap/Simple/NumberReverse.pm
in lib/Heap/Simple/Object.pm
in lib/Heap/Simple/String.pm
in lib/Heap/Simple/StringReverse.pm
in lib/Heap/Simple/Wrapper.pm