Open dlight opened 6 years ago
Algorithms and data structures:
spiral, for iterating 2D structures in spiral patterns (but I think that what I actually want is iterating on Morton code order, or other cache-friendly curve)
image for storing the map. current ver is 0.22
imageproc maybe? uses image ^0.22
Spatial data structures:
For a general purpose grid:
For path finding
Procedural generation:
Noise:
For graphs:
pathfinding works with petgraph for A etc (overlaps with grid_search; but pathfinding looks better) -- however, petgraph also has A..
An interesting algorithm that petgraph implements: Kosaraju's algorithm (and also Tarjan's algorithm which is supposedly more efficent), that finds the strongly connected components
--
One interesting approach to generate graphs is to distribute points and then do spanning trees, Delaunay triangulation, etc.
To convert between node/edge types in a graph, it's probably better to use frunk.
A nice crate for newtypes: phantom-newtype
program-induction might work for generating a compact graph that satisfy a number of constraints? not really
But z3 might be cool.
Here will be some Rust libraries that I might want to use. Or perhaps C libraries that I can write some bindings to.