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
Constructors Constructor Description NoDemandCalculator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Double
calculatePayloadDemand(de.uka.ipd.sdq.simucomframework.variables.stackframe.SimulatedStackframe<Object> payload)
Calculate the demand induced by transmitting payload.
-
-
-
Method Detail
-
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
-
-