Inventory Policy Abstract
Abstract base for replenishment policies controlled by an Inventory.
Subclasses implement checkInventory (decide when to order), setPolicyParameters and getPolicyParameters (the mutable parameter vector), and setInitialPolicyParameters (the vector restored at the start of each replication).
See sc.inventorylayer.InventoryPolicyAbstract
Inheritors
Properties
Parameter values restored at the start of each replication. Subclasses store into this from setInitialPolicyParameters.
True if the policy parameters changed at least once this replication.
If true (default), the policy parameters are reset to initialPolicyParameters before each replication.
If false, suppresses the warning logged when the policy parameters changed during a replication and reset is off.
Functions
This method should be overridden by subclasses that need actions performed prior to each replication. It is called prior to each replication and can be used to initialize the model element. It is called before initialize() is called.
Decide whether to place a replenishment order now.
Snapshot of the initial parameter vector.
Snapshot the current parameter values.
This method should be overridden by subclasses that need actions performed when a model element is removed from a model
Replace the parameter vector restored at the start of each replication. Subclasses validate the array shape and contents.
Change the policy parameters during a replication.