Offline timetable journey planning with exact bounded arrival/boarding/walking frontiers, transfer semantics and itinerary reconstruction.

moon run cmd/demo
node scripts/build.mjs
node bin/tripfrontier.mjs examples/commute.json
node bin/tripfrontier.mjs examples/accessible.json
node bin/tripfrontier.mjs examples/overnight.json
node scripts/serve.mjs| 接口 | 作用 |
|---|---|
| validate / validate_query | 验证时刻表引用、时序、数据与搜索边界 |
| plan | 计算本模型内完整的三目标非支配目标值组合,每组一个行程见证 |
| verify_journey | 对原时刻表重放单条行程的可行性;不证明前沿最优性 |
| scenario | 应用班次绝对延误/取消和接驳关闭,返回不改写输入的快照 |
| decode_request / plan_json | 严格版本化文本边界与完整 JSON 结果 |
python scripts/import_gtfs.py examples/gtfs --date 2026-10-31 --out artifacts/day.jsonpython scripts/verify.py
# 安装 Python Playwright/Chromium 后,可同时检查实际浏览器:
python scripts/verify.py --browserfn query(from : String, to : String, departure : Int, latest? : Int, max_boardings? : Int, max_walk? : Int, accessible? : Bool, max_labels? : Int, max_work? : Int) -> QueryInstall
Download zipOffline timetable journey planning with exact bounded arrival/boarding/walking frontiers, transfer semantics and itinerary reconstruction.