ash_model.paths.walk_length

ash_model.paths.walk_length(path)[source]

Compute the number of edges in a temporal walk.

Parameters:

path (list) – The walk to measure.

Returns:

Number of steps in the walk.

Return type:

int