HeapDict

I just made a new Python module called HeapDict that implements a heap, including the decrease-key operation that's conspicuously missing from the Python standard library's heapq.

  • Share/Bookmark

Leave a Reply

 

 

 

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>