Class TimeSpanBetweenUserActionsCalculator
- java.lang.Object
-
- edu.kit.ipd.sdq.eventsim.measurement.calculator.AbstractBinaryCalculator<org.palladiosimulator.pcm.usagemodel.AbstractUserAction,org.palladiosimulator.pcm.usagemodel.AbstractUserAction>
-
- edu.kit.ipd.sdq.eventsim.workload.calculators.TimeSpanBetweenUserActionsCalculator
-
- All Implemented Interfaces:
BinaryCalculator<org.palladiosimulator.pcm.usagemodel.AbstractUserAction,org.palladiosimulator.pcm.usagemodel.AbstractUserAction>
,MeasurementProducer<Pair<org.palladiosimulator.pcm.usagemodel.AbstractUserAction,org.palladiosimulator.pcm.usagemodel.AbstractUserAction>>
public class TimeSpanBetweenUserActionsCalculator extends AbstractBinaryCalculator<org.palladiosimulator.pcm.usagemodel.AbstractUserAction,org.palladiosimulator.pcm.usagemodel.AbstractUserAction>
-
-
Field Summary
-
Fields inherited from class edu.kit.ipd.sdq.eventsim.measurement.calculator.AbstractBinaryCalculator
measurementListener
-
-
Constructor Summary
Constructors Constructor Description TimeSpanBetweenUserActionsCalculator()
TimeSpanBetweenUserActionsCalculator(String metric)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Measurement<Pair<org.palladiosimulator.pcm.usagemodel.AbstractUserAction,org.palladiosimulator.pcm.usagemodel.AbstractUserAction>>
calculate(Measurement<org.palladiosimulator.pcm.usagemodel.AbstractUserAction> from, Measurement<org.palladiosimulator.pcm.usagemodel.AbstractUserAction> to)
void
setup(IProbe<org.palladiosimulator.pcm.usagemodel.AbstractUserAction> fromProbe, IProbe<org.palladiosimulator.pcm.usagemodel.AbstractUserAction> toProbe)
-
Methods inherited from class edu.kit.ipd.sdq.eventsim.measurement.calculator.AbstractBinaryCalculator
forEachMeasurement, notify
-
-
-
-
Constructor Detail
-
TimeSpanBetweenUserActionsCalculator
public TimeSpanBetweenUserActionsCalculator()
-
TimeSpanBetweenUserActionsCalculator
public TimeSpanBetweenUserActionsCalculator(String metric)
-
-
Method Detail
-
setup
public void setup(IProbe<org.palladiosimulator.pcm.usagemodel.AbstractUserAction> fromProbe, IProbe<org.palladiosimulator.pcm.usagemodel.AbstractUserAction> toProbe)
-
calculate
public Measurement<Pair<org.palladiosimulator.pcm.usagemodel.AbstractUserAction,org.palladiosimulator.pcm.usagemodel.AbstractUserAction>> calculate(Measurement<org.palladiosimulator.pcm.usagemodel.AbstractUserAction> from, Measurement<org.palladiosimulator.pcm.usagemodel.AbstractUserAction> to)
-
-