Package | Description |
---|---|
desmoj.core.advancedModellingFeatures |
Components for advanced process synchronization and event scheduling.
|
desmoj.core.exception |
Exceptions for interrupting processes and for internal simulation control.
|
desmoj.core.report |
Reporters for the DESMO-J core
Reportable components able and output generation. |
desmoj.core.simulator |
The core simulation infrastructure and basic components.
|
desmoj.core.statistic |
Objects to collect statistical data.
|
desmoj.core.util |
Various helper classes, particularly for experiment parameterization and control.
|
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.
|
desmoj.extensions.experimentation.util |
Various helper classes for the experimentation GUI.
|
desmoj.extensions.grafic.util |
Tools to paint histograms and time series data.
|
desmoj.extensions.scheduling |
Timetables schedules to activate and passivate SimProcesses.
|
desmoj.extensions.space3D |
Objects in a 3D space and relevant motion operations.
|
desmoj.extensions.visualEvents |
Events having an impact to 3D motion.
|
desmoj.extensions.visualization2d.animation |
Core package of DESMO-J's 2D animation component.
|
desmoj.extensions.visualization2d.animation.core.simulator |
This package is the animated version of
package desmoj.core.simulator
|
desmoj.extensions.visualization2d.animation.core.statistic |
Animated version of components from
package desmoj.core.statistic . |
Modifier and Type | Method and Description |
---|---|
TimeInstant |
WaitQueue.mMaxLengthAt()
Returns the point of simulation time with the maximum number of processes
waiting inside the underlying master queue.
|
TimeInstant |
WaitQueue.mMaxWaitTimeAt()
Returns the point of simulation time when the process with the maximum
waiting time exited the underlying master queue.
|
TimeInstant |
WaitQueue.mMinLengthAt()
Returns the point of simulation time with the minimum number of processes
waiting inside the underlying master queue.
|
TimeInstant |
WaitQueue.sMaxLengthAt()
Returns the point of simulation time with the maximum number of processes
waiting inside the slave queue.
|
TimeInstant |
WaitQueue.sMaxWaitTimeAt()
Returns the point of simulation time when the process with the maximum
waiting time exited the slave queue.
|
TimeInstant |
WaitQueue.sMinLengthAt()
Returns the point of simulation time with the minimum number of processes
waiting inside the slave queue.
|
Constructor and Description |
---|
SimFinishedException(Model origin,
java.lang.String position,
TimeInstant time)
Constructs a SimFinishedException inserting the given position String and
the given simulation time in the ErrorMessage documenting this exception.
|
Modifier and Type | Method and Description |
---|---|
TimeInstant |
Message.getSendTime()
Returns the time the message was (created) sent as a TimeInstant object.
|
Constructor and Description |
---|
DebugNote(Model origin,
TimeInstant time,
java.lang.String componentName,
java.lang.String description)
Constructs a debugnote with the given parameters.
|
ErrorMessage(Model origin,
java.lang.String errorDescription,
java.lang.String errorLocation,
java.lang.String errorReason,
java.lang.String errorPrevention,
TimeInstant errorTime)
Creates an errormessage setting its parameters with the given values.
|
Message(Model origin,
java.lang.String description,
TimeInstant time)
Constructs a message with the given parameters.
|
TraceNote(Model origin,
java.lang.String message,
TimeInstant time,
Entity entityInvolved,
EventAbstract eventInvolved)
Creates a new tracenote with the given parameters as initial values.
|
TraceNote(Model origin,
java.lang.String message,
TimeInstant time,
java.util.List<Entity> entitiesInvolved,
EventAbstract eventInvolved)
Creates a new tracenote with the given parameters as initial values.
|
Modifier and Type | Method and Description |
---|---|
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.
|
TimeInstant |
TimeInstant.getBeginOf(java.util.concurrent.TimeUnit smallestUnit)
Determines that last instant prior to this instant at which
a new period of the unit provided "begins", which means smaller
units are zero.
|
static TimeInstant |
TimeOperations.getStartTime()
Returns the TimeInstant when the experiment has started.
|
TimeInstant |
Experiment.getStopTime()
Returns the TimeInstant when the experiment is expected to stop running.
|
TimeInstant |
EventNote.getTime()
Returns the point of time associated with this event-note.
|
TimeInstant |
SimClock.getTime()
Returns the actual simulation time.
|
TimeInstant |
QueueBased.maxLengthAt()
Returns the point of simulation time with the maximum number of objects waiting inside the underlying queue.
|
TimeInstant |
QueueBased.maxWaitTimeAt()
Returns the point of simulation time when the object with the maximum waiting time exited the underlying queue.
|
TimeInstant |
QueueBased.minLengthAt()
Returns the point of simulation time with the minimum number of objects waiting inside the underlying queue.
|
TimeInstant |
ModelComponent.presentTime()
Returns the current simulation time as displayed by the simulation clock
responsible for this modelcomponent.
|
TimeInstant |
Reportable.resetAt()
Shows the point in simulation time when the last reset of this reportable
was made.
|
TimeInstant |
Schedulable.scheduledNext()
Returns the next point of time this entity is scheduled.
|
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 |
---|---|
void |
SimProcess.activate(TimeInstant when)
Schedules the SimProcess to be activated at the given point in
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.
|
java.lang.String |
MultiUnitTimeFormatter.buildTimeString(TimeInstant instant)
Returns the String-Representation of the given TimeInstant.
|
java.lang.String |
PatternBasedTimeFormatter.buildTimeString(TimeInstant instant)
Returns the String-Representation of the given TimeInstant.
|
java.lang.String |
SingleUnitTimeFormatter.buildTimeString(TimeInstant instant)
Returns the String-Representation of the given TimeInstant
|
java.lang.String |
TimeFormatter.buildTimeString(TimeInstant instant)
Returns the String representation of the given instant of time.
|
int |
TimeInstant.compareTo(TimeInstant anotherInstant)
Compares the given TimeInstant to this TimeInstant.
|
void |
Experiment.debugOff(TimeInstant stopTime)
Switches the debug output off at the given point of simulation time.
|
void |
Experiment.debugOn(TimeInstant startTime)
Switches the debug output on at the given point of simulation time.
|
void |
Experiment.debugPeriod(TimeInstant startTime,
TimeInstant stopTime)
Switches the debug output on for the given period of simulation time.
|
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 java.lang.String |
TimeOperations.formatTimeInstant(TimeInstant instant)
Formats the given instant of time according to the timeFormatter.
|
void |
SimProcess.hold(TimeInstant until)
Passivates a SimProcess until the given point in simulation time.
|
ExternalEvent |
SimProcess.interruptDelayed(TimeInstant when)
Schedules this process to be interrupted at the given point in simulation
time.
|
static boolean |
TimeInstant.isAfter(TimeInstant a,
TimeInstant b)
Checks if the first of two points of simulation time is after the second.
|
static boolean |
TimeInstant.isAfterOrEqual(TimeInstant a,
TimeInstant b)
Checks if the first of two points of simulation time is after the second
or equal to the second.
|
static boolean |
TimeInstant.isBefore(TimeInstant a,
TimeInstant b)
Checks if the first of two points of simulation time is before the
second.
|
static boolean |
TimeInstant.isBeforeOrEqual(TimeInstant a,
TimeInstant b)
Checks if the first of two points of simulation time is before the second
or equal to the second.
|
static boolean |
TimeInstant.isEqual(TimeInstant a,
TimeInstant b)
Checks if the two TimeInstant parameters describe the same point of
simulation time.
|
void |
SimProcess.reActivate(TimeInstant when)
Re-schedules the activation of this process (which must be exaxctly one)
by setting it to the TimeInstant passed to this method.
|
void |
Schedulable.reSchedule(TimeInstant time)
Re-schedules the Schedulable to some other point in simulation time
(which should be different form the instant at which is a scheduled
at the moment).
|
<E extends Entity> |
Entity.schedule(E who2,
EventOf2Entities<?,E> what,
TimeInstant when)
Schedules this Entity to be manipulated by the given EventOf2Entities at the given
point of time.
|
<E extends Entity,F extends Entity> |
Entity.schedule(E who2,
F who3,
EventOf3Entities<?,E,F> what,
TimeInstant when)
Schedules this Entity to be manipulated by the given EventOf3Entities at the given
point of time.
|
void |
EventOf3Entities.schedule(E who1,
F who2,
G who3,
TimeInstant instant)
Schedules this event to act on the given entities at a certain point in
simulation time.
|
void |
EventOf2Entities.schedule(E who1,
F who2,
TimeInstant instant)
Schedules this event to act on the given entities at a certain point in
simulation time.
|
void |
Event.schedule(E who,
TimeInstant instant)
Schedules this event to act on the given entity at a certain point in
simulation time.
|
void |
Entity.schedule(Event<?> what,
TimeInstant when)
Schedules this Entity to be manipulated by the given Event at the given
point of time.
|
void |
ExternalEvent.schedule(TimeInstant when)
Schedules this external event to make the desired changes to the
experiment or model at the specified point in simulation time.
|
void |
ExternalEventStop.schedule(TimeInstant when)
Schedules this external event to make the desired changes to the
experiment or model at the specified point in simulation time.
|
void |
Experiment.start(TimeInstant initTime)
Starts the experiment with the given simulation time as starting time.
|
void |
Experiment.stop(TimeInstant stopTime)
Stops the simulation at the given point of simulation 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.
|
void |
Experiment.traceOff(TimeInstant stopTime)
Switches the trace output off at the given point of simulation time.
|
void |
Experiment.traceOn(TimeInstant startTime)
Switches the trace output on at the given point of simulation time.
|
void |
Experiment.tracePeriod(TimeInstant startTime,
TimeInstant stopTime)
Switches the trace output on for the given period of simulation time.
|
Constructor and Description |
---|
EventNote(Entity who1,
Entity who2,
Entity who3,
EventAbstract what,
TimeInstant when,
int howImportant,
Schedulable source)
Event notes can only be created if all relevant data can be supplied at
creation time.
|
Modifier and Type | Method and Description |
---|---|
TimeInstant |
TimeSeries.get_end()
Gets the end instant of this TimeSeries.
|
TimeInstant |
TimeSeries.get_start()
Gets the start instant of this TimeSeries.
|
Constructor and Description |
---|
TimeSeries(Model ownerModel,
java.lang.String name,
java.lang.String fileName,
TimeInstant start,
TimeInstant end,
boolean showInReport,
boolean showInTrace)
Constructor for a TimeSeries object that has NO connection to a
ValueSupplier but will write data to the given file. |
TimeSeries(Model ownerModel,
java.lang.String name,
java.lang.String fileName,
ValueSupplier valSup,
TimeInstant start,
TimeInstant end,
boolean automatic,
boolean showInReport,
boolean showInTrace)
Constructor for a TimeSeries object that will observe a
ValueSupplier and write data to the given file. |
TimeSeries(Model ownerModel,
java.lang.String name,
TimeInstant start,
TimeInstant end,
boolean showInReport,
boolean showInTrace)
Constructor for a TimeSeries object that has NO connection to a
ValueSupplier and will NOT write data into a file. |
TimeSeries(Model ownerModel,
java.lang.String name,
ValueSupplier valSup,
TimeInstant start,
TimeInstant end,
boolean automatic,
boolean showInReport,
boolean showInTrace)
Constructor for a TimeSeries object that will observe a
ValueSupplier but will NOT write data into a file. |
Modifier and Type | Method and Description |
---|---|
TimeInstant |
SimRunEvent.getCurrentTime() |
Modifier and Type | Method and Description |
---|---|
TimeInstant |
WorkStation.mMaxLengthAt()
Returns the point of simulation time with the maximum number of
Sim-processes waiting inside the underlying master queue.
|
TimeInstant |
WorkStation.mMaxWaitTimeAt()
Returns the point of simulation time when the process with the maximum
waiting time exited the underlying master queue.
|
TimeInstant |
WorkStation.mMinLengthAt()
Returns the point of simulation time with the minimum number of processes
waiting inside the underlying master queue.
|
TimeInstant |
WorkStation.sMaxLengthAt(int index)
Returns the point of simulation time with the maximum number of
Sim-processes waiting inside the slave queue indicated by the index.
|
TimeInstant |
WorkStation.sMaxWaitTimeAt(int index)
Returns the point of simulation time when the process with the maximum
waiting time exited the slave queue indicated by the index.
|
TimeInstant |
WorkStation.sMinLengthAt(int index)
Returns the point of simulation time with the minimum number of processes
waiting inside the slave queue indicated by the index.
|
Modifier and Type | Method and Description |
---|---|
TimeInstant |
MessageChannel.resetAt() |
TimeInstant |
MessageCrossbar.resetAt()
Shows the point in simulation time when the last reset of this reportable
was made.
|
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 |
MessageChannel.waitForMessage(TimeInstant waitUntil)
Wait for a
CrossbarMessage on this channel, thereby passivating
the current process. |
Modifier and Type | Method and Description |
---|---|
TimeInstant |
ExperimentRunner.getStartTime() |
TimeInstant |
ExperimentRunner.getStopTime() |
Modifier and Type | Method and Description |
---|---|
void |
Plotter.setTimeRange(TimeInstant begin,
TimeInstant end)
set date range for timeseries dateaxis.
|
Modifier and Type | Method and Description |
---|---|
TimeInstant |
EntitySchedule.getBeginOfNextEntry(TimeInstant now)
compute begin of next valid scheduleEntry.
|
TimeInstant |
EntityScheduleEntry.getEnd(TimeInstant time)
Get end time of this Entry for given date.
|
TimeInstant |
EntitySchedule.getEndOfActualEntry(TimeInstant now) |
Modifier and Type | Method and Description |
---|---|
TimeInstant |
EntitySchedule.getBeginOfNextEntry(TimeInstant now)
compute begin of next valid scheduleEntry.
|
TimeInstant |
EntityScheduleEntry.getEnd(TimeInstant time)
Get end time of this Entry for given date.
|
TimeInstant |
EntitySchedule.getEndOfActualEntry(TimeInstant now) |
java.lang.Object[] |
EntitySchedule.isInSchedule(TimeInstant time)
prueft ob date in dem Schedule enthalten ist.
|
void |
EntityScheduleEntry.setValidTimeRange(TimeInstant from,
TimeInstant until)
Global range of this schedule entry
Default is null
|
Modifier and Type | Method and Description |
---|---|
Length |
Movement.getCurrentMovedDistance(TimeInstant movingStartTime,
TimeInstant now)
Gets the moved distance based on the elapsed SimTime.
|
Vector3d |
Movement.getCurrentMovingDirection(TimeInstant movingStartTime,
TimeInstant now)
Gets the current moving direction on this movement based on the elapsed SimTime.
|
double[] |
Movement.getCurrentPosition(TimeInstant movingStartTime,
TimeInstant now)
Gets the current position on this movement based on elapsed SimTime.
|
static double |
KinematicsCalculations.getCurrentSpeed(Movement movement,
TimeInstant movingStartTime,
TimeInstant now)
Gets the current speed based on the elapsed time and the movement object.
|
Modifier and Type | Method and Description |
---|---|
TimeInstant |
VisualEvent.getOccurredTime()
Gets the SimTime when this event occurred.
|
Constructor and Description |
---|
AttachEvent(java.lang.Object source,
java.lang.String attacherObjectName,
java.lang.String hostName,
TimeInstant occurredTime)
Constructs an AttachEvent.
|
CreateVisibleObjectEvent(java.lang.Object source,
java.lang.String objectName,
java.lang.String type,
boolean movable,
TimeInstant occurredTime)
Constructs a CreateVisibleObjectEvent.
|
DetachEvent(java.lang.Object source,
java.lang.String detachObjectName,
TimeInstant occurredTime)
Constructs a DetachEvent.
|
MoveEvent(java.lang.Object source,
java.lang.String moverName,
Movement movement,
boolean focusOnTrack,
Vector3d frontSideVec,
TimeInstant occurredTime)
Constructs a MoveEvent.
|
MovementInterruptEvent(java.lang.Object source,
java.lang.String affectedSpatialObjectName,
double[] stoppedAtPosition,
TimeInstant occurredTime)
Constructs a MovementInterruptEvent.
|
RemoveEvent(java.lang.Object source,
java.lang.String affectedSpatialObjectName,
TimeInstant occurredTime)
Constructs a RemoveEvent.
|
RotateEvent(java.lang.Object source,
java.lang.String rotaterName,
Rotation rotation,
TimeInstant occurredTime)
Constructs a RotationEvent.
|
RotationInterruptEvent(java.lang.Object source,
java.lang.String affectedSpatialObjectName,
Quat4d stoppedAtOrientation,
TimeInstant occurredTime)
Constructs a RotationInterruptEvent.
|
SetOrientationEvent(java.lang.Object source,
java.lang.String affectedSpatialObjectName,
Quat4d orientation,
TimeInstant occurredTime)
Constructs a SetOrientationEvent.
|
SetPositionEvent(java.lang.Object source,
java.lang.String affectedSpatialObjectName,
double x,
double y,
double z,
TimeInstant occurredTime)
Constructs a new SetPositionEvent.
|
SetVisibleEvent(java.lang.Object source,
java.lang.String affectedSpatialObjectName,
boolean visibleEnable,
TimeInstant occurredTime) |
VisualEvent(java.lang.Object source,
java.lang.String affectedSpatialObjectName,
TimeInstant occurredTime)
Constructs a VisualEvent.
|
Modifier and Type | Method and Description |
---|---|
TimeInstant |
CmdGeneration.getInitTime() |
Modifier and Type | Method and Description |
---|---|
long |
CmdGeneration.getAnimationRunTime(TimeInstant t)
distance between actual simTime and initTime as UnixTimeStamp
|
long |
CmdGeneration.getAnimationTime(TimeInstant t)
get Unix TimeStamp of Time t, shown in viewer
|
void |
CmdGeneration.setStartStopTime(TimeInstant begin,
TimeInstant end,
java.util.TimeZone timezone)
Defines simulation start- and stop-time.
|
Modifier and Type | Method and Description |
---|---|
TimeInstant |
ModelAnimation.presentTime()
overwrite presentTime from Model.
|
Modifier and Type | Method and Description |
---|---|
void |
AccumulateAnimation.createAnimation(TimeInstant highTime,
double valMin,
double valMax,
int histogramCells,
Position pos,
Form form,
boolean showInAnimation)
create animation with full parameterization
|
void |
AggregateAnimation.createAnimation(TimeInstant highTime,
double valMin,
double valMax,
int histogramCells,
Position pos,
Form form,
boolean showInAnimation)
create animation with full parameterization
|
void |
CountAnimation.createAnimation(TimeInstant highTime,
double valMin,
double valMax,
int histogramCells,
Position pos,
Form form,
boolean showInAnimation)
create animation with full parameterization
|
void |
TallyAnimation.createAnimation(TimeInstant highTime,
double valMin,
double valMax,
int histogramCells,
Position pos,
Form form,
boolean showInAnimation)
create animation with full parameterization
|
void |
HistogramAnimation.createAnimation(TimeInstant highTime,
Position pos,
Form form,
boolean showInAnimation)
create animation with full parameterization
|
Constructor and Description |
---|
TimeSeriesAnimation(ModelAnimation owner,
java.lang.String name,
TimeInstant start,
TimeInstant end,
boolean showInTrace)
Constructor with the same parameters as in TimeSeries
|