ash_model.paths.walk_weight

ash_model.paths.walk_weight(path)[source]

Compute the total weight of a temporal walk.

Parameters:

path (list) – The walk to measure.

Returns:

Cumulative weight of the walk.

Return type:

int