de.uka.ipd.sdq.probfunction.math
Interface IUnit
- All Known Implementing Classes:
- UnitImpl
public interface IUnit
A unit describes the scale unit of the Y and X axis of a function. For example, the domain (X-axis) of
a probability function can be time measured in milliseconds. In this case, Unit would contain a string "ms".
For now, Unit is only a container of a string. For the future, we plan to exend it with capabilities of
computing one one scale unit into another (e.g. from milliseconds ("ms") to seconds ("s") automatically.
- Author:
- ihssane, jens
getUnitName
String getUnitName()
- Returns:
- Returns a string describing the unit.
setUnitName
void setUnitName(String unit)
- Sets the string describing the unit.
- Parameters:
unit -