接続経路探索・各停種別補完・特急ひだ修正をmasterへ反映 - #1621
Conversation
* 未設定の鉄道路線に各停種別を補完 * Rust 1.97のClippy警告を修正
* 複数列車種別を接続する経路探索を実装 * 接続経路の候補上限と性能資料を改善 * レビュー指摘に基づき接続経路探索の上限と命名を改善
* 未設定の鉄道路線に各停種別を補完 * Rust 1.97のClippy警告を修正 * 列車種別なしの経路分岐を削除
* 直通列車の接続駅登録ルールを明記 * Git-flowの運用ルールを明記 * PR作成ルールを明記
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Comment |
🚉 停車駅の変更1 件の変更された停車パターン
✏️ ひだ(名古屋発着) (Hida(Nagoya to Toyama)) - 高山本線 / 東海道本線type_cd=225, line_group_cd=348 変更内容: 1 駅追加 | 1 駅削除 | 稲沢: ● → ○ | 清洲: ○ → ○ | 枇杷島: ○ → ○ | 尾張一宮: ○ → △ | 木曽川: ● → ○ 全駅リスト (52駅)
|
概要
devに蓄積した、接続経路探索の実装・軽量化、列車種別未設定路線への各停種別補完、特急ひだの停車駅データ修正、および関連ドキュメントをmasterへ反映します。変更の種類
変更内容
接続経路・列車種別
GetConnectedRoutesに、複数列車種別を跨ぐ上限付き幅優先探索を実装(GetConnectedRoutesで複数列車種別を跨ぐ経路を返す #1615)データ修正
ドキュメント
AGENTS.mdに明記(列車種別・Git-flow・PR作成の運用ルールを明記 #1620)docs/architecture.mdに反映性能・クエリ影響
Station列」から「探索状態数 × 数値のみの軽量参照 + 返却対象の完全駅データ」へ削減テスト
cargo fmt --all -- --checkが通ることcargo clippy -- -D warningsが通ることcargo test(SQLX_OFFLINE=true)が通ること今回の
devに対して以下を実行し、すべて成功しました。cargo fmt --all -- --checkcargo clippy --all-targets --all-features -- -D warningsSQLX_OFFLINE=true cargo test— 468 passed / 0 failed / 65 ignoredcargo run -p data_validator—[VALID] No errors reported.git merge-tree --write-tree origin/master origin/dev— 競合なし関連Issue
スクリーンショット(任意)
バックエンドおよびデータ変更のため該当なし。