CostParamsSpec

@Serializable
data class CostParamsSpec(val carryingRate: Double = 0.1, val backorderRate: Double = 0.0, val orderingCost: Double = 5.5, val unloadingCost: Double = 30.0, val loadingCost: Double = 40.0, val shippingCost: Double = 15.0, val stockoutCost: Double = 0.0, val lostSaleCost: Double = 0.0, val unitShortageCost: Double = 0.0, val esLoadingCost: Double = 40.0)(source)

Serializable twin of the framework's CostParams. Kept separate from the runtime type so the runtime CostParams stays free of serialization annotations. The builder (D5) constructs a CostParams from these fields.

Field meanings (and the time-unit convention for the two rates) are documented on the runtime CostParams: continuous rates are denominated in 1 / (modeler-chosen time unit); the framework does no time conversion.

Constructors

Link copied to clipboard
constructor(carryingRate: Double = 0.1, backorderRate: Double = 0.0, orderingCost: Double = 5.5, unloadingCost: Double = 30.0, loadingCost: Double = 40.0, shippingCost: Double = 15.0, stockoutCost: Double = 0.0, lostSaleCost: Double = 0.0, unitShortageCost: Double = 0.0, esLoadingCost: Double = 40.0)

Properties

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