edsger 0.0.14__tar.gz → 0.0.15__tar.gz
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.
- {edsger-0.0.14 → edsger-0.0.15}/.github/workflows/tests.yml +2 -1
- {edsger-0.0.14/src/edsger.egg-info → edsger-0.0.15}/PKG-INFO +5 -5
- {edsger-0.0.14 → edsger-0.0.15}/README.md +4 -4
- edsger-0.0.15/src/edsger/_version.py +1 -0
- {edsger-0.0.14 → edsger-0.0.15}/src/edsger/commons.c +149 -149
- {edsger-0.0.14 → edsger-0.0.15}/src/edsger/dijkstra.c +149 -149
- {edsger-0.0.14 → edsger-0.0.15}/src/edsger/path_tracking.c +149 -149
- {edsger-0.0.14 → edsger-0.0.15}/src/edsger/pq_4ary_dec_0b.c +149 -149
- {edsger-0.0.14 → edsger-0.0.15}/src/edsger/spiess_florian.c +149 -149
- {edsger-0.0.14 → edsger-0.0.15}/src/edsger/star.c +149 -149
- {edsger-0.0.14 → edsger-0.0.15/src/edsger.egg-info}/PKG-INFO +5 -5
- edsger-0.0.14/src/edsger/_version.py +0 -1
- {edsger-0.0.14 → edsger-0.0.15}/.github/workflows/publish.yml +0 -0
- {edsger-0.0.14 → edsger-0.0.15}/.gitignore +0 -0
- {edsger-0.0.14 → edsger-0.0.15}/AUTHORS.rst +0 -0
- {edsger-0.0.14 → edsger-0.0.15}/CHANGELOG.rst +0 -0
- {edsger-0.0.14 → edsger-0.0.15}/CONTRIBUTING.rst +0 -0
- {edsger-0.0.14 → edsger-0.0.15}/LICENSE +0 -0
- {edsger-0.0.14 → edsger-0.0.15}/MANIFEST.in +0 -0
- {edsger-0.0.14 → edsger-0.0.15}/docs/Makefile +0 -0
- {edsger-0.0.14 → edsger-0.0.15}/docs/source/conf.py +0 -0
- {edsger-0.0.14 → edsger-0.0.15}/docs/source/edsger.rst +0 -0
- {edsger-0.0.14 → edsger-0.0.15}/docs/source/index.rst +0 -0
- {edsger-0.0.14 → edsger-0.0.15}/docs/source/installation.rst +0 -0
- {edsger-0.0.14 → edsger-0.0.15}/docs/source/introduction.rst +0 -0
- {edsger-0.0.14 → edsger-0.0.15}/pyproject.toml +0 -0
- {edsger-0.0.14 → edsger-0.0.15}/requirements-dev.txt +0 -0
- {edsger-0.0.14 → edsger-0.0.15}/requirements.txt +0 -0
- {edsger-0.0.14 → edsger-0.0.15}/scripts/dijkstra_dimacs.py +0 -0
- {edsger-0.0.14 → edsger-0.0.15}/setup.cfg +0 -0
- {edsger-0.0.14 → edsger-0.0.15}/setup.py +0 -0
- {edsger-0.0.14 → edsger-0.0.15}/src/edsger/__init__.py +0 -0
- {edsger-0.0.14 → edsger-0.0.15}/src/edsger/commons.pxd +0 -0
- {edsger-0.0.14 → edsger-0.0.15}/src/edsger/commons.pyx +0 -0
- {edsger-0.0.14 → edsger-0.0.15}/src/edsger/dijkstra.pyx +0 -0
- {edsger-0.0.14 → edsger-0.0.15}/src/edsger/networks.py +0 -0
- {edsger-0.0.14 → edsger-0.0.15}/src/edsger/path.py +0 -0
- {edsger-0.0.14 → edsger-0.0.15}/src/edsger/path_tracking.pyx +0 -0
- {edsger-0.0.14 → edsger-0.0.15}/src/edsger/pq_4ary_dec_0b.pxd +0 -0
- {edsger-0.0.14 → edsger-0.0.15}/src/edsger/pq_4ary_dec_0b.pyx +0 -0
- {edsger-0.0.14 → edsger-0.0.15}/src/edsger/spiess_florian.pyx +0 -0
- {edsger-0.0.14 → edsger-0.0.15}/src/edsger/star.pyx +0 -0
- {edsger-0.0.14 → edsger-0.0.15}/src/edsger/utils.py +0 -0
- {edsger-0.0.14 → edsger-0.0.15}/src/edsger.egg-info/SOURCES.txt +0 -0
- {edsger-0.0.14 → edsger-0.0.15}/src/edsger.egg-info/dependency_links.txt +0 -0
- {edsger-0.0.14 → edsger-0.0.15}/src/edsger.egg-info/not-zip-safe +0 -0
- {edsger-0.0.14 → edsger-0.0.15}/src/edsger.egg-info/requires.txt +0 -0
- {edsger-0.0.14 → edsger-0.0.15}/src/edsger.egg-info/top_level.txt +0 -0
- {edsger-0.0.14 → edsger-0.0.15}/tests/test_dijkstra.py +0 -0
- {edsger-0.0.14 → edsger-0.0.15}/tests/test_path.py +0 -0
- {edsger-0.0.14 → edsger-0.0.15}/tests/test_path_tracking.py +0 -0
- {edsger-0.0.14 → edsger-0.0.15}/tests/test_pq_4ary_dec_0b.py +0 -0
- {edsger-0.0.14 → edsger-0.0.15}/tests/test_spiess_florian.py +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.2
|
2
2
|
Name: edsger
|
3
|
-
Version: 0.0.
|
3
|
+
Version: 0.0.15
|
4
4
|
Summary: Graph algorithms in Cython.
|
5
5
|
Author-email: François Pacull <francois.pacull@architecture-performance.fr>
|
6
6
|
Maintainer-email: François Pacull <francois.pacull@architecture-performance.fr>
|
@@ -205,11 +205,11 @@ shortest_paths[-5:]
|
|
205
205
|
|
206
206
|
#### Run method options
|
207
207
|
|
208
|
-
The `run` method can take the following arguments besides the source vertex index:
|
208
|
+
The `run` method can take the following arguments besides the source/target vertex index:
|
209
209
|
|
210
210
|
- `path_tracking` : bool, optional (default=False)
|
211
211
|
|
212
|
-
Whether to track the shortest path(s) from the source vertex to all other vertices in the graph.
|
212
|
+
Whether to track the shortest path(s) from/to the source/target vertex to all other vertices in the graph.
|
213
213
|
|
214
214
|
```python
|
215
215
|
dijkstra = Dijkstra(edges)
|
@@ -229,7 +229,7 @@ The path is returned as an array of vertex indices. This is an ordered list of v
|
|
229
229
|
|
230
230
|
- `return_inf` : bool, optional (default=True)
|
231
231
|
|
232
|
-
Whether to return path
|
232
|
+
Whether to return path lengths as infinity (np.inf) when no path exists.
|
233
233
|
|
234
234
|
```python
|
235
235
|
dijkstra = Dijkstra(edges, orientation='in')
|
@@ -262,7 +262,7 @@ shortest_paths
|
|
262
262
|
|
263
263
|
- `heap_length_ratio` : float, optional (default=1.0)
|
264
264
|
|
265
|
-
This is an experimental parameter that controls the size of the heap used in the algorithm. The heap is a static array that is used to store the vertices that
|
265
|
+
This is an experimental parameter that controls the size of the heap used in the algorithm. The heap is a static array that is used to store the vertices that may be visited next. A value of 1.0 means that the heap is the same size as the number of vertices, so there is no risk of overflow. Be aware that there is no guarantee that the algorithm will work with a heap length ratio smaller that 1. The lowest ratio that works for a given graph depends on the graph structure and the source vertex. For a rather sparse graph, a small ratio may work, but for a dense graph, a ratio of 1.0 is required.
|
266
266
|
|
267
267
|
## Contributing
|
268
268
|
|
@@ -171,11 +171,11 @@ shortest_paths[-5:]
|
|
171
171
|
|
172
172
|
#### Run method options
|
173
173
|
|
174
|
-
The `run` method can take the following arguments besides the source vertex index:
|
174
|
+
The `run` method can take the following arguments besides the source/target vertex index:
|
175
175
|
|
176
176
|
- `path_tracking` : bool, optional (default=False)
|
177
177
|
|
178
|
-
Whether to track the shortest path(s) from the source vertex to all other vertices in the graph.
|
178
|
+
Whether to track the shortest path(s) from/to the source/target vertex to all other vertices in the graph.
|
179
179
|
|
180
180
|
```python
|
181
181
|
dijkstra = Dijkstra(edges)
|
@@ -195,7 +195,7 @@ The path is returned as an array of vertex indices. This is an ordered list of v
|
|
195
195
|
|
196
196
|
- `return_inf` : bool, optional (default=True)
|
197
197
|
|
198
|
-
Whether to return path
|
198
|
+
Whether to return path lengths as infinity (np.inf) when no path exists.
|
199
199
|
|
200
200
|
```python
|
201
201
|
dijkstra = Dijkstra(edges, orientation='in')
|
@@ -228,7 +228,7 @@ shortest_paths
|
|
228
228
|
|
229
229
|
- `heap_length_ratio` : float, optional (default=1.0)
|
230
230
|
|
231
|
-
This is an experimental parameter that controls the size of the heap used in the algorithm. The heap is a static array that is used to store the vertices that
|
231
|
+
This is an experimental parameter that controls the size of the heap used in the algorithm. The heap is a static array that is used to store the vertices that may be visited next. A value of 1.0 means that the heap is the same size as the number of vertices, so there is no risk of overflow. Be aware that there is no guarantee that the algorithm will work with a heap length ratio smaller that 1. The lowest ratio that works for a given graph depends on the graph structure and the source vertex. For a rather sparse graph, a small ratio may work, but for a dense graph, a ratio of 1.0 is required.
|
232
232
|
|
233
233
|
## Contributing
|
234
234
|
|
@@ -0,0 +1 @@
|
|
1
|
+
__version__ = "0.0.15"
|