Class CalculatorRepresentative
- java.lang.Object
-
- edu.kit.ipd.sdq.eventsim.instrumentation.description.core.CalculatorRepresentative
-
public class CalculatorRepresentative extends Object
Represents a calculator. A calculator can be set on top of two probes to compute a metric based on the measurement results of the probes.
-
-
Constructor Summary
Constructors Constructor Description CalculatorRepresentative()
CalculatorRepresentative(String metric)
CalculatorRepresentative(String metric, ProbeRepresentative fromProbe, ProbeRepresentative toProbe)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
ProbeRepresentative
getFromProbe()
String
getMetric()
ProbeRepresentative
getToProbe()
int
hashCode()
void
setFromProbe(ProbeRepresentative fromProbe)
void
setMetric(String measuredProperty)
void
setToProbe(ProbeRepresentative toProbe)
boolean
uses(ProbeRepresentative probe)
-
-
-
Constructor Detail
-
CalculatorRepresentative
public CalculatorRepresentative(String metric, ProbeRepresentative fromProbe, ProbeRepresentative toProbe)
-
CalculatorRepresentative
public CalculatorRepresentative(String metric)
-
CalculatorRepresentative
public CalculatorRepresentative()
-
-
Method Detail
-
getMetric
public String getMetric()
-
setMetric
public void setMetric(String measuredProperty)
-
getFromProbe
public ProbeRepresentative getFromProbe()
-
setFromProbe
public void setFromProbe(ProbeRepresentative fromProbe)
-
getToProbe
public ProbeRepresentative getToProbe()
-
setToProbe
public void setToProbe(ProbeRepresentative toProbe)
-
uses
public boolean uses(ProbeRepresentative probe)
-
-