public class AccumulateAnimation extends Accumulate
UNDEFINED
Constructor and Description |
---|
AccumulateAnimation(ModelAnimation owner,
java.lang.String name,
boolean showInReport,
boolean showInTrace)
Constructor with the same parameters as in Accumulate
|
Modifier and Type | Method and Description |
---|---|
void |
createAnimation(Position pos,
Form form,
boolean showInAnimation)
create standard animation
|
void |
createAnimation(TimeInstant highTime,
double valMin,
double valMax,
int histogramCells,
Position pos,
Form form,
boolean showInAnimation)
create animation with full parameterization
|
void |
reset()
Resets this Accumulate object by resetting all variables to 0.0.
|
void |
update(double value)
Add a value to statistical object.
|
createDefaultReporter, doesRetainLastValueOnReset, getMean, getPeriodMeasured, getStdDev, pause, setRetainLastValueOnReset, update, update
getLastValue, getMaximum, getMinimum, update
getShowTimeSpansInReport, getUnit, setShowTimeSpansInReport
getUnitText, round, setUnit
getCorrespondingSchedulable, getDescription, getObservations, getReporter, incrementObservations, incrementObservations, reportIsOn, reportOff, reportOn, resetAt, setCorrespondingSchedulable, setDescription, setReporter
current, currentEntity, currentEntityAll, currentEvent, currentModel, currentSimProcess, debugIsOn, debugOff, debugOn, getModel, isExperimentCompatible, isModelCompatible, presentTime, sendDebugNote, sendMessage, sendTraceNote, sendWarning, skipTraceNote, skipTraceNote, traceIsOn, traceOff, traceOn
getName, getQuotedName, toString
public AccumulateAnimation(ModelAnimation owner, java.lang.String name, boolean showInReport, boolean showInTrace)
owner
- used modelname
- name of Accumulate objectshowInReport
- as in AccumulateshowInTrace
- as in Accumulatepublic 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, double valMin, double valMax, int histogramCells, Position pos, Form form, boolean showInAnimation)
highTime
- initial time line from now until highTimevalMin
- 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.pos
- middle point of animation objectform
- form of animation objectshowInAnimation
- switch animation on or offpublic void update(double value)
update
in class Accumulate
value
- add a valuepublic void reset()
Accumulate
reset
in class Accumulate