murk-space
Spatial backends for the Murk simulation engine.
Provides the Space trait and concrete lattice backends: Line1D, Ring1D,
Square4, Square8, Hex2D, Fcc12, and composable ProductSpace.
Each backend defines topology, neighborhoods, edge behavior, and region planning.
Available via the top-level murk crate
as murk::space.
Installation
Most users should depend on the top-level murk crate,
which re-exports this as murk::space.
Usage
use ;
let grid = new.unwrap;
assert_eq!;
assert_eq!;
let coord = vec!.into;
let neighbors = grid.neighbours;
assert_eq!;
let distance = grid.distance;
assert_eq!;
Documentation
- Murk Book — concepts and guides
- API Reference — rustdoc
- Examples — complete working projects