尚未检测到更新。GitHub 发布版本后会显示在这里。
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证Offline chemical tanker stowage planner: optimal tank allocation, IBC Code ship type & segregation, filling limits, list and deadweight. C++/WebAssembly engine, runs in the browser.
翻译准备中
取自仓库 README
正在加载完整 README。
查看完整 README ↗Chemical tanker stowage planner for M/T X (IMO 9000001, IBC ship type 2, 12 cargo tanks).
No installation and no internet needed: open index.html in a browser.
Offline chemical tanker stowage planner and cargo optimiser: IBC Code ship type and segregation checks, filling limits, list and deadweight, with a C++ (WebAssembly) search engine.
Hard constraints: one parcel per tank, a filling limit per parcel, no common bulkhead between incompatible parcels, locked tanks are never touched.
Algorithm: "minimal sufficient" tank subsets for each parcel (12 tanks → 4096 subsets, capacity DP) plus their P/S symmetric closures; the most constrained parcel goes first, branch & bound with a capacity lower bound. Typical run time 10–800 ms.
The stowage search and the scoring done at every step (P/S moment, list during loading/discharge, slack, empty volume) are written in C++ in engine/stowage.cpp. They are compiled to WebAssembly and embedded in js/engine-wasm.js, so the app still runs by opening index.html, without internet. The UI, physics (VCF, filling limit) and compatibility stay in JavaScript.
-ffp-contract=off); in standard search, JS, WebAssembly and the native build give bit-for-bit the same plan and score (tests/engine-parity.js).npm run build:engine -- --native → build/stowage (input/output format at the top of engine/stowage.cpp).npm run build:engine (needs clang + lld: sudo apt install clang lld). js/optimizer.js and engine/stowage.cpp are the same algorithm; a change to one must be made to the other too.Chart (paper, default) · Bridge (dark) · Night (red, night vision) · Auto.
npm test # calculation / optimiser tests + C++/JS parity test (Node)
npm run test:ui # browser smoke test (installed Chrome, or CHROMIUM_PATH=/path/to/chromium)
npm run tauri build — dist-web/ is regenerated from index.html, css/ and js/ on every build (npm run build:web); don't edit it by hand.
The regulatory data is a planning aid; the ship's Certificate of Fitness, the current IBC Code Ch.17/18, the USCG chart and the charterer's/shipper's instructions take precedence.