public class HistogramAccumulateReporter extends Reporter
Constructor and Description |
---|
HistogramAccumulateReporter(Reportable informationSource)
Constructor for a new HistogramReporter.
|
Modifier and Type | Method and Description |
---|---|
ChartDataHistogramDouble |
getChartData()
Returns the data for the HistogramAccumulate chart.
|
java.lang.String[] |
getEntries()
Returns an array of Strings each containing the data for the
corresponding column in array
columns[] . |
java.lang.String[] |
getHistColumnTitles()
Returns an array of Strings each containing the title for the
corresponding column of the histogram part (table).
|
java.lang.String[][] |
getHistEntries()
Returns a two-dimensional array of Strings containing the data for the
histogram part of this HistogramReporter.
|
int |
getHistNumColumns()
Returns the number of columns of the histogram part (table) of this
HistogramReporter.
|
int |
getNoOfCells()
Returns the number of cells the interval of the given Histogram is
devided into.
|
long |
getObservations()
Returns the number of observations made by the Histogram object.
|
boolean |
isContinuingReporter() |
getColumnTitles, getDescription, getGroupID, getHeading, getModel, getNumOfSlaveQueues, getReportable, isEqual, isLarger, isOtherGroup, isSameGroup, isTwoRowReporter, makeAdditionalColorEntryIfHTMLColorChartIsGenerated, numColumns
public HistogramAccumulateReporter(Reportable informationSource)
informationSource
- desmoj.core.simulator.Reportable : The Histogram to report about.public java.lang.String[] getEntries()
columns[]
. Implement this
method in a way, that an array of the same length as the columntitles is
produced containing the data at the point of time this method is called
by someone else to produce up-to-date information.getEntries
in class Reporter
public java.lang.String[] getHistColumnTitles()
public java.lang.String[][] getHistEntries()
public int getHistNumColumns()
public int getNoOfCells()
public long getObservations()
public ChartDataHistogramDouble getChartData()
public boolean isContinuingReporter()
isContinuingReporter
in class Reporter