-
Interface Summary
| Interface |
Description |
| SimNode |
|
-
-
Package ikr.simlib.model Description
Model Components
A major advantage of the IKR Simulation Library is the easy construction of a model from
model components (e.g. queues, service units) that are then connected together with the help of
the port concept.
General Classes
Hierarchical Models: Class SimNode
The IKR SimLib supports the building of hierarchical models. Therefore, there is an interface
to build a model hierarchy, which is called
SimNode. The top node of the hierarchy belongs to
an object of the class
Model. All other nodes of the hierarchy can belong to objects of arbitrary
type.
There is a default implementation of a
SimNode called
StdSimNode, which already implements
the methods listed in
SimNode.
Every simulation program has one single instance of the class
SimNodeManager. This
object knows the root of the model hierarchy and can traverse the hierarchy for purpose of
printing.
Model Component Base Class: Class Entity
Model components can be derived from the class
Entity.
Within the simulation library, several model components already exist which have been
derived from
Entity. These classes will be introduced in the following.
Complete Model: Class Model
At the top of the hierarchically ordered model components, there is a model component
derived from
Model.
Traffic End Points
Generators
- See
Generator
Sinks
- See
Sink
Service Components
Server
- See
Phase
Queue
- See
ikr.simlib.entities.queues
Connector Components
Multiplexer
- See
Multiplexer
Demultiplexer
- See
Demultiplexer
Expander
- See
Expander
Branches
- See
Branch
Port Concept
Model components communicate with each other using messages / cells / packets via so-called
ports. Therefore, the model components have a defined interface which increases their re-usability.
- See Also:
Message,
Port