public class ResourceDemandMeasurementResult extends ParameterisationDependentMeasurementResult
Parameterisation.
The type of the resources measured is specified by the
ResourceDemandingInternalAction's type it belongs to.
ResourceDemandingInternalAction| Constructor and Description |
|---|
ResourceDemandMeasurementResult(double value)
Creates a result for a resource demand measurement for which no parameterisation
was recorded.
|
ResourceDemandMeasurementResult(Parameterisation parameterisation,
double value)
Creates a result for a parameterised resource demand measurement.
|
| Modifier and Type | Method and Description |
|---|---|
double |
getValue()
Gets this result’s value.
|
String |
toString() |
getParameterisationpublic ResourceDemandMeasurementResult(double value)
value - The value measured. The unit is specified by the
ResourceDemandingInternalAction's type it belongs to. Must be
equal or greater than 0.public ResourceDemandMeasurementResult(Parameterisation parameterisation, double value)
parameterisation - The state of variables during measurement.value - The value measured. The unit is specified by the
ResourceDemandingInternalAction's type it belongs to. Must be
greater than 0.public double getValue()
public String toString()
toString in class ParameterisationDependentMeasurementResult