Repository navigation
Add validation for visit via locations with coordinates when attempting to link them to graph #6704
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
Closed
optionsome
wants to merge
33
commits into
opentripplanner:dev-2.x
from
HSLdevcom:temporary-vertex-refactor
Closed
Changes from 17 commits
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
ee8bc2d
Refactor how temporary vertices are created for a routing request
optionsome ccbff2f
Refactor more and fix missing use of stop vertices
optionsome 60433ff
Move Exception handling where it belongs after refactoring
optionsome 6ba2932
Refactor how coordinate visit via location vertices/edges are created
optionsome 5e1834d
Set inputField as VIA for routing errors related to via points
optionsome 445ba25
Move FromToViaVertexRequest and create a builder for TemporaryVertice…
optionsome b89d493
Adjust edges related to via points as well
optionsome 0403a3a
Remove unused constructor
optionsome c83c04c
Only adjust edges between adjacent edges and adjust edges between via…
optionsome 2ccfc1a
Filter which modes are used for temporary edges based on request
optionsome ce298b5
Move test to correct package
optionsome 6bcbf19
Add tests
optionsome beb3499
Add javadoc
optionsome 06f208e
Rename via getters to follow naming conventions
optionsome 0c11058
Fix memory leak when builder throws exception
optionsome 4867330
Use FromToViaVertexRequest#findVertices for from/to as well
optionsome b0474b1
Merge remote-tracking branch 'upstream/dev-2.x' into temporary-vertex…
optionsome 43fceb9
Merge remote-tracking branch 'upstream/dev-2.x' into temporary-vertex…
optionsome e2e597b
Ensure that stop's coordinate is not using for non-car routing
optionsome 33991c7
temp
t2gran 6585c80
Refactor LinkingContext to remove temporary edges and AutoCloseable i…
t2gran 5d10429
Refactor RoutingWorker and LinkingContext to integrate TemporaryVerti…
t2gran 0493509
Rename builder
optionsome 778a1b2
Refactor StreetGraphFinder to utilize LinkingContext for temporary ve…
t2gran 3a498ce
Add temporary edges to container
optionsome 3055e61
Refactor GraphVisualizer to integrate LinkingContext for temporary ve…
t2gran ed4b8c5
Refactor ScheduledDeviatedTripIntegrationTest to utilize LinkingConte…
t2gran 6fc1974
RoutingWorker.java
t2gran ecf7f6a
LinkingContext
t2gran 69d19f2
LinkingContextBuilder
t2gran 3440194
GraphVisualizer
t2gran e7f5d4b
Fix WalkRoutingTest
optionsome 815b750
Update some more tests
optionsome 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
Oops, something went wrong.
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.
This class suddenly have to deal with a lot of detailed access/egress mode business logic. This does not belong in this class.
Creating and passing in a TemporaryVertexContainer is ok (there is not many better options), but the container should be clean - no routing/domain logic - pure framework. If we do that then the logic in
createTemporaryVerticesContainercan be moved. Not sure where, but to a mapper or pushed down.