Class NoDemandCalculator
java.lang.Object
org.palladiosimulator.simulizar.interpreter.linking.impl.NoDemandCalculator
- All Implemented Interfaces:
ITransmissionPayloadDemandCalculator<de.uka.ipd.sdq.simucomframework.variables.stackframe.SimulatedStackframe<Object>,
Double>
public class NoDemandCalculator
extends Object
implements ITransmissionPayloadDemandCalculator<de.uka.ipd.sdq.simucomframework.variables.stackframe.SimulatedStackframe<Object>,Double>
This calculator realizes the "No throughput simulation" logic.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncalculatePayloadDemand
(de.uka.ipd.sdq.simucomframework.variables.stackframe.SimulatedStackframe<Object> payload) Calculate the demand induced by transmitting payload.
-
Constructor Details
-
NoDemandCalculator
@Inject public NoDemandCalculator()
-
-
Method Details
-
calculatePayloadDemand
public Double calculatePayloadDemand(de.uka.ipd.sdq.simucomframework.variables.stackframe.SimulatedStackframe<Object> payload) Description copied from interface:ITransmissionPayloadDemandCalculator
Calculate the demand induced by transmitting payload.- Specified by:
calculatePayloadDemand
in interfaceITransmissionPayloadDemandCalculator<de.uka.ipd.sdq.simucomframework.variables.stackframe.SimulatedStackframe<Object>,
Double> - Parameters:
payload
- the payload to transmit- Returns:
- the induced demand
-