ShipmentFormation

data class ShipmentFormation(val option: DemandLoadBuilder.LoadFormingOption, val countLimit: Int = 0, val weightLimits: Pair<Double, Double>? = null, val cubeLimits: Pair<Double, Double>? = null)(source)

Per-edge shipment-formation policy passed to a MultiEchelonNetwork attach method. When a non-null ShipmentFormation is supplied, the network installs a DemandLoadBuilder on the supplier node keyed by the customer. Outbound demands flow through the builder and are bundled into loads per the option.

Only meaningful when the supplier node was added with enableShipmentFormation = true (which installs a ksl.modeling.supplychain.transport.TimeBasedLoadCarrier for the node) and the network's TransportStrategy is TransportStrategy.PerIHPTimeBased. Other strategies do not support per-edge formation in this phase.

See also

Constructors

Link copied to clipboard
constructor(option: DemandLoadBuilder.LoadFormingOption, countLimit: Int = 0, weightLimits: Pair<Double, Double>? = null, cubeLimits: Pair<Double, Double>? = null)

Properties

Link copied to clipboard

limit used by DemandLoadBuilder.LoadFormingOption.COUNT

Link copied to clipboard

min/max limits used by DemandLoadBuilder.LoadFormingOption.CUBE; null for the other options

Link copied to clipboard

which forming rule the builder runs. See DemandLoadBuilder.LoadFormingOption.

Link copied to clipboard

min/max limits used by DemandLoadBuilder.LoadFormingOption.WEIGHT; null for the other options