Package | Description |
---|---|
desmoj.core.advancedModellingFeatures |
Components for advanced process synchronization and event scheduling.
|
desmoj.core.simulator |
The core simulation infrastructure and basic components.
|
desmoj.extensions.applicationDomains.harbour |
Example model components for harbour terminal simulation.
|
desmoj.extensions.applicationDomains.production |
Example model components for production system simulation.
|
desmoj.extensions.visualization2d.animation.core.advancedModellingFeatures |
Animated version of components from
package desmoj.core.advancedModellingFeatures . |
desmoj.extensions.visualization2d.animation.core.simulator |
This package is the animated version of
package desmoj.core.simulator
|
Modifier and Type | Method and Description |
---|---|
S |
WaitQueue.avail(Condition<S> cond)
Returns the slave process waiting in the slave queue and complying to the
given condition.
|
M |
WaitQueue.availMaster(Condition<M> cond)
Returns the master process waiting in the master queue and complying to
the given condition.
|
boolean |
WaitQueue.cooperate(ProcessCoop<M,S> coop,
Condition<S> cond)
This method is called from a SimProcess which wants to cooperate as a
master and is looking for a slave complying to a certain condition
described in
cond . |
P |
CondQueue.first(Condition<P> cond)
Returns the first process waiting in the queue that complies to
the given condition.
|
boolean |
CondQueue.waitUntil(Condition<P> cond)
Lets the current process wait in the CondQueue until a certain condition,
given as a parameter, has become true.
|
Modifier and Type | Method and Description |
---|---|
E |
Queue.first(Condition<E> c)
Returns the first entity queued in this queue that fulfills the given
condition.
|
P |
ProcessQueue.first(Condition<P> c)
Returns the first SimProcess queued in this process-queue that applies to
the given condition.
|
E |
Queue.last(Condition<E> c)
Returns the last Entity queued in this queue that fulfills the given
condition.
|
P |
ProcessQueue.last(Condition<P> c)
Returns the last SimProcess queued in this process-queue that applies to
the given condition.
|
E |
Queue.pred(E e,
Condition<E> c)
Returns the entity enqueued before the given Entity in the queue that
also fulfills the condition given.
|
P |
ProcessQueue.pred(P p,
Condition<P> c)
Returns the SimProcess enqueued before the given SimProcess in the
process-queue that also fulfills the condition given.
|
E |
Queue.removeFirst(Condition<E> c)
Removes the first entity from the queue that fulfills the given
condition.
|
P |
ProcessQueue.removeFirst(Condition<P> c)
Removes the first process from the queue that fulfills to the given
condition.
|
E |
Queue.removeLast(Condition<E> c)
Removes the last entity from the queue that fulfills to the given
condition, determined by traversing the queue from last to first until
an entity fulfilling the condition is found.
|
P |
ProcessQueue.removeLast(Condition<P> c)
Removes the last process from the queue that fulfills to the given
condition, determined by traversing the queue from last to first until
a process fulfilling the condition is found.
|
E |
Queue.succ(E e,
Condition<E> c)
Returns the entity enqueued after the given Entity in the queue that also
fulfills the condition given.
|
P |
ProcessQueue.succ(P p,
Condition<P> c)
Returns the SimProcess enqueued after the given SimProcess in the
process-queue that also fulfills the condition given.
|
Modifier and Type | Class and Description |
---|---|
class |
IsJobForTransporter
This condition should check if the job for the internal transporter (VC) has
as the origin or destination the Crane which that internal transporter (VC)
is assigned to.
|
class |
MyTruck
This condition should check if the number of lane of the truck where he waits
for an internal transporter at the
HoldingArea is equal the
number of the lane of this condition. |
Modifier and Type | Method and Description |
---|---|
SimProcess[] |
TransportJunction.availableSet(Condition cond)
Returns an array of available slave SimProcesses which comply to a given
condition at this moment.
|
SimProcess[] |
TransportTerminal.availableSet(Condition cond)
Returns an array of available slave SimProcesses which comply to a given
condition at this moment.
|
SimProcess |
WorkStation.availMaster(Condition cond)
Returns the master process waiting in the master queue and complying to
the given condition.
|
SimProcess[] |
WorkStation.availSlaves(java.lang.Class kind,
Condition cond)
Returns an array containing the slave processes of the given kind waiting
in their queue and complying to the given condition.
|
Transporter |
TransportJunction.availTransporter(Condition cond)
Returns a transporter process waiting in the transporter (master) queue
complying to the given condition.
|
Transporter |
TransportTerminal.availTransporter(Condition cond)
Returns a transporter process waiting in the transporter (master) queue
complying to the given condition.
|
boolean |
TransportJunction.cooperate(Transportation transportation,
Condition cond)
This method is inherited from the class
WaitQueue and will
be overwritten here to use the more suitable method
transport(Transportation, Condition) . |
int |
Entrepot.getAvailComplyWith(Condition condition)
Returns the number of products available in the Entrepot at the moment
which are in compliance with the given
Condition . |
boolean |
WorkStation.process(Processing process,
java.lang.Class[] kinds,
Condition[] conditions)
This method is to be called from a
SimProcess which wants
to process the other parts (slaves) as a master. |
SimProcess[] |
Entrepot.removeAllProducts(Condition condition)
Removes (and returns) all products (SimProcesses) which are in compliance
with the given condition from the Entrepot, no matter if there are other
processes waiting in the queue.
|
SimProcess[] |
Entrepot.removeProducts(int n,
Condition condition)
Removes (and returns) a certain number of products (SimProcesses) from
the Entrepot which are in compliance with the given condition.
|
boolean |
TransportJunction.transport(Transportation transportation,
Condition cond)
This method is to be called from a
Transporter who wants
to transport goods which comply to a certain condition. |
boolean |
TransportTerminal.transport(Transportation transport,
Condition cond)
This method is to be called from a
Transporter who wants
to transport goods which comply to a certain condition. |
Modifier and Type | Method and Description |
---|---|
boolean |
WaitQueueAnimation.cooperate(ProcessCoopAnimation coop,
Condition cond)
This method is called from a SimProcessAnimation which wants to
cooperate as master and is looking for a slave complying to a certain
condition described in cond
|
boolean |
CondQueueAnimation.waitUntil(Condition cond,
SimProcessAnimation e)
e wird in die CondQueue eingefuegt und wieder entfernt wenn cond erfuellt ist.
|
Modifier and Type | Method and Description |
---|---|
P |
ProcessQueueAnimation.removeFirst(Condition<P> c)
Removes the first process from the queue that fulfills to the given
condition.
|
P |
QueueAnimation.removeFirst(Condition<P> c)
Removes the first entity from the queue that fulfills the given
condition.
|
P |
ProcessQueueAnimation.removeLast(Condition<P> c)
Removes the last process from the queue that fulfills to the given
condition, determined by traversing the queue from last to first until
a process fulfilling the condition is found.
|
P |
QueueAnimation.removeLast(Condition<P> c)
Removes the last entity from the queue that fulfills to the given
condition, determined by traversing the queue from last to first until
an entity fulfilling the condition is found.
|