E - The Entitiy which is passed through the ServiceStationpublic class ServiceStation<E extends Entity> extends Station<E> implements HasPredecessor<E>, HasSuccessor<E>
| Constructor and Description |
|---|
ServiceStation(int incomingBufferQueueCapacity,
int maxEntitiesToHandel,
int parallelHandledEntities,
NumericalDist<?> setupTime,
NumericalDist<?> serviceTime,
NumericalDist<?> recoveryTime,
NumericalDist<?> transportTime,
Model owner,
java.lang.String name,
boolean showInReport,
boolean showInTrace)
This Constructor sets the given times, initializes the queues and fills the free service capacity queue.
|
| Modifier and Type | Method and Description |
|---|---|
void |
setSuccessor(Event<? super E> eventToScheduleWhenFinished)
This method is used to set the successor event
|
void |
setSuccessor(HasPredecessor<? super E> successor)
This method is used to set the successor event
|
getStartEventgetCorrespondingSchedulable, getDescription, getObservations, getReporter, incrementObservations, incrementObservations, reportIsOn, reportOff, reportOn, reset, 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, toStringequals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetStartEventpublic ServiceStation(int incomingBufferQueueCapacity,
int maxEntitiesToHandel,
int parallelHandledEntities,
NumericalDist<?> setupTime,
NumericalDist<?> serviceTime,
NumericalDist<?> recoveryTime,
NumericalDist<?> transportTime,
Model owner,
java.lang.String name,
boolean showInReport,
boolean showInTrace)
incomingBufferQueueCapacity - the capatiy of the income queuemaxEntitiesToHandle - the number of max entities the station can handleparallelHandledEntities - the number of max parallel entities a station can handlesetupTime - the time the station needs to set upserviceTime - the time the station needs for the servicerecoveryTime - the time the station needs tor recovertransportTime - the time the station needs to transport the entitiy to the next stationowner - the model ownername - the name of the stationshowInRrichteport - should this construct be in the reportshowInTrace - should this construct be in the tracepublic void setSuccessor(Event<? super E> eventToScheduleWhenFinished)
HasSuccessorsetSuccessor in interface HasSuccessor<E extends Entity>eventToScheduleWhenFinished - the event to be set as successor eventpublic void setSuccessor(HasPredecessor<? super E> successor)
HasSuccessorsetSuccessor in interface HasSuccessor<E extends Entity>successor - the successor of the current station