Expand description

A module providing utility functions for calculating path lengths, remaining lengths, and the total length of a railway network.

Functions

  • Calculate the total length of the given sequence of edges in the railway network.