Package | Description |
---|---|
desmoj.core.simulator |
The core simulation infrastructure and basic components.
|
desmoj.extensions.visualization2d.animation.core.advancedModellingFeatures |
Animated version of components from
package desmoj.core.advancedModellingFeatures . |
Modifier and Type | Method and Description |
---|---|
Res |
Resource.getResPool()
Returns the resource pool (Res) this resource belongs to.
|
Modifier and Type | Method and Description |
---|---|
void |
ResourceDB.deleteResAllocation(Res resPool,
SimProcess doneProc,
int quantity)
Deletes an entry in the resource data base (should be called when a
Sim-process is done with it's requested number of resources from a
resource pool (
Res )). |
void |
ResourceDB.deleteResRequest(SimProcess gainProc,
Res resPool,
int quantity)
Deletes an entry in the resource data base (should be called when a
Sim-process receives it's requested number of resources from a resource
pool (
Res )). |
void |
ResourceDB.noteResourceAllocation(Res resourcePool,
SimProcess allocatingProcess,
int quantity)
Makes an entry in the resource data base when a SimProcess is allocating
a number of resources from a resource pool (
Res ). |
void |
ResourceDB.noteResourceRequest(SimProcess requestingProcess,
Res resourcePool,
int quantity)
Makes an entry in the resource data base when a SimProcess is requesting
a number of resources from a resource pool (
Res ). |
Resource[] |
SimProcess.returnResources(Res resPool,
int n)
Makes the SimProcess return a certain number of resources of the given
resource pool.
|
Constructor and Description |
---|
Resource(Model ownerModel,
java.lang.String name,
Res resPool,
boolean showInTrace)
Constructs a resource object with the given String as name and the given
model as the associated owner of this component.
|
Modifier and Type | Class and Description |
---|---|
class |
ResourcePoolAnimation
Animation of a ResourcePool (Res)
|