Skip to main content

Module core

Module core 

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

TransitEdge
Structure representing a connection between two TransitNode instances.
TransitNode
Structure representing a node in the transit network.

Enums§

Accessability
Re-export of the Accessability enum from the accessability module. Enum Accessability representing the accessibility of nodes in a network.

Traits§

PathCoordinates
Trait providing a way to get the coordinates of the source and target nodes of a path.

Type Aliases§

EdgeId
Type alias for an edge identifier.
IdType
Type alias for an identifier.
NodeId
Type alias for a node identifier.