Skip to content

Penalize routing onto sidewalks#70

Draft
wrangtangle wants to merge 18 commits into
jeancochrane:masterfrom
wrangtangle:filter-sidewalks
Draft

Penalize routing onto sidewalks#70
wrangtangle wants to merge 18 commits into
jeancochrane:masterfrom
wrangtangle:filter-sidewalks

Conversation

@wrangtangle

@wrangtangle wrangtangle commented Nov 7, 2025

Copy link
Copy Markdown
Contributor

Prevent penalize routing onto sidewalks when route cost is calculated.

Initially assumed that we could completely prevent routing onto sidewalks (example of problem: #64), but this breaks too many routes.

@wrangtangle

Copy link
Copy Markdown
Contributor Author

Also should prevent routing onto barrier=kerb! Fuzz testing is showing that this comes up a decent bit.

@wrangtangle

Copy link
Copy Markdown
Contributor Author

Testing with the script at a6c6770, which picks random vertex pairs and tries to route between them with/without routing onto sidewalks allowed, suggests that sidewalks may be needed to route between a large proportion of vertex pairs, potentially >50%.

Penalizing routing onto sidewalks rather than preventing it seems maybe more viable - I'll investigate that.

@wrangtangle wrangtangle changed the title Prevent routing onto sidewalks Penalize routing onto sidewalks Jan 4, 2026
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.

1 participant