Skip to content

Merge PTBroker#55

Open
ChenhaoDing wants to merge 33 commits intodev/merge_to_masterfrom
chenhao/ptbroker_to_be_merged
Open

Merge PTBroker#55
ChenhaoDing wants to merge 33 commits intodev/merge_to_masterfrom
chenhao/ptbroker_to_be_merged

Conversation

@ChenhaoDing
Copy link
Collaborator

See details in changelog.md.

This commit introduces several improvements and fixes to the routing logic:

1. Fix(cpp_raptor_counter): Correct transfer counting bug by ignoring walking legs during calculation.
2. Perf(cpp_raptor_counter): Optimize best journey lookup logic. Now prioritizes arrival time at the target station (parent) rather than the specific stop.
3. Feat: Add `RaptorRouterCpp` class to query the fastest travel plan between two pt stations.
4. Test: Add example GTFS files for the example network to facilitate testing.
This update enables full intermodal simulation capabilities in FleetPy by introducing a high-performance C++ routing engine and a new broker strategy.

Detailed changes are documented in CHANGELOG.md.
…te corresponding directory names and file paths to reflect this change.
2. fix a bug that last mile leg can be a walking leg in PTRouter
- Feat: Intermodal evaluation
- Add header comments to PTBrokerBasic, PTBroker, PTBrokerEI, PTBrokerPAYG
  describing each strategy's intermodal request handling logic and noting
  that code has only been tested with ImmediateDecisionsSimulation + PoolingIRSOnly
- Remove commented-out debug code in PoolingIRSOnly
- Update changelog [1.1.0]: replace TPCS references with accurate descriptions
  of the three broker strategies (PTBroker, PTBrokerEI, PTBrokerPAYG), add
  missing entries, and correct global variable names
@ChenhaoDing ChenhaoDing requested a review from r0meng March 9, 2026 16:58
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