addLeadTime

fun addLeadTime(itemType: ItemType, distribution: RVariableIfc)(source)

Register or replace the lead-time distribution for itemType. Re-registering an existing item type updates the underlying RandomVariable's initialRandomSource (preserving statistic identity); a new item type creates fresh RandomVariable / TWResponse / Response children of this filler.

The caller is responsible for stream-number assignment when constructing distribution (porting plan §4.1).