pqueue 1.0.0 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/HISTORY DELETED
@@ -1,11 +0,0 @@
1
- = CHANGE HISTORY
2
-
3
- == 1.0.0 / 2009-07-05
4
-
5
- This is the initial standalone release of PQueue,
6
- spun-off from the Ruby Facets.
7
-
8
- * 1 Major Enhancement
9
-
10
- * Happy Birthday!
11
-
data/LICENSE DELETED
@@ -1,167 +0,0 @@
1
-
2
- = GNU LESSER GENERAL PUBLIC LICENSE
3
-
4
- Version 3, 29 June 2007
5
-
6
- Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
7
- Everyone is permitted to copy and distribute verbatim copies
8
- of this license document, but changing it is not allowed.
9
-
10
- This version of the GNU Lesser General Public License incorporates
11
- the terms and conditions of version 3 of the GNU General Public
12
- License, supplemented by the additional permissions listed below.
13
-
14
- == 0. Additional Definitions.
15
-
16
- As used herein, "this License" refers to version 3 of the GNU Lesser
17
- General Public License, and the "GNU GPL" refers to version 3 of the GNU
18
- General Public License.
19
-
20
- "The Library" refers to a covered work governed by this License,
21
- other than an Application or a Combined Work as defined below.
22
-
23
- An "Application" is any work that makes use of an interface provided
24
- by the Library, but which is not otherwise based on the Library.
25
- Defining a subclass of a class defined by the Library is deemed a mode
26
- of using an interface provided by the Library.
27
-
28
- A "Combined Work" is a work produced by combining or linking an
29
- Application with the Library. The particular version of the Library
30
- with which the Combined Work was made is also called the "Linked
31
- Version".
32
-
33
- The "Minimal Corresponding Source" for a Combined Work means the
34
- Corresponding Source for the Combined Work, excluding any source code
35
- for portions of the Combined Work that, considered in isolation, are
36
- based on the Application, and not on the Linked Version.
37
-
38
- The "Corresponding Application Code" for a Combined Work means the
39
- object code and/or source code for the Application, including any data
40
- and utility programs needed for reproducing the Combined Work from the
41
- Application, but excluding the System Libraries of the Combined Work.
42
-
43
- == 1. Exception to Section 3 of the GNU GPL.
44
-
45
- You may convey a covered work under sections 3 and 4 of this License
46
- without being bound by section 3 of the GNU GPL.
47
-
48
- == 2. Conveying Modified Versions.
49
-
50
- If you modify a copy of the Library, and, in your modifications, a
51
- facility refers to a function or data to be supplied by an Application
52
- that uses the facility (other than as an argument passed when the
53
- facility is invoked), then you may convey a copy of the modified
54
- version:
55
-
56
- a) under this License, provided that you make a good faith effort to
57
- ensure that, in the event an Application does not supply the
58
- function or data, the facility still operates, and performs
59
- whatever part of its purpose remains meaningful, or
60
-
61
- b) under the GNU GPL, with none of the additional permissions of
62
- this License applicable to that copy.
63
-
64
- == 3. Object Code Incorporating Material from Library Header Files.
65
-
66
- The object code form of an Application may incorporate material from
67
- a header file that is part of the Library. You may convey such object
68
- code under terms of your choice, provided that, if the incorporated
69
- material is not limited to numerical parameters, data structure
70
- layouts and accessors, or small macros, inline functions and templates
71
- (ten or fewer lines in length), you do both of the following:
72
-
73
- a) Give prominent notice with each copy of the object code that the
74
- Library is used in it and that the Library and its use are
75
- covered by this License.
76
-
77
- b) Accompany the object code with a copy of the GNU GPL and this license
78
- document.
79
-
80
- == 4. Combined Works.
81
-
82
- You may convey a Combined Work under terms of your choice that,
83
- taken together, effectively do not restrict modification of the
84
- portions of the Library contained in the Combined Work and reverse
85
- engineering for debugging such modifications, if you also do each of
86
- the following:
87
-
88
- a) Give prominent notice with each copy of the Combined Work that
89
- the Library is used in it and that the Library and its use are
90
- covered by this License.
91
-
92
- b) Accompany the Combined Work with a copy of the GNU GPL and this license
93
- document.
94
-
95
- c) For a Combined Work that displays copyright notices during
96
- execution, include the copyright notice for the Library among
97
- these notices, as well as a reference directing the user to the
98
- copies of the GNU GPL and this license document.
99
-
100
- d) Do one of the following:
101
-
102
- d.0) Convey the Minimal Corresponding Source under the terms of this
103
- License, and the Corresponding Application Code in a form
104
- suitable for, and under terms that permit, the user to
105
- recombine or relink the Application with a modified version of
106
- the Linked Version to produce a modified Combined Work, in the
107
- manner specified by section 6 of the GNU GPL for conveying
108
- Corresponding Source.
109
-
110
- d.1) Use a suitable shared library mechanism for linking with the
111
- Library. A suitable mechanism is one that (a) uses at run time
112
- a copy of the Library already present on the user's computer
113
- system, and (b) will operate properly with a modified version
114
- of the Library that is interface-compatible with the Linked
115
- Version.
116
-
117
- e) Provide Installation Information, but only if you would otherwise
118
- be required to provide such information under section 6 of the
119
- GNU GPL, and only to the extent that such information is
120
- necessary to install and execute a modified version of the
121
- Combined Work produced by recombining or relinking the
122
- Application with a modified version of the Linked Version. (If
123
- you use option 4d0, the Installation Information must accompany
124
- the Minimal Corresponding Source and Corresponding Application
125
- Code. If you use option 4d1, you must provide the Installation
126
- Information in the manner specified by section 6 of the GNU GPL
127
- for conveying Corresponding Source.)
128
-
129
- == 5. Combined Libraries.
130
-
131
- You may place library facilities that are a work based on the
132
- Library side by side in a single library together with other library
133
- facilities that are not Applications and are not covered by this
134
- License, and convey such a combined library under terms of your
135
- choice, if you do both of the following:
136
-
137
- a) Accompany the combined library with a copy of the same work based
138
- on the Library, uncombined with any other library facilities,
139
- conveyed under the terms of this License.
140
-
141
- b) Give prominent notice with the combined library that part of it
142
- is a work based on the Library, and explaining where to find the
143
- accompanying uncombined form of the same work.
144
-
145
- == 6. Revised Versions of the GNU Lesser General Public License.
146
-
147
- The Free Software Foundation may publish revised and/or new versions
148
- of the GNU Lesser General Public License from time to time. Such new
149
- versions will be similar in spirit to the present version, but may
150
- differ in detail to address new problems or concerns.
151
-
152
- Each version is given a distinguishing version number. If the
153
- Library as you received it specifies that a certain numbered version
154
- of the GNU Lesser General Public License "or any later version"
155
- applies to it, you have the option of following the terms and
156
- conditions either of that published version or of any later version
157
- published by the Free Software Foundation. If the Library as you
158
- received it does not specify a version number of the GNU Lesser
159
- General Public License, you may choose any version of the GNU Lesser
160
- General Public License ever published by the Free Software Foundation.
161
-
162
- If the Library as you received it specifies that a proxy can decide
163
- whether future versions of the GNU Lesser General Public License shall
164
- apply, that proxy's public statement of acceptance of any version is
165
- permanent authorization for you to choose that version for the
166
- Library.
167
-
data/MANIFEST DELETED
@@ -1,21 +0,0 @@
1
- test
2
- test/test_pqueue.rb
3
- RELEASE
4
- LICENSE
5
- README
6
- HISTORY
7
- meta
8
- meta/created
9
- meta/repository
10
- meta/homepage
11
- meta/summary
12
- meta/abstract
13
- meta/package
14
- meta/title
15
- meta/released
16
- meta/version
17
- meta/license
18
- meta/authors
19
- meta/project
20
- lib
21
- lib/pqueue.rb
data/README DELETED
@@ -1,44 +0,0 @@
1
- = PQueue
2
-
3
- * http://death.rubyforge.org
4
- * http://death.rubyforge.org/pqueue
5
-
6
-
7
- == DESCRIPTION
8
-
9
- Priority queue with array based heap.
10
-
11
- A priority queue is like a standard queue, except that each inserted
12
- elements is given a certain priority, based on the result of the
13
- comparison block given at instantiation time. Also, retrieving an element
14
- from the queue will always return the one with the highest priority
15
- (see #pop and #top).
16
-
17
- The default is to compare the elements in repect to their #> method.
18
- For example, Numeric elements with higher values will have higher
19
- priorities.
20
-
21
- This library is based off the original PQueue.rb by K.Kodama and
22
- Heap.rb by Ronald Butler. It was later improved by Olivier Renaud.
23
-
24
-
25
- == SYNOPSIS
26
-
27
- ... to be done ...
28
-
29
-
30
- == INSTALLATION
31
-
32
- $ gem install pqueue
33
-
34
-
35
- == COPYING
36
-
37
- Copyright (c) 2009 The Coding Dead
38
- Copyright (c) 2006 Olivier Renaud
39
- Copyright (c) 2005 K.Kodama, Ronald Butler
40
-
41
- This software is distributed under the terms of the LGPL v3 license.
42
-
43
- See LICENSE file for details.
44
-
data/RELEASE DELETED
@@ -1,10 +0,0 @@
1
- = RELEASE NOTES
2
-
3
- This is the initial standalone release of PQueue,
4
- spun-off from the Ruby Facets.
5
-
6
- ### 1.0.0 / 2009-07-05
7
-
8
- * 1 Major Enhancement
9
-
10
- * Happy Birthday!
@@ -1,4 +0,0 @@
1
- A priority queue is like a standard queue, except that each inserted
2
- elements is given a certain priority, based on the result of the
3
- comparison block given at instantiation time. Retrieving an element
4
- from the queue will always return the one with the highest priority.
@@ -1,6 +0,0 @@
1
- K.Kodama
2
- Ronald Butler
3
- Olivier Renaud
4
- Rick Bradley
5
- Trans <transfire@gmail.com>
6
-
@@ -1 +0,0 @@
1
- 2005-01-01
@@ -1 +0,0 @@
1
- http://death.rubyforge.org/
@@ -1 +0,0 @@
1
- LGPLv3
@@ -1 +0,0 @@
1
- pqueue
@@ -1 +0,0 @@
1
- death
@@ -1 +0,0 @@
1
- 2009-07-05
@@ -1 +0,0 @@
1
- svn://rubyforge.org/var/svn/death/pqueue
@@ -1 +0,0 @@
1
- Queue with prioritized elements.
data/meta/title DELETED
@@ -1 +0,0 @@
1
- PQueue
@@ -1 +0,0 @@
1
- 1.0.0