Home  |  Linux  | Mysql  | PHP  | XML
From:Ankit Singla Date:Tue Jun 30 10:18:26 2009
Subject:Using Heap::Elem
Hi,

I'm trying to use Fibonacci heaps to keep <key, value> type of objects
sorted. I require the sorting to be over the key. I've only started
out with Perl and can't figure out how to extend the Heap::Elem class
to make this kind of pair objects for use with Heap::Fibonacci. I have
tried reading up the perldocs but it doesn't seem to be a good
starting point for novices like me. Can someone point me to example
code where I can 'watch and learn' or maybe illustrate to me with the
same Heap::Elem extension?

Thanks for your help!

Cheers,
Ankit
Navigate in group perl.beginners at sever nntp.perl.org
Previous Next


Your recent visits
Re: Web photo album, is this possible in CGI
Re: [PHP-WIN] Can i run php script using command prompt in any location by typing scriptname.php
php, session_set_save_handler & disappearing session vars
Re: [PHP-INSTALL] Browser tries to download php file
Re: Using Heap::Elem


  
© No Copyright
You are free to use Anything
Site Maintained by Zareef Ahmed
Powered By PHP Consultants