Time Based Order Carrier
Order carrier that delays each shipment by a per-OrderSenderIfc random transport time. Senders without a configured time are either rejected with NoCarrierOptionException or, if immediateTransportFlag is true, shipped and delivered immediately (zero simulated time).
Java has no built-in in-transit statistics on this class — the port preserves that.
Parameters
the parent model element
optional model-element name
See sc.transportlayer.TimeBasedOrderCarrier
Properties
When true, orders whose sender has no configured transport time are shipped and delivered immediately (zero simulated time) instead of throwing NoCarrierOptionException. Default false.
Functions
Side-effect-free probe: returns true iff order would route successfully under the carrier's current configuration. See DemandCarrierIfc.canShip for the rationale.
True if a transport time has been configured for sender.
Register (or replace) the transport-time distribution used for sender. The supplied distribution is wrapped in a new RandomVariable (per porting plan §4.1) the first time the sender is added; subsequent calls swap the underlying source.
Transport order from its origin to its destination.