EdgeOutboundCostCalculator

constructor(parent: ModelElement, carrier: TimeBasedDemandCarrier, destination: DemandSenderIfc, supplierTier: NodeTier, paramsProvider: () -> CostParams, name: String? = null)(source)

Parameters

parent

the ModelElement parent

carrier

the outbound carrier this calculator observes; must be the carrier of the supplier on this edge

destination

the destination DemandSenderIfc this calculator focuses on

supplierTier

tier of the supplier (carrier owner) — used as the CostCalculator.tier

paramsProvider

supplies the cost-rate parameters, resolved at each replication end so rate changes made between replications (e.g. via controls on the owning formulation) take effect