This repository has been archived by the owner on Mar 9, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Split of "#111 Fix lane count calculation" #146
Merged
droogmic
merged 55 commits into
a-b-street:main
from
droogmic:rust_guess_lane_count_source
Apr 25, 2022
Merged
Changes from 1 commit
Commits
Show all changes
55 commits
Select commit
Hold shift + click to select a range
a491eef
Add a failing test for the case on the website
BudgieInWA bf5df9d
Rewrite driving_lane_directions to consider all tags together
BudgieInWA dc5de27
Add placeholder warn! calls to show how tag validation can be added t…
BudgieInWA f2c96fc
replace use of `is_some_and`
BudgieInWA fe479f4
Remove unused `#![feature(is_some_with)]`
BudgieInWA 42ae376
Add lanes:{forward,backward} to lanes_to_tags
BudgieInWA e3cf57e
Calculate both_ways in driving_lane_directions too
BudgieInWA b032684
Convert temporary `warn!` calls into `RoadMsg` warnings.
BudgieInWA 4a30b89
Fix misleading panic message when failing to parse data.yaml
BudgieInWA 295e8bc
Represent in the tests that odd lane count warns about guessing
BudgieInWA f472da3
Avoid guessing lanes= and lanes:forward= in the tests just yet
BudgieInWA 28300bc
guess lanes= and lanes:{forward,backward}= in more situations with bu…
BudgieInWA a68efd7
fmt
BudgieInWA c9ca0eb
Start to split parsing into schema understanding, then combining.
BudgieInWA 0496070
wip: Experimental top down rewrite of tag parsing and road building s…
BudgieInWA 392910c
Split into Hunch: "data with certainty" and Theory: "hunch with history"
BudgieInWA beec80a
Delete experimental Hunch, Theory, and Scheme code from this branch
BudgieInWA 538a676
Fix build and tweak comments
BudgieInWA 96d29e1
Merge remote-tracking branch 'origin/main' into rust_guess_lane_count
BudgieInWA 57fbad0
Move driving_lane_directions to LanesScheme::new
BudgieInWA 012319d
Enable passing test :) add TODO
BudgieInWA 0dd3481
fmt
BudgieInWA 768e441
Add a CentreTurnLaneScheme, add warnings and stuff.
BudgieInWA fabbb9d
Rename `busway.forward_direction` to `forward_side_direction` to be c…
BudgieInWA a14ccd7
Remove unused get_and_parse. Not needed now that...
BudgieInWA 7b0b139
fix TODO: does it make sense to have a backward lane on the forward_s…
BudgieInWA fe1024f
Add comments describing the different Infer variants.
BudgieInWA 1bfb561
remove empty impl
BudgieInWA ca818c7
Support LHT outputting turn:lanes:both_ways
BudgieInWA 9f07ce1
Add use statement so doctests compile
BudgieInWA ec7f50d
Use new `road: lanes:` nesting for modified test
BudgieInWA 9c88ebc
Use the new `road: lanes:` nesting for more modified tests.
BudgieInWA 5a63091
Merge branch 'main' into rust_guess_lane_count
droogmic 5212f2e
Fix Clippy
droogmic 08884cb
Merge pull request #1 from droogmic/rust_guess_lane_count
BudgieInWA 2b96964
Fix support for oneway=yes busway:<backward>=opposite_lane
BudgieInWA eaf0117
Merge branch 'main' into rust_guess_lane_count
BudgieInWA 497b5c7
Fix build after merge, using new TagsToLanesMsg type
BudgieInWA b890bd2
fix passing 1 byte type as reference (thanks to Clippy)
BudgieInWA fb56a07
Skip new test in python and kotlin, because they fail
BudgieInWA 551ab2e
add relevant tag to warning
BudgieInWA 9c94da2
warn on calculated inconsistency, as well as direct
BudgieInWA 7303b56
Settle on TurnLanesScheme (with #[allow(unused)])
BudgieInWA 1267f2d
Remove commented code and TODOs
BudgieInWA 2f36852
Remove TurnMarking as struct with bools, do we need a bitset?
BudgieInWA c8f2774
More succinct centre_turn_lane parsing
BudgieInWA 41694ba
rename bothways to proper both_ways
BudgieInWA c0df013
rename bothways proper both_ways
BudgieInWA a264b3c
whitespace
BudgieInWA c5963f9
Merge branch 'rust_refactor_busway' into rust_guess_lane_count_target
droogmic 5087d2d
Merge branch 'lane_count_test' into rust_guess_lane_count_target
droogmic 31ae8d0
Merge branch 'rust_guess_lane_count' into rust_guess_lane_count_source
droogmic b18803d
Rework
droogmic 38d6dec
Rework Centre Turn Lanes
droogmic 0cba794
Merge commit '38d6dec77786193001b1cf5408021b12d060ad47' into rust_gue…
droogmic File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I love the idea that the road builder is responsible for all of this. It's pretty clearly the right spot.
Combined with "builder" in the name, it makes me think of something like this. The call graph becomes the things that describes the dependencies, which is interesting.