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