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

minSearchRadius config parameter added #2125

Merged
merged 2 commits into from
Aug 27, 2019

Conversation

robfitzgerald
Copy link
Collaborator

@robfitzgerald robfitzgerald commented Aug 27, 2019

parking search's min search radius has been fixed since the dawn of time and Thor cast his first code smell upon the land.

so, when we randomly sample our parking zones based on utility, it would make sense to only be picking from maybe less than 30 i'm guessing alternatives. unfortunately, we have had a 1000-meter min search radius. here's a quick comparison between 1000 meter min search radius and 250 meter:

search radius avg parking zones found avg search iterations
1000 679 1.03
250 17 1.28

this PR does the following:

  1. exposes beam.agentsim.agents.parking.minSearchRadius
  2. sets its default to 250.0 for now

Closes #2124.


This change is Reviewable

@robfitzgerald robfitzgerald self-assigned this Aug 27, 2019
@robfitzgerald
Copy link
Collaborator Author

test!

@wrashid wrashid merged commit 55b05ad into develop Aug 27, 2019
@wrashid wrashid deleted the rjf/#2124-expose-min-search-radius-param branch August 27, 2019 04:20
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.

parking - expose min search radius from zonal parking manager
2 participants