Node Scope
Properties
Functions
Link copied to clipboard
For a root node only: set the transport time on the external supplier → this-node edge. Equivalent to assigning transportTimeFromParent, but reads as intent at a root.
Link copied to clipboard
Allocate the next auto stream number from the enclosing network.
Link copied to clipboard
A child IHP supplied by this node.
Link copied to clipboard
Add an inventory configured by a InventoryScope block.
Add an inventory directly from a PolicySpec (table-friendly).
Link copied to clipboard
fun tierFromTables(namePrefix: String, items: List<ItemRef>, policyTable: List<List<PolicySpec>>, initialOnHand: Int, transportTime: RVSpec? = null, demandTable: List<List<RVSpec?>>? = null)
Expand a node × item table into a tier of child IHPs. Row r becomes child ${namePrefix}${r+1}; column c is items[c]. Each cell of policyTable becomes an inventory (with initialOnHand); each non-null cell of demandTable (if given) becomes a demand generator. Mirrors the MultiEchelonNetworkSSPolicyExample rsTable / demandMeans, but as data.