Class Histogram
java.lang.Object
de.uka.ipd.sdq.codegen.simudatavisualisation.datatypes.Histogram
Deprecated.
Superseded by EDP2.
This class stores the information necessary to display a histogram. The histogram can be
visualized using the information about the bucket width and the probability for the buckets.
-
Field Summary
Modifier and TypeFieldDescriptionprotected List<HistogramBucketInformation>
Deprecated.List of the entities, that describe the probability for each of the bucketsprotected double
Deprecated.Contains the width of each bucket of the histogram.static final double
Deprecated.The default width for histogram classesstatic final double
Deprecated.The maximum number of buckets to show when initialising the diagram. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addEntity
(HistogramBucketInformation entity) Deprecated.Adds a new bucket to the histogram.Deprecated.Returns the list of the buckets and their respective probability.double
Deprecated.Receives the bucket width of the histogram.getTitle()
Deprecated.Receives the title or name of the histogram.void
Deprecated.Removes a bucket from the histogram.void
setBucketWidth
(double bucketWidth) Deprecated.Sets the bucket width of the histogram.void
Deprecated.Sets the title or name of the histogram.
-
Field Details
-
DEFAULT_BUCKET_WIDTH
public static final double DEFAULT_BUCKET_WIDTHDeprecated.The default width for histogram classes- See Also:
-
MAXIMUM_NUMBER_OF_BUCKETS
public static final double MAXIMUM_NUMBER_OF_BUCKETSDeprecated.The maximum number of buckets to show when initialising the diagram. The user can decide to show more.- See Also:
-
bucketInformation
Deprecated.List of the entities, that describe the probability for each of the buckets- See Also:
-
bucketWidth
protected double bucketWidthDeprecated.Contains the width of each bucket of the histogram.
-
-
Constructor Details
-
Histogram
Deprecated.Creates a new histogram without buckets and default bucket width.- Parameters:
title
- Title od name of the histogram.
-
Histogram
Deprecated.Creates a new histogram without buckets.- Parameters:
title
- Title or name of the histogram.bucketWidth
- Width of a bucket of the histogram.
-
-
Method Details
-
addEntity
Deprecated.Adds a new bucket to the histogram.- Parameters:
entity
- information about the bucket.
-
removeEntity
Deprecated.Removes a bucket from the histogram.- Parameters:
entity
- bucket to remove.
-
getBucketInformation
Deprecated.Returns the list of the buckets and their respective probability.- Returns:
- the list of the entities.
-
getTitle
Deprecated.Receives the title or name of the histogram.- Returns:
- Title or name of the histogram.
-
setTitle
Deprecated.Sets the title or name of the histogram.- Parameters:
title
- The new title.
-
getBucketWidth
public double getBucketWidth()Deprecated.Receives the bucket width of the histogram.- Returns:
- the bucket width.
-
setBucketWidth
public void setBucketWidth(double bucketWidth) Deprecated.Sets the bucket width of the histogram.- Parameters:
bucketWidth
- the new bucket width.
-