Class ContinuousSampleImpl
java.lang.Object
de.uka.ipd.sdq.probfunction.math.impl.ContinuousSampleImpl
- All Implemented Interfaces:
IContinuousSample
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Probability that a sample lies in the interval specified by the ContinuousSample.double
getValue()
Value represents the right border of the specified interval.void
setProbability
(Double probability) void
-
Constructor Details
-
ContinuousSampleImpl
- Parameters:
value
-probability
-
-
-
Method Details
-
getProbability
Description copied from interface:IContinuousSample
Probability that a sample lies in the interval specified by the ContinuousSample.- Specified by:
getProbability
in interfaceIContinuousSample
- Returns:
- Probability for the interval.
-
setProbability
-
getValue
public double getValue()Description copied from interface:IContinuousSample
Value represents the right border of the specified interval. (The left is given by the ContinuousSample with the next smaller value).- Specified by:
getValue
in interfaceIContinuousSample
- Returns:
- Right border of the interval.
-
setValue
-
equals
-