Inventory

constructor(parent: ModelElement, itemType: ItemType, policy: InventoryPolicyAbstract, initialOnHand: Int = 0, mayPartiallyFill: Boolean = true, name: String? = null)(source)

Parameters

parent

the parent model element (must be reachable to a SupplyChainModel so replenishment demands can be created)

itemType

the single ItemType this inventory carries

policy

the replenishment policy

initialOnHand

initial stock at the start of each replication

mayPartiallyFill

whether the inventory may partially fill an incoming demand

name

optional model-element name

See sc.inventorylayer.Inventory