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

Pass through raptor changes #5249

Merged
merged 44 commits into from
Aug 18, 2023
Merged

Conversation

Bartosz-Kruba
Copy link
Contributor

@Bartosz-Kruba Bartosz-Kruba commented Jul 20, 2023

Summary

This PR includes all the necessary changes in Raptor module for handling PassThrough points via new C2 pareto-set parameter.

Issue

#4887

Unit tests

This PR includes all necessary tests for new functionality.

Documentation

Javadocs included.

@Bartosz-Kruba Bartosz-Kruba force-pushed the pass-through_raptor-changes branch 4 times, most recently from e9f2e4a to a6f1193 Compare July 20, 2023 12:38
@jtorin jtorin force-pushed the pass-through_raptor-changes branch from 63ad1f5 to 23ef981 Compare July 20, 2023 20:39
@t2gran t2gran force-pushed the pass-through_raptor-changes branch from 2a44997 to b4990ab Compare July 22, 2023 14:17
@codecov
Copy link

codecov bot commented Jul 22, 2023

Codecov Report

Patch coverage: 90.35% and project coverage change: +0.13% 🎉

Comparison is base (1baa283) 66.08% compared to head (b68d4ae) 66.22%.
Report is 5 commits behind head on dev-2.x.

Additional details and impacted files
@@              Coverage Diff              @@
##             dev-2.x    #5249      +/-   ##
=============================================
+ Coverage      66.08%   66.22%   +0.13%     
- Complexity     14942    15128     +186     
=============================================
  Files           1780     1787       +7     
  Lines          68969    69197     +228     
  Branches        7287     7348      +61     
=============================================
+ Hits           45576    45823     +247     
+ Misses         20905    20892      -13     
+ Partials        2488     2482       -6     
Files Changed Coverage Δ
...rg/opentripplanner/raptor/api/path/RaptorPath.java 100.00% <ø> (+5.26%) ⬆️
...raptor/multicriteria/McRangeRaptorWorkerState.java 100.00% <ø> (ø)
...ulticriteria/arrivals/c1/StopArrivalFactoryC1.java 100.00% <ø> (ø)
...ulticriteria/arrivals/c2/StopArrivalFactoryC2.java 100.00% <ø> (+100.00%) ⬆️
...eraptor/multicriteria/ride/PatternRideFactory.java 100.00% <ø> (ø)
...teria/ride/c2/TransitPriorityGroupRideFactory.java 0.00% <ø> (ø)
...ner/raptor/rangeraptor/path/ForwardPathMapper.java 76.66% <0.00%> (-5.48%) ⬇️
...va/org/opentripplanner/raptor/spi/UnknownPath.java 66.66% <0.00%> (-2.30%) ⬇️
...ain/java/org/opentripplanner/raptor/path/Path.java 85.18% <40.00%> (-3.93%) ⬇️
...a/org/opentripplanner/raptor/path/PathBuilder.java 95.40% <50.00%> (-2.22%) ⬇️
... and 27 more

... and 10 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@jtorin jtorin force-pushed the pass-through_raptor-changes branch from 8e52f5c to e885fc5 Compare July 24, 2023 22:12
@t2gran t2gran force-pushed the pass-through_raptor-changes branch 4 times, most recently from 3c9e7a6 to de2263d Compare July 28, 2023 16:17
@t2gran t2gran added this to the 2.4 (next release) milestone Aug 15, 2023
@t2gran t2gran marked this pull request as ready for review August 15, 2023 18:38
@t2gran t2gran requested a review from a team as a code owner August 15, 2023 18:38
bartosz and others added 23 commits August 17, 2023 17:53
Run Raptor module tests in debug mode if "debugRaptor" is set(any value)
as a system property or an environment variable.
The Raptor package is self-contained and not even the test should reference
outside OTP packages.
- Make C2 dominance function injectable
- Write tests for PathParetoSetComparators.paretoComparator. All possible combinations
Co-authored-by: Johan Torin <[email protected]>
@t2gran t2gran force-pushed the pass-through_raptor-changes branch from a1d33ad to b68d4ae Compare August 17, 2023 15:53
@Bartosz-Kruba Bartosz-Kruba merged commit 5ea91e7 into dev-2.x Aug 18, 2023
@Bartosz-Kruba Bartosz-Kruba deleted the pass-through_raptor-changes branch August 18, 2023 07:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants