Expand description
Urban / network metrics computed on the Rust side.
Structs§
- Basic
Stats - Summary statistics for a set of weighted edges.
Functions§
- basic_
stats - Compute basic network statistics from edge endpoints and weights.
- bearing
- Initial compass bearing (degrees, clockwise from north) from point
(lat1, lon1)to(lat2, lon2), both in decimal degrees. - orientation_
entropy - Shannon entropy (in nats) of edge compass bearings, binned into
num_binsequal sectors over[0, 360). Higher entropy = more disordered (organic) street grid; lower = more ordered (gridiron). Bearings are in degrees.