Routing Table Ifc
Lookup table mapping a demand's final destination (SupplyChainModel.Demand.demandSender) to the next intermediate hop along its multi-hop journey. Used by a DockTerminalAction.Ship (or any custom re-ship endpoint) to decide where to forward an arriving demand.
Implementations are typically pre-populated at network-build time by walking the topology — at a cross-dock, the next hop toward any known final destination is the first edge on the unique path through the arborescence.
See also
Functions
Link copied to clipboard
Return the next hop a demand bound for finalDestination should be forwarded to, or null if no route exists. A null return is a routing error and the caller is expected to surface it (typically by throwing).