Package | Description |
---|---|
desmoj.core.advancedModellingFeatures |
Components for advanced process synchronization and event scheduling.
|
desmoj.core.dist |
Distributions to model stochastic effects.
|
desmoj.core.simulator |
The core simulation infrastructure and basic components.
|
desmoj.core.statistic |
Objects to collect statistical data.
|
desmoj.extensions.applicationDomains.harbour |
Example model components for harbour terminal simulation.
|
desmoj.extensions.applicationDomains.production |
Example model components for production system simulation.
|
desmoj.extensions.chaining |
Chaining components, e.g. for generic production systems.
|
desmoj.extensions.crossbar |
A higher-level construct to facilitate indirect process synchronization based on exchanging massages.
|
desmoj.extensions.scheduling |
Timetables schedules to activate and passivate SimProcesses.
|
desmoj.extensions.space3D |
Objects in a 3D space and relevant motion operations.
|
desmoj.extensions.visualization2d.animation.transport |
Animated movement of entities and processes on routes.
|
Modifier and Type | Method and Description |
---|---|
TimeSpan |
WaitQueue.mAverageCoopTime()
Returns the masters' (and slaves') time spent per cooperation
(accounting only for the cooperation itself, excluding waiting).
|
TimeSpan |
WaitQueue.mAverageWaitTime()
Returns the average waiting time of all processes who have exited the
master queue.
|
TimeSpan |
WaitQueue.mMaxWaitTime()
Returns the maximum duration in simulation time that an process has spent
waiting inside the underlying master queue.
|
TimeSpan |
WaitQueue.mStdDevWaitTime()
Returns the standard deviation of the master queue's processes waiting
times.
|
TimeSpan |
WaitQueue.sAverageWaitTime()
Returns the average waiting time of all processes who have exited the
slave queue.
|
TimeSpan |
WaitQueue.sMaxWaitTime()
Returns the maximum duration in simulation time that an process has spent
waiting inside the slave queue.
|
TimeSpan |
WaitQueue.sStdDevWaitTime()
Returns the standard deviation of the slave queue's processes waiting
times.
|
Modifier and Type | Method and Description |
---|---|
TimeSpan |
ContDist.sampleTimeSpan()
Convenience method to sample a period of random length by creating a
TimeSpan whose length is determined by sampling this
distribution (time unit is the experiment's reference units),
thus replacing the pattern new TimeSpan(distribution.sample()) . |
TimeSpan |
NumericalDist.sampleTimeSpan()
Convenience method to sample a period of random length by creating a
TimeSpan whose length is determined by sampling this
distribution (time unit is the experiment's reference units),
thus replacing the pattern new TimeSpan(distribution.sample()) . |
TimeSpan |
SeriesNumerical.sampleTimeSpan()
Convenience method to sample a period of random length by creating a
TimeSpan whose length is determined by sampling this
series (time unit is the experiment's reference units),
thus replacing the pattern new TimeSpan(series.sample()) . |
TimeSpan |
ContDist.sampleTimeSpan(java.util.concurrent.TimeUnit unit)
Convenience method to sample a period of random length by creating a
TimeSpan whose length is determined by sampling this
distribution (time unit given explicitly as parameter), thus replacing
the pattern new TimeSpan(distribution.sample(), unit) . |
TimeSpan |
NumericalDist.sampleTimeSpan(java.util.concurrent.TimeUnit unit)
Convenience method to sample a period of random length by creating a
TimeSpan whose length is determined by sampling this
distribution (time unit given explicitly as parameter), thus replacing
the pattern new TimeSpan(distribution.sample(), unit) . |
TimeSpan |
SeriesNumerical.sampleTimeSpan(java.util.concurrent.TimeUnit unit)
Convenience method to sample a period of random length by creating a
TimeSpan whose length is determined by sampling this
series (time unit given explicitly as parameter), thus replacing
the pattern new TimeSpan(series.sample(), unit) . |
Modifier and Type | Method and Description |
---|---|
static TimeSpan |
TimeOperations.add(TimeSpan a,
TimeSpan b)
Returns a new TimeSpan object representing the sum of the given TimeSpan
objects.
|
TimeSpan |
QueueBased.averageWaitTime()
Returns the average waiting time of all objects who have exited the queue.
|
TimeSpan |
TimeSpan.Builder.build()
Use this method to create TimeSpan objects with the builder pattern.
|
static TimeSpan |
TimeOperations.diff(TimeInstant a,
TimeInstant b)
Returns a new TimeSpan object representing the absolute difference of the
given TimeInstant objects, i.e. the span of time between the two instants
of time.
|
static TimeSpan |
TimeOperations.diff(TimeSpan a,
TimeSpan b)
Returns a new TimeSpan object representing the absolute difference of the
given TimeSpan objects.
|
static TimeSpan |
TimeOperations.divide(TimeSpan dividend,
double divisor)
Returns a new TimeSpan object representing the quotient of the given
TimeSpan and the divisor of type double.
|
static TimeSpan |
TimeOperations.getEpsilonSpan()
Returns the smallest distinguishable TimeSpan.
|
TimeSpan |
QueueBased.maxWaitTime()
Returns the maximum duration in simulation time that an object has spent waiting inside the underlying queue.
|
static TimeSpan |
TimeOperations.multiply(double factor,
TimeSpan span)
Returns a new TimeSpan object representing the product of the given
TimeSpan and the factor of type double.
|
static TimeSpan |
TimeOperations.multiply(TimeSpan span,
double factor)
Returns a new TimeSpan object representing the product of the given
TimeSpan and the factor of type double.
|
TimeSpan |
QueueBased.stdDevWaitTime()
Returns the standard deviation of the queue's objects waiting times.
|
Modifier and Type | Method and Description |
---|---|
void |
SimProcess.activate(TimeSpan dt)
Schedules the SimProcess to be activated after a given span of
simulation time.
|
static TimeInstant |
TimeOperations.add(TimeInstant instant,
TimeSpan span)
Returns a new Time Instant determined from the instant passed to this
method plus the time span passed to method.
|
static TimeInstant |
TimeOperations.add(TimeSpan span,
TimeInstant instant)
Returns a new Time Instant determined from the instant passed to this
method plus the time span passed to method.
|
static TimeSpan |
TimeOperations.add(TimeSpan a,
TimeSpan b)
Returns a new TimeSpan object representing the sum of the given TimeSpan
objects.
|
java.lang.String |
MultiUnitTimeFormatter.buildTimeString(TimeSpan span)
Returns the String-Representation of the given TimeSpan.
|
java.lang.String |
PatternBasedTimeFormatter.buildTimeString(TimeSpan span)
Returns the String-Representation of the given TimeSpan.
|
java.lang.String |
SingleUnitTimeFormatter.buildTimeString(TimeSpan span)
Returns the String-Representation of the given TimeSpan
|
java.lang.String |
TimeFormatter.buildTimeString(TimeSpan span)
Returns the String representation of the given span of time.
|
int |
TimeSpan.compareTo(TimeSpan anotherTimeSpan)
Compares the given TimeSpan to this TimeSpan.
|
static TimeSpan |
TimeOperations.diff(TimeSpan a,
TimeSpan b)
Returns a new TimeSpan object representing the absolute difference of the
given TimeSpan objects.
|
static TimeSpan |
TimeOperations.divide(TimeSpan dividend,
double divisor)
Returns a new TimeSpan object representing the quotient of the given
TimeSpan and the divisor of type double.
|
static double |
TimeOperations.divide(TimeSpan dividend,
TimeSpan divisor)
Returns a new TimeSpan object representing the quotient of the given
TimeSpan objects.
|
static java.lang.String |
TimeOperations.formatTimeSpan(TimeSpan span)
Formats the given span of time according to the timeFormatter.
|
void |
SimProcess.hold(TimeSpan dt)
Passivates a SimProcess for the given span of time.
|
ExternalEvent |
SimProcess.interruptDelayed(TimeSpan delay)
Schedules this process to be interrupted after the given delay.
|
static boolean |
TimeSpan.isEqual(TimeSpan a,
TimeSpan b)
Indicates whether TimeSpan a is equal to TimeSpan b, i.e. they are of
equal length.
|
static boolean |
TimeSpan.isLonger(TimeSpan a,
TimeSpan b)
Checks if the first of two spans of simulation time is longer than the
second.
|
static boolean |
TimeSpan.isLongerOrEqual(TimeSpan a,
TimeSpan b)
Checks if the first of two spans of simulation time is longer than the
second or equal to the second.
|
static boolean |
TimeSpan.isShorter(TimeSpan a,
TimeSpan b)
Checks if the first of two spans of simulation time is shorter than the
second.
|
static boolean |
TimeSpan.isShorterOrEqual(TimeSpan a,
TimeSpan b)
Checks if the first of two spans of simulation time is shorter than the
second or equal to the second.
|
static TimeSpan |
TimeOperations.multiply(double factor,
TimeSpan span)
Returns a new TimeSpan object representing the product of the given
TimeSpan and the factor of type double.
|
static TimeSpan |
TimeOperations.multiply(TimeSpan span,
double factor)
Returns a new TimeSpan object representing the product of the given
TimeSpan and the factor of type double.
|
void |
SimProcess.reActivate(TimeSpan dt)
Re-schedules all SimProcess activation by adding a TimeSpan to the
current activation times.
|
void |
Schedulable.reSchedule(TimeSpan dt)
Re-schedules the Schedulable by shifting all EventNote by a specified
TimeSpan . |
<E extends Entity> |
Entity.schedule(E who2,
EventOf2Entities<?,E> what,
TimeSpan dt)
Schedules this Entity to be manipulated by the given EventOf2Entities at the current
time plus the given offset.
|
<E extends Entity,F extends Entity> |
Entity.schedule(E who2,
F who3,
EventOf3Entities<?,E,F> what,
TimeSpan dt)
Schedules this Entity to be manipulated by the given EventOf3Entities at the current
time plus the given offset.
|
void |
EventOf3Entities.schedule(E who1,
F who2,
G who3,
TimeSpan dt)
Schedules this event to act on the given entities at the specified point in
simulation time.
|
void |
EventOf2Entities.schedule(E who1,
F who2,
TimeSpan dt)
Schedules this event to act the given entities at the specified point in
simulation time.
|
void |
Event.schedule(E who,
TimeSpan dt)
Schedules this event to act on the given Entity at the specified point in
simulation time.
|
void |
Entity.schedule(Event<?> what,
TimeSpan dt)
Schedules this Entity to be manipulated by the given Event at the current
time plus the given offset.
|
void |
ExternalEvent.schedule(TimeSpan dt)
Schedules this external event to make the desired changes to the
experiment or model at the current point of time plus the given span of
time.
|
void |
ExternalEventStop.schedule(TimeSpan dt)
Schedules this external event to make the desired changes to the
experiment or model at the current point of time plus the given span of
time
|
static TimeInstant |
TimeOperations.subtract(TimeInstant instant,
TimeSpan span)
Returns a new Time Instant determined from the instant passed to this
method minus the time span passed to method.
|
Modifier and Type | Method and Description |
---|---|
TimeSpan |
HistogramAccumulate.getObservationsInCell(int cell)
Returns the observations made for the given cell, so far.
|
TimeSpan |
Accumulate.getPeriodMeasured()
Returns the period measured (excluding pauses).
|
Modifier and Type | Method and Description |
---|---|
void |
Aggregate.update(TimeSpan t) |
abstract void |
StatisticObjectSupportingTimeSpans.update(TimeSpan t)
Updates this data collector object with a specific
TimeSpan . |
void |
TimeSeries.update(TimeSpan t) |
void |
ValueStatistics.update(TimeSpan t) |
Modifier and Type | Method and Description |
---|---|
void |
Crane.drive(TimeSpan time)
This method describes the driving of the crane ( crane speader).
|
void |
Crane.load(TimeSpan time)
This method describes the loading action of this crane.
|
void |
InternalTransporter.pickDown(TimeSpan time)
This method describes the unloading of the internal transporter.
|
void |
InternalTransporter.pickUp(TimeSpan time)
This method describes the loading of the internal transporter.
|
void |
Crane.unload(TimeSpan time)
This method describes the unloading action of this crane.
|
Modifier and Type | Method and Description |
---|---|
TimeSpan |
SimpleTransporter.getReturnTimeSample()
Returns a
TimeSpan object representing the time it takes
the SimpleTransporter to return to his home base (
TransportJunction ) after having transported the goods to
some place. |
TimeSpan |
RestockProcessMT.getReviewSpan()
Returns the time span between every replenishment of the
Stock.
|
TimeSpan |
RestockProcessQT.getReviewSpan()
Returns the time span between every replenishment of the
Stock.
|
TimeSpan |
WorkStation.mAverageWaitTime()
Returns the average waiting time of all processes who have exited the
master queue.
|
TimeSpan |
WorkStation.mMaxWaitTime()
Returns the maximum duration in simulation time that an process has spent
waiting inside the underlying master queue.
|
TimeSpan |
WorkStation.mStdDevWaitTime()
Returns the standard deviation of the master queue's processes waiting
times.
|
TimeSpan |
WorkStation.sAverageWaitTime(int index)
Returns the average waiting time of all processes who have exited the
slave queue indicated by the index..
|
TimeSpan |
WorkStation.sMaxWaitTime(int index)
Returns the maximum duration in simulation time that an process has spent
waiting inside the slave queue indicated by the index.
|
TimeSpan |
WorkStation.sStdDevWaitTime(int index)
Returns the standard deviation of the slave queue's processes waiting
times.
|
Modifier and Type | Method and Description |
---|---|
void |
RestockProcessMT.setReviewSpan(TimeSpan newReviewSpan)
Sets the review period to a new value.
|
void |
RestockProcessQT.setReviewSpan(TimeSpan newReviewSpan)
Sets the review period to a new value.
|
Constructor and Description |
---|
RestockProcessMT(Model owner,
java.lang.String name,
long mil,
TimeSpan t,
Stock client,
boolean showInTrace)
Constructs a
RestockProcessMT which restocks a client
Stock after a fixed time period up to a maximum inventory
level. |
RestockProcessMT(Model owner,
java.lang.String name,
long mil,
TimeSpan t,
Stock client,
NumericalDist<?> lt,
boolean showInTrace)
Constructs a
RestockProcessMT which restocks a client
Stock after a fixed time period up to a maximum inventory
level. |
RestockProcessQT(Model owner,
java.lang.String name,
long q,
TimeSpan t,
Stock client,
boolean showInTrace)
Constructs a
RestockProcessQT which restocks a client
Stock after a fixed time period with a fixed quantity of
units. |
RestockProcessQT(Model owner,
java.lang.String name,
long q,
TimeSpan t,
Stock client,
NumericalDist<?> lt,
boolean showInTrace)
Constructs a
RestockProcessQT which restocks a client
Stock after a fixed time period with a fixed quantity of
units. |
Modifier and Type | Method and Description |
---|---|
TimeSpan |
SplitterOutput.getTransportTime()
gets the transport time of the station
|
Modifier and Type | Method and Description |
---|---|
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. |
CrossbarMessage |
MessageChannel.waitForMessage(TimeSpan maxWaitTime)
Wait for a
CrossbarMessage on this channel, thereby passivating
the current process. |
Constructor and Description |
---|
EntitySchedule(Model owner,
TimeSpan fromBeginOfDay,
TimeSpan untilBeginOfDay)
Default Schedule ohne Zeitbeschraenkung, werktags
mit default Zeitzone
|
EntityScheduleEntry(Model model,
TimeSpan fromBeginOfDay,
TimeSpan untilBeginOfDay)
Create an schedule entry with daily time border.
|
EntityScheduleEntry(Model model,
TimeSpan fromBeginOfDay,
TimeSpan untilBeginOfDay,
double value) |
EntityScheduleEntry(Model model,
TimeSpan fromBeginOfDay,
TimeSpan untilBeginOfDay,
java.lang.Object value)
Create an schedule entry with daily time border and an entry value.
|
Modifier and Type | Method and Description |
---|---|
TimeSpan |
Movement.getAccDuration()
Gets the duration of the acceleration phase.
|
TimeSpan |
Movement.getDecDuration()
Gets the duration of the deceleration phase.
|
TimeSpan |
Movement.getMaxSpeedDuration()
Gets the duration when the movement has the maximum speed.
|
TimeSpan |
Movement.getTotalDuration()
Gets the total duration which is the sum of all the 3 phases.
|
Modifier and Type | Method and Description |
---|---|
static Movement |
KinematicsCalculations.configureMovement(Movement movement,
double totalDistance,
double initialSpeed,
double maxSpeed,
double acc,
double dec,
TimeSpan totalSimDuration)
Configures the Movement object based on the track length, the start speed, the maximum speed, the acceleration,
the deceleration and a given total duration.
|
static Movement |
KinematicsCalculations.configureMovement(Movement movement,
double totalDistance,
double initialSpeed,
double acc,
double dec,
TimeSpan totalSimDuration)
Configures the Movement object based on the track length, the start speed, the acceleration,
the deceleration and a given total duration.
|
static double |
KinematicsCalculations.getAcceleration(double initialSpeed,
double endSpeed,
TimeSpan duration)
Gets the acceleration value based on the initial, the end speed and the acceleration duration.
|
void |
MovableSpatialEntity.move(SpatialObject destination,
java.lang.String entryPointName,
TimeSpan duration,
boolean focusOnTrack) |
void |
MovableSpatialObject.move(SpatialObject destination,
java.lang.String entryPointName,
TimeSpan duration,
boolean focusOnTrack)
Move the object to the position of another SpatialObject with a specified duration.
|
void |
MovableSpatialSimProcess.move(SpatialObject destination,
java.lang.String entryPointName,
TimeSpan duration,
boolean focusOnTrack) |
void |
MovableSpatialEntity.move(SpatialObject destination,
java.lang.String entryPointName,
TimeSpan duration,
double maxSpeed,
double acc,
double dec,
boolean focusOnTrack) |
void |
MovableSpatialObject.move(SpatialObject destination,
java.lang.String entryPointName,
TimeSpan duration,
double maxSpeed,
double acc,
double dec,
boolean focusOnTrack)
Move the object to the position of another SpatialObject with specific attributes.
|
void |
MovableSpatialSimProcess.move(SpatialObject destination,
java.lang.String entryPointName,
TimeSpan duration,
double maxSpeed,
double acc,
double dec,
boolean focusOnTrack) |
void |
MovableSpatialSimProcess.moveConcurrent(SpatialObject destination,
java.lang.String entryPointName,
TimeSpan duration,
boolean focusOnTrack)
Move the object to the position of another SpatialObject with a specified duration.
|
void |
MovableSpatialSimProcess.moveConcurrent(SpatialObject destination,
java.lang.String entryPointName,
TimeSpan duration,
double maxSpeed,
double acc,
double dec,
boolean focusOnTrack)
Move the object to the position of another SpatialObject with specific attributes.
|
void |
MovableSpatialEntity.rotX(double angle,
TimeSpan duration) |
void |
MovableSpatialObject.rotX(double angle,
TimeSpan duration)
Rotates the object about the x-axis using an animation.
|
void |
MovableSpatialSimProcess.rotX(double angle,
TimeSpan duration) |
void |
MovableSpatialSimProcess.rotXConcurrent(double angle,
TimeSpan duration)
Rotates the object about the x-axis using an animation.
|
void |
MovableSpatialEntity.rotY(double angle,
TimeSpan duration) |
void |
MovableSpatialObject.rotY(double angle,
TimeSpan duration)
Rotates the object about the y-axis using an animation.
|
void |
MovableSpatialSimProcess.rotY(double angle,
TimeSpan duration) |
void |
MovableSpatialSimProcess.rotYConcurrent(double angle,
TimeSpan duration)
Rotates the object about the y-axis using an animation.
|
void |
MovableSpatialEntity.rotZ(double angle,
TimeSpan duration) |
void |
MovableSpatialObject.rotZ(double angle,
TimeSpan duration)
Rotates the object about the z-axis using an animation.
|
void |
MovableSpatialSimProcess.rotZ(double angle,
TimeSpan duration) |
void |
MovableSpatialSimProcess.rotZConcurrent(double angle,
TimeSpan duration)
Rotates the object about the z-axis using an animation.
|
void |
Movement.setAccDuration(TimeSpan accDuration)
Sets the acceleration duration
|
void |
Movement.setDecDuration(TimeSpan decDuration)
Sets the deceleration duration.
|
void |
Movement.setMaxSpeedDuration(TimeSpan maxSpeedDuration)
Sets the duration of the maximum speed.
|
Constructor and Description |
---|
Movement(Track track,
TimeSpan accDuration,
TimeSpan maxSpeedDuration,
TimeSpan decDuration,
double initialSpeed,
double maxSpeed,
double endSpeed)
It constructs a Movement object with given speed and duration of each phases.
|
Modifier and Type | Method and Description |
---|---|
boolean |
TransportRouteAnimation.insert(E entity,
TimeSpan routeTime)
Insert an entity at begin of route.
|