Expand description
Generic link-based network space.
LinkSpace<P> represents a directed network where agents move along links
(edges) rather than residing at nodes. The space is intentionally domain-
neutral: it models topology, FIFO occupancy, link blocking, and agent
transfer between links, while parameterizing per-link semantics via P.
Transport-specific semantics such as speed-density relationships and lane
counts live in rustsim-traffic and can use LinkSpace<LinkProperties>.
Structs§
- Link
Geometry - Minimal geometric properties of a generic link.
- Link
Space - Generic link-based network space.
Enums§
- Link
Geometry Error - Errors returned by link-geometry validation.
- Link
Space Error - Errors returned by link space operations.
Type Aliases§
- LinkId
- Unique identifier for a link (directed edge) in the network.