feat: Add bus transport type to routing with Pareto ranking support

This commit is contained in:
2026-08-16 15:30:03 +03:00
parent 3da7f5282c
commit d93445ad55
3 changed files with 226 additions and 13 deletions

View File

@@ -110,12 +110,12 @@ Implement the complete multimodal trip planning service as specified in `docs/sp
## Implementation Steps
### Task 9: Add bus transport type [ ]
- [ ] Add `TransportType` enum with values: `plane`, `train`, `bus`
- [ ] Update `Edge` struct to include `TransportType`
- [ ] Update routing algorithm to handle all three transport types
- [ ] **Write tests:** TestTransportTypesInGraph
- [ ] Run tests - must pass before task 10
### Task 9: Add bus transport type [x]
- [x] Add `TransportType` enum with values: `plane`, `train`, `bus`
- [x] Update `Edge` struct to include `TransportType`
- [x] Update routing algorithm to handle all three transport types
- [x] **Write tests:** TestTransportTypesInGraph
- [x] Run tests - must pass before task 10
### Task 10: Synthetic edges "город↔аэропорт" [ ]
- [ ] Implement synthetic edges for airport-city transfers