public class BinAnimation extends Bin
QueueBased.QueueActionFIFO, LIFO, RANDOM, UNDEFINED| Constructor and Description |
|---|
BinAnimation(ModelAnimation owner,
java.lang.String name,
int consumerSortOrder,
int consumerQCapacity,
long initialUnits,
boolean showInReport,
boolean showInTrace)
Constructor with the same parameters as in Bin
|
BinAnimation(ModelAnimation owner,
java.lang.String name,
long initialUnits,
boolean showInReport,
boolean showInTrace)
Constructor with the same parameters as in Bin
|
| Modifier and Type | Method and Description |
|---|---|
void |
createAnimation(Position pos,
FormExt form,
boolean showInAnimation)
create animation with full parameterization
|
boolean |
retrieve(long noOfProducts)
A Consumer wants to retrieve noOfProducts
When the stock is full, he must wait in a queue of consumer
|
void |
store(long noOfProducts)
A Producer wants to store noOfProducts.
|
avgAvail, createDefaultReporter, getAvail, getConsumers, getInitial, getMaximum, getPassBy, getProducers, getQueueStrategy, getRefused, reset, setPassByaddObserver, averageLength, averageWaitTime, deleteObserver, getQueueLimit, length, maxLength, maxLengthAt, maxWaitTime, maxWaitTimeAt, minLength, minLengthAt, notifyObservers, setQueueImpWarning, stdDevLength, stdDevWaitTime, zeroWaitsgetCorrespondingSchedulable, 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 BinAnimation(ModelAnimation owner, java.lang.String name, int consumerSortOrder, int consumerQCapacity, long initialUnits, boolean showInReport, boolean showInTrace)
owner - used modelname - as in BinconsumerSortOrder - as in BinconsumerQCapacity - as in BininitialUnits - as in Bincapacity - as in BinshowInReport - as in BinshowInTrace - as in Binpublic BinAnimation(ModelAnimation owner, java.lang.String name, long initialUnits, boolean showInReport, boolean showInTrace)
owner - used modelname - as in BininitialUnits - as in BinshowInReport - as in BinshowInTrace - as in Binpublic void createAnimation(Position pos, FormExt form, boolean showInAnimation)
pos - middle point of animation objectform - form of animation objectshowInAnimation - switch animation on or offpublic boolean retrieve(long noOfProducts)
throws SuspendExecution