route_length¶
- rubin_sim.scheduler.utils.route_length(town_indx, dist_matrix)¶
Find the length of a route
- Parameters:
- town_indxarray of int
The indices of the towns.
- dist_matrixnp.array
The matrix where the (i,j) elements are the distance between the ith and jth town