BackLogQueue

open class BackLogQueue @JvmOverloads constructor(inventory: Inventory, discipline: Queue.Discipline = Queue.Discipline.FIFO, name: String? = null) : BackLogPolicyAbstract(source)

FIFO (or other-disciplined) backlog policy backed by a KSL Queue of SupplyChainModel.Demand. The queue itself is a child model element of this policy.

Parameters

inventory

the inventory this policy serves

discipline

the queue discipline; defaults to FIFO

name

optional model-element name

See sc.inventorylayer.BackLogQueue

Constructors

Link copied to clipboard
constructor(inventory: Inventory, discipline: Queue.Discipline = Queue.Discipline.FIFO, name: String? = null)

Properties

Link copied to clipboard
Link copied to clipboard
open override val numberOfDemandsBackLogged: Int

Total number of backlogged demands.

Link copied to clipboard

Read-only view of the underlying queue.

Functions

Link copied to clipboard

Chains the queue's numInQ time-weighted response to the aggregate's aggregateNumberBackOrdered, and the queue's timeInQ per-observation response to the aggregate's aggregateAvgCustomerWaitTime.

Link copied to clipboard
protected open override fun backlog(demand: SupplyChainModel.Demand)

Place demand into this policy's backlog structure.

Link copied to clipboard
protected open override fun fillBackLogs()

Attempt to fill currently-backlogged demands.

Link copied to clipboard

Subclasses provide the backlog statistic surface.