モデリングのヒント
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
このページでは、API でビジネスルールをモデル化するためのヒントについて説明します。
ポート
下書きまたは国際法により、特定の港における船舶クラスの互換性を制限するには、どうすればよいですか?
許可された船舶クラスについてのみ、対応するポートで費用を指定します。
特定の港での積み替えを禁止するにはどうすればよいですか?
積み替え費用を無制限(または非常に大きな値)に設定します。
需要
貨物レートに含めることができるもの
運賃には、経済価値、環境への影響、顧客満足度など、定期船会社に関連する指標を含めることができます。後者については、需要に応えていないことに対するペナルティを運賃に追加する必要があります。
モデルは、出発地と需要のペアは同じでも仕様が異なる需要に対応できますか?
はい。
レッグ候補
実際のポート接続と比較して、区間の候補にはどのような利点がありますか?
次の API サポート モデリングの区間の候補:
- 同じ 2 つのポート間の複数の軌道
- 同じ軌道上の異なる速度に対する任意のコスト関数
- 船舶クラス固有の費用
- 船舶クラス制限(運河の草案または国際法による)
最も重要なことは、区間の候補がポート接続の明確な定義を定義することです。これは、考えられるオペレーション(コスト、アイドル時間など)で多くの解釈を可能にする物理ポート接続には当てはまりません。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2024-08-09 UTC。
[[["わかりやすい","easyToUnderstand","thumb-up"],["問題の解決に役立った","solvedMyProblem","thumb-up"],["その他","otherUp","thumb-up"]],[["必要な情報がない","missingTheInformationINeed","thumb-down"],["複雑すぎる / 手順が多すぎる","tooComplicatedTooManySteps","thumb-down"],["最新ではない","outOfDate","thumb-down"],["翻訳に関する問題","translationIssue","thumb-down"],["サンプル / コードに問題がある","samplesCodeIssue","thumb-down"],["その他","otherDown","thumb-down"]],["最終更新日 2024-08-09 UTC。"],[[["This page provides guidance on modeling business rules within the API, focusing on ports, demands, and leg candidates."],["Control vessel access to ports by manipulating costs and transshipment options, and incorporate diverse factors into freight rates to reflect business priorities."],["Leverage leg candidates for detailed route modeling, including multiple trajectories, customized cost functions, vessel-specific attributes, and restrictions, enabling a clear definition of port connections."],["The model supports demands with identical origin-destination pairs but varying specifications."]]],["The provided content details API modeling tips for business rules. To restrict vessel class compatibility at ports, costs are specified for allowed classes only. Transshipment can be forbidden by setting its cost to infinite. Freight rates can include various metrics like economic value or environmental impact. The API handles demands with the same origin-destination but different specifications. Leg candidates allow for multiple trajectories, arbitrary cost functions, vessel-specific costs, and class restrictions, providing an unambiguous definition of port connections.\n"]]