tier From Tables
fun tierFromTables(namePrefix: String, items: List<ItemRef>, policyTable: List<List<PolicySpec>>, initialOnHand: Int, transportTime: RVSpec? = null, demandTable: List<List<RVSpec?>>? = null)(source)
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.
Parameters
policy Table
[node][item] replenishment policies
demand Table
optional [node][item] demand inter-arrivals