Information Technology Reference
In-Depth Information
«interface»
de.rsiegfried.grams.model.Model
getTime() : Time
getEnvironment() : Environment
getEvents() : list of Event
getAgents() : set of Agent
getConstraints() : set of Constraint
«implements»
Time
DefaultModel
1
1
«interface»
Environment
1
1
«interface»
Event
1
0..*
«interface»
Agent
1
0..*
«interface»
Constraint
1
0..*
Figure 9.2: Main classes and interfaces representing an agent-based
model.
9.2 Representation of an agent-based model
The right-hand side of Figure 9.1 already indicates that agent-based
models as defined by the GRAMS reference model are represented in a
very direct way. The package grams.model serves as top-level package
and contains all sub-packages and classes. In a very straight-forward
way, the sub-packages time , environment , events , entities and
constraints contain the respective concepts.
The package grams.model furthermore contains the interface Model
which provides access to the components of an agent-based model.
As indicated in Figure 9.2, default implementations of interfaces are
regularly provided to ease implementation of problem-specific models.
Details of individual classes and interfaces are provided in the following
subsections.
Search WWH ::




Custom Search