Skip to main content

Module link

Module link 

Source
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§

LinkGeometry
Minimal geometric properties of a generic link.
LinkSpace
Generic link-based network space.

Enums§

LinkGeometryError
Errors returned by link-geometry validation.
LinkSpaceError
Errors returned by link space operations.

Type Aliases§

LinkId
Unique identifier for a link (directed edge) in the network.