Information Technology Reference
In-Depth Information
de.rsiegfried.grams.model.events
«interface»
Event
+getTime() : TimePoint
«interface»
Event
+getTime() : TimePoint
«interface»
EnvironmentalEvent
«interface»
EnvironmentalEvent
«interface»
AgentEvent
+getReceiver() : set of Agent
«interface»
AgentEvent
+getReceiver() : set of Agent
Figure 9.5: Class diagram of package events .
AgentEvent represents all types of events which directly influence
one or more agents. This type of events corresponds to the event
categories numbered (2) and (3) in Figure 6.5.
It should be mentioned once more that these events are parts of the
agent-based model itself and do not impose any specific execution
paradigm of actual simulation engines. Especially, these events have
to be distinguished from the so-called simulator events in Section 9.3.1
which are introduced solely for purposes of execution control.
9.2.4 Constraints
The representation of constraints is straight-forward (see Figure 9.6).
A single constraint is defined by the interface Constraint , a set of
constraints by the interface Constraints . Both, a single constraint
as well as a set of constraints, provide a method for evaluating the
constraint respectively set of constraints which directly reflects the
definition of the GRAMS reference model (see Section 6.6.4).
Evaluation is the abstract base class for representing the result of
evaluating a constraint, respectively a set of constraints. Currently
four different evaluation results are distinguished:
Search WWH ::




Custom Search