Package | Description |
---|---|
desmoj.core.exception |
Exceptions for interrupting processes and for internal simulation control.
|
desmoj.core.simulator |
The core simulation infrastructure and basic components.
|
desmoj.extensions.applicationDomains.production |
Example model components for production system simulation.
|
desmoj.extensions.crossbar |
A higher-level construct to facilitate indirect process synchronization based on exchanging massages.
|
Modifier and Type | Class and Description |
---|---|
class |
DelayedInterruptException
If a DelayedInterruptException is caught in the
SimProcess.lifeCycle() method of a process this means that the
process has been interrupted from "within" due to a previously scheduled
delayed interrupt. |
Modifier and Type | Method and Description |
---|---|
InterruptException |
SimProcess.getInterruptException() |
Modifier and Type | Method and Description |
---|---|
void |
SimProcess.interrupt(InterruptException interruptReason)
Interrupts the SimProcess by throwing the given InterruptException in
it's lifeCylce() method.
|
Modifier and Type | Method and Description |
---|---|
void |
SimProcess.hold(NumericalDist<?> dist)
Passivates a SimProcess for span of time sampled from the distribution
provided to the method.
|
void |
SimProcess.hold(TimeInstant until)
Passivates a SimProcess until the given point in simulation time.
|
void |
SimProcess.hold(TimeSpan dt)
Passivates a SimProcess for the given span of time.
|
void |
SimProcess.passivate()
Passivates the SimProcess for an indefinite time.
|
Modifier and Type | Method and Description |
---|---|
void |
RestockProcessQT.lifeCycle()
The
RestockProcessQT replenishes the associated
Stock with the given quantity (Q) every period (T). |
Modifier and Type | Method and Description |
---|---|
CrossbarMessage |
MessageCrossbar.waitForMessage(java.util.List<MessageChannel<T>> channelsToWaitOn,
TimeInstant waitUntil)
Wait for a
CrossbarMessage on the specified message channels,
thereby passivating the current process. |
CrossbarMessage |
MessageCrossbar.waitForMessage(java.util.List<MessageChannel<T>> channelsToWaitOn,
TimeSpan maxWaitTime)
Wait for a
CrossbarMessage on the specified message channels,
thereby passivating the current process. |