NetworkEdgeOutboundCostCalculator

constructor(parent: ModelElement, networkCarrier: TimeBasedNetworkDemandCarrier, filler: DemandFillerIfc, destination: DemandSenderIfc, supplierTier: NodeTier, paramsProvider: () -> CostParams, name: String? = null)(source)

Parameters

parent

the ModelElement parent

networkCarrier

the shared network carrier this calculator observes

filler

the upstream supplier on this edge (the "filler" key in the carrier's per-edge counter map)

destination

the downstream destination on this edge

supplierTier

tier of the supplier — used as 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