Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

invalid treatment of routeDistribution input #9229

Closed
namdre opened this issue Sep 24, 2021 · 1 comment
Closed

invalid treatment of routeDistribution input #9229

namdre opened this issue Sep 24, 2021 · 1 comment

Comments

@namdre
Copy link
Contributor

namdre commented Sep 24, 2021

if input vehicles/flows reference a routeDistribution they should be assigned a route sampled from that distribution.
Instead the first route in the distribution gets a strong (~98%) bias.

@namdre
Copy link
Contributor Author

namdre commented Sep 24, 2021

whenever a route is loaded with external id, a route copy is made and this copy get's its probability reset to 1 (and maybe lowered a bit by the routecostcalculator)
The probability later isn't normalized which causes the sampler to sample it with high probablity

namdre added a commit that referenced this issue Sep 24, 2021
namdre added a commit that referenced this issue Sep 24, 2021
@namdre namdre closed this as completed Sep 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant