Expand description
This module provides basic structures for representing a transit network.
It provides TransitNode and TransitEdge structures, along with ID types for them.
The TransitNode represents a node in the transit network, while the TransitEdge represents a connection between two nodes.
The module also provides Accessability, an enum for representing the accessibility of nodes in the network.
Structs§
- Transit
Edge - Structure representing a connection between two
TransitNodeinstances. - Transit
Node - Structure representing a node in the transit network.
Enums§
- Accessability
- Re-export of the
Accessabilityenum from theaccessabilitymodule. EnumAccessabilityrepresenting the accessibility of nodes in a network.
Traits§
- Path
Coordinates - Trait providing a way to get the coordinates of the source and target nodes of a path.