public class HistogramAnimation extends Histogram
UNDEFINED| Constructor and Description |
|---|
HistogramAnimation(ModelAnimation owner,
java.lang.String name,
double valMin,
double valMax,
int histogramCells,
boolean showInReport,
boolean showInTrace)
Constructor with the same parameters as in Histogram
|
| Modifier and Type | Method and Description |
|---|---|
void |
createAnimation(Position pos,
Form form,
boolean showInAnimation)
create standard animation
|
void |
createAnimation(TimeInstant highTime,
Position pos,
Form form,
boolean showInAnimation)
create animation with full parameterization
|
void |
reset()
Resets this Histogram object by resetting the counters for each cell to
zero.
|
void |
update(double value)
Add a value to statistical object.
|
changeParameters, changeParameters, chiSquareTest, chiSquareTest, createDefaultReporter, getCells, getCellWidth, getLowerLimit, getMeanWidth, getMostFrequentedCell, getMostFrequentedCells, getObservationsInCell, getUpperLimit, isCondensed, setCondensed, update, updategetLastValue, getMaximum, getMinimum, updategetShowTimeSpansInReport, getUnit, setShowTimeSpansInReportgetUnitText, round, setUnitgetCorrespondingSchedulable, getDescription, getObservations, getReporter, incrementObservations, incrementObservations, reportIsOn, reportOff, reportOn, resetAt, setCorrespondingSchedulable, setDescription, setReportercurrent, currentEntity, currentEntityAll, currentEvent, currentModel, currentSimProcess, debugIsOn, debugOff, debugOn, getModel, isExperimentCompatible, isModelCompatible, presentTime, sendDebugNote, sendMessage, sendTraceNote, sendWarning, skipTraceNote, skipTraceNote, traceIsOn, traceOff, traceOngetName, getQuotedName, toStringpublic HistogramAnimation(ModelAnimation owner, java.lang.String name, double valMin, double valMax, int histogramCells, boolean showInReport, boolean showInTrace)
owner - used modelname - name of HistogramvalMin - initial value line from valMin to valMaxvalMax - initial value line from valMin to valMaxhistogramCells - no of histogram cells between valMin and valMax
0 means, there is no histogram support.showInReport - as in HistogramshowInTrace - as in Histogrampublic void createAnimation(Position pos, Form form, boolean showInAnimation)
pos - middle point of animation objectform - form of animation objectshowInAnimation - switch animation on or offpublic void createAnimation(TimeInstant highTime, Position pos, Form form, boolean showInAnimation)
highTime - initial time line from now until highTimepos - middle point of animation objectform - form of animation objectshowInAnimation - switch animation on or offpublic void update(double value)
public void reset()
HistogramchangeParameters method after the reset.