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.
Files changed (53) hide show
  1. {edsger-0.0.14 → edsger-0.0.15}/.github/workflows/tests.yml +2 -1
  2. {edsger-0.0.14/src/edsger.egg-info → edsger-0.0.15}/PKG-INFO +5 -5
  3. {edsger-0.0.14 → edsger-0.0.15}/README.md +4 -4
  4. edsger-0.0.15/src/edsger/_version.py +1 -0
  5. {edsger-0.0.14 → edsger-0.0.15}/src/edsger/commons.c +149 -149
  6. {edsger-0.0.14 → edsger-0.0.15}/src/edsger/dijkstra.c +149 -149
  7. {edsger-0.0.14 → edsger-0.0.15}/src/edsger/path_tracking.c +149 -149
  8. {edsger-0.0.14 → edsger-0.0.15}/src/edsger/pq_4ary_dec_0b.c +149 -149
  9. {edsger-0.0.14 → edsger-0.0.15}/src/edsger/spiess_florian.c +149 -149
  10. {edsger-0.0.14 → edsger-0.0.15}/src/edsger/star.c +149 -149
  11. {edsger-0.0.14 → edsger-0.0.15/src/edsger.egg-info}/PKG-INFO +5 -5
  12. edsger-0.0.14/src/edsger/_version.py +0 -1
  13. {edsger-0.0.14 → edsger-0.0.15}/.github/workflows/publish.yml +0 -0
  14. {edsger-0.0.14 → edsger-0.0.15}/.gitignore +0 -0
  15. {edsger-0.0.14 → edsger-0.0.15}/AUTHORS.rst +0 -0
  16. {edsger-0.0.14 → edsger-0.0.15}/CHANGELOG.rst +0 -0
  17. {edsger-0.0.14 → edsger-0.0.15}/CONTRIBUTING.rst +0 -0
  18. {edsger-0.0.14 → edsger-0.0.15}/LICENSE +0 -0
  19. {edsger-0.0.14 → edsger-0.0.15}/MANIFEST.in +0 -0
  20. {edsger-0.0.14 → edsger-0.0.15}/docs/Makefile +0 -0
  21. {edsger-0.0.14 → edsger-0.0.15}/docs/source/conf.py +0 -0
  22. {edsger-0.0.14 → edsger-0.0.15}/docs/source/edsger.rst +0 -0
  23. {edsger-0.0.14 → edsger-0.0.15}/docs/source/index.rst +0 -0
  24. {edsger-0.0.14 → edsger-0.0.15}/docs/source/installation.rst +0 -0
  25. {edsger-0.0.14 → edsger-0.0.15}/docs/source/introduction.rst +0 -0
  26. {edsger-0.0.14 → edsger-0.0.15}/pyproject.toml +0 -0
  27. {edsger-0.0.14 → edsger-0.0.15}/requirements-dev.txt +0 -0
  28. {edsger-0.0.14 → edsger-0.0.15}/requirements.txt +0 -0
  29. {edsger-0.0.14 → edsger-0.0.15}/scripts/dijkstra_dimacs.py +0 -0
  30. {edsger-0.0.14 → edsger-0.0.15}/setup.cfg +0 -0
  31. {edsger-0.0.14 → edsger-0.0.15}/setup.py +0 -0
  32. {edsger-0.0.14 → edsger-0.0.15}/src/edsger/__init__.py +0 -0
  33. {edsger-0.0.14 → edsger-0.0.15}/src/edsger/commons.pxd +0 -0
  34. {edsger-0.0.14 → edsger-0.0.15}/src/edsger/commons.pyx +0 -0
  35. {edsger-0.0.14 → edsger-0.0.15}/src/edsger/dijkstra.pyx +0 -0
  36. {edsger-0.0.14 → edsger-0.0.15}/src/edsger/networks.py +0 -0
  37. {edsger-0.0.14 → edsger-0.0.15}/src/edsger/path.py +0 -0
  38. {edsger-0.0.14 → edsger-0.0.15}/src/edsger/path_tracking.pyx +0 -0
  39. {edsger-0.0.14 → edsger-0.0.15}/src/edsger/pq_4ary_dec_0b.pxd +0 -0
  40. {edsger-0.0.14 → edsger-0.0.15}/src/edsger/pq_4ary_dec_0b.pyx +0 -0
  41. {edsger-0.0.14 → edsger-0.0.15}/src/edsger/spiess_florian.pyx +0 -0
  42. {edsger-0.0.14 → edsger-0.0.15}/src/edsger/star.pyx +0 -0
  43. {edsger-0.0.14 → edsger-0.0.15}/src/edsger/utils.py +0 -0
  44. {edsger-0.0.14 → edsger-0.0.15}/src/edsger.egg-info/SOURCES.txt +0 -0
  45. {edsger-0.0.14 → edsger-0.0.15}/src/edsger.egg-info/dependency_links.txt +0 -0
  46. {edsger-0.0.14 → edsger-0.0.15}/src/edsger.egg-info/not-zip-safe +0 -0
  47. {edsger-0.0.14 → edsger-0.0.15}/src/edsger.egg-info/requires.txt +0 -0
  48. {edsger-0.0.14 → edsger-0.0.15}/src/edsger.egg-info/top_level.txt +0 -0
  49. {edsger-0.0.14 → edsger-0.0.15}/tests/test_dijkstra.py +0 -0
  50. {edsger-0.0.14 → edsger-0.0.15}/tests/test_path.py +0 -0
  51. {edsger-0.0.14 → edsger-0.0.15}/tests/test_path_tracking.py +0 -0
  52. {edsger-0.0.14 → edsger-0.0.15}/tests/test_pq_4ary_dec_0b.py +0 -0
  53. {edsger-0.0.14 → edsger-0.0.15}/tests/test_spiess_florian.py +0 -0
@@ -9,7 +9,8 @@ jobs:
9
9
  test:
10
10
  strategy:
11
11
  matrix:
12
- os: [ubuntu-latest, windows-latest, macos-latest]
12
+ os: [ os: [ubuntu-22.04, windows-2022, macos-14]
13
+ ]
13
14
  python-version: ["3.11"]
14
15
  runs-on: ${{ matrix.os }}
15
16
  steps:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: edsger
3
- Version: 0.0.14
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 length(s) as infinity (np.inf) when no path exists.
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 are 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 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.
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 length(s) as infinity (np.inf) when no path exists.
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 are 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 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.
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"