Class HistogramBucketInformation
java.lang.Object
de.uka.ipd.sdq.codegen.simudatavisualisation.datatypes.HistogramBucketInformation
Deprecated.
Superseded by EDP2.
This class contains the information about one bucket of a histogram. It stores the value at which
a bucket starts and the probability for that bucket.
-
Constructor Summary
ConstructorDescriptionHistogramBucketInformation
(double probability, double value) Deprecated.Creates a new bucket information. -
Method Summary
Modifier and TypeMethodDescriptiondouble
Deprecated.Receives the probability for the bucket.double
getValue()
Deprecated.Receives the value at which the bucket starts.void
setProbability
(double probability) Deprecated.Sets the probability for the bucket.void
setValue
(double value) Deprecated.Sets the value at which the bucket starts.
-
Constructor Details
-
HistogramBucketInformation
public HistogramBucketInformation(double probability, double value) Deprecated.Creates a new bucket information.- Parameters:
probability
- The probability of the bucket.value
- The value at which the bucket starts.
-
-
Method Details
-
getProbability
public double getProbability()Deprecated.Receives the probability for the bucket.- Returns:
- the probability
-
setProbability
public void setProbability(double probability) Deprecated.Sets the probability for the bucket.- Parameters:
probability
- the new probability for the bucket.
-
getValue
public double getValue()Deprecated.Receives the value at which the bucket starts.- Returns:
- the value at which the bucket starts.
-
setValue
public void setValue(double value) Deprecated.Sets the value at which the bucket starts.- Parameters:
value
- the new start value
-