djgroen / flee

flee agent-based modelling code
BSD 3-Clause "New" or "Revised" License
6 stars 7 forks source link

Adapt calculate_link_weights function to use graph attributes #64

Closed irene-sophia closed 1 year ago

irene-sophia commented 1 year ago

A suspect (especially hot-organized) chooses their next link based on its attributes: max_speed, road_type, traffic_density, etc.

djgroen commented 1 year ago

@irene-sophia Is there a particular equation you have in mind that would calculate the weight based on these factors?

I assume max_speed will be a value in km/h, and traffic density could be a value between 0.0 and 1.0. And I guess road types could by a list of types.

If you have an idea about what the equation should look like, then I'm happy to build it into Flee :).

djgroen commented 1 year ago

Superseded with a new type of ruleset request.