Changeset 1007 for spinoffs/Dijkstar
- Timestamp:
- 08/28/08 23:26:21 (4 years ago)
- Files:
-
- 1 modified
-
spinoffs/Dijkstar/setup.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
spinoffs/Dijkstar/setup.py
r1005 r1007 15 15 16 16 Accepts an optional cost (or "weight") function that will be called on every 17 iteration. 17 iteration. 18 18 19 Also accepts an optional heuristic function that is used to push the algorithm 20 toward a destination instead of fanning out in every direction. Using such a 19 Also accepts an optional heuristic function that is used to push the algorithm 20 toward a destination instead of fanning out in every direction. Using such a 21 21 heuristic function converts Dijkstra to A* (and this is where the name 22 22 "Dijkstar" comes from). 23 23 24 Performance is decent on a graph with 100,000+ nodes. Runs in around .5 24 Performance is decent on a graph with 100,000+ nodes. Runs in around .5 25 25 seconds on average . 26 26 27 27 See the source for the required graph structure: 28 28 29 https:// svn.byCycle.org/spinoffs/Dijkstar29 https://guest:guest@svn.byCycle.org/spinoffs/Dijkstar 30 30 31 31 Latest development version: 32 32 33 https:// svn.byCycle.org/spinoffs/Dijkstar#egg=Dijkstar-dev33 https://guest:guest@svn.byCycle.org/spinoffs/Dijkstar#egg=Dijkstar-dev 34 34 35 35 """,