EdgeInboundCostCalculator

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

Parameters

parent

the ModelElement parent

carrier

the supplier's outbound carrier this calculator observes

destination

the destination DemandSenderIfc this calculator focuses on

destinationTier

tier of the destination — 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