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

Drt: fix occupancy change calculation at waypoints to account for group requests #3002

Merged
merged 7 commits into from
Dec 21, 2023

Conversation

nkuehnel
Copy link
Member

No description provided.

@nkuehnel
Copy link
Member Author

So far occupancy change for waypoints always assumed one passenger per request. It should, however, sum up all passengers of all requests entering/leaving.

@michalmac
Copy link
Member

Good catch! We have some tests where we verify feasibility of insertions (also wrt the vehicle capacity). Maybe we should add/modify some of them to reflect that there may be more passengers?

@nkuehnel
Copy link
Member Author

done, added a small test :)

@nkuehnel nkuehnel enabled auto-merge December 21, 2023 12:30
@nkuehnel nkuehnel merged commit 28904cc into matsim-org:master Dec 21, 2023
46 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants