ash_model.paths.walk_duration

ash_model.paths.walk_duration(path)[source]

Compute the duration of a temporal walk.

Parameters:

path (list) – The walk to measure.

Returns:

Time difference between first and last edge.

Return type:

int