File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1010[ Report Issue] ( http://github.com/rubyworks/pqueue/issues ) · ;
1111[ Source Code] ( http://github.com/rubyworks/pqueue )
1212
13-
14- ## DESCRIPTION
13+ <br />
1514
1615PQueue is a priority queue with array based heap.
1716
@@ -31,7 +30,7 @@ and generally improved by Olivier Renaud. Then the whole library
3130rewritten by Trans using the original as a functional reference.
3231
3332
34- ## USAGE
33+ ## Usage
3534
3635Usage is simple enough. Think of it as an array that takes a block, where
3736the block decides which element of the array goes first.
@@ -43,7 +42,14 @@ the block decides which element of the array goes first.
4342 pq.pop #=> 3
4443
4544
46- ## ACKNOWLEDGMENTS
45+ ## Install
46+
47+ Using RubyGems:
48+
49+ gem install pqueue
50+
51+
52+ ## Acknowledgements
4753
4854Although the library has been completely rewritten since, we still would
4955like to acknowledge the efforts of the original PQueue authors and
@@ -55,7 +61,7 @@ contributors.
5561* K Kodama (2001, original library)
5662
5763
58- ## COPYRIGHTS
64+ ## License & Copyrights
5965
6066Copyright (c) 2011 Rubyworks
6167
You can’t perform that action at this time.
0 commit comments