Information Technology Reference
In-Depth Information
de.rsiegfried.grams.model.entities
«interface»
Entity
+getId() : String
«interface»
ObjectEntity
«interface»
Agent
+getModel() : Model
+getActivationEvents() : set of Events
+sendEvent(Event event)
«interface»
Action
+getName() : String
+getAgent() : Agent
+getDuration() : TimeInterval
+sendEvent(Event event)
+succeeded()
+failed(TimeInterval done)
AbstractAgent
AbstractAction
Figure 9.7: Class diagram of package entities .
FailedEvaluationAbortSimulation
Indicates that at least one constraint is violated, i.e., the evaluation
failed. As response to this constraint violation, the simulation shall
be aborted. This response may be very helpful during development
or if a constraint is violated in a way that simulation results would
not be valid any longer.
The client only copes with the abstract class Evaluation and the
enumeration type FailedAction , the actual implementations are not
visible to the client.
9.2.5 Entities
Entities, i.e., objects and agents, are represented as shown in Fig-
ure 9.7. Both, sensors and effectors of an agent, are represented by
the interface Action . In addition to the GRAMS reference model, each
agent and also each action has a unique identifier.
Search WWH ::




Custom Search