InventorySpec

@Serializable
data class InventorySpec(val itemTypeName: String, val policy: PolicySpec, val initialOnHand: Int)(source)

Serializable description of one inventory (one item type) held at a node.

Parameters

itemTypeName

the ItemSpec.name this inventory carries

policy

the replenishment policy

initialOnHand

stock at the start of each replication

Constructors

Link copied to clipboard
constructor(itemTypeName: String, policy: PolicySpec, initialOnHand: Int)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard