Comments (1)
Turns out a heap structure is a lot more efficient than the current graph implementation, at least when it comes to addition and removal of the cheapest element. But a heap, as currently implemented via a simple slice, is not really efficient when it comes to determining whether an element exists in it.
In #12, a heap will be implemented that is a hybrid of a struct and a map. The struct will be used for efficient addition and removal of elements in sorted order while the map will be used to determine whether an element exists.
from astar.
Related Issues (19)
- Fix cost update test
- Use binary heap HOT 1
- Release 0.2.0 HOT 1
- Replace nodes by interface
- Finalise unit tests HOT 1
- Do not modify nodes during path finding
- Allow adding weights to connections that differ between directions
- Support on-the-fly node creation
- Release 0.3.0
- Provide implementation details in README
- Provide documentation on GitHub pages
- Add convenience graph creator for arbitrary dimensionality
- Test one way connections
- Attempt parallelisation HOT 2
- Release 0.1.0 HOT 1
- Convenience graph creators HOT 2
- Logo
- Build and lint workflow
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from astar.