Commit c1e8e448 authored by Volker Coors's avatar Volker Coors
Browse files

Update 01 Background_and_Definitions.adoc

parent 8ae7bbcb
......@@ -15,7 +15,7 @@ In general, a workflow step in SimStadt consists of a functional part F, connect
[#img_WFS,reftext='{figure-caption} {counter:figure-num}']
.The three components of a SimStadt Workflow Step
image::img/WFS.png[align="center"]
image::img/WFS.png[align="left"]
The functional part of the Workflow step encapsulates the purpose of a particular workflow step. For example, the calculation of the volume of a building happens here. The functional part has to be independend of the communication between workflow steps as well as the HCI part. Why? Because a workflow step has to have the same functionality in the SimStadt desktop application and as Web Services. In addition, the workflow can be executed as a batch process and as an interactive system.
......@@ -66,7 +66,9 @@ This algebra can be implemented as a data model using UML.
A building will be implemented as a data type _Building_. The set of buildings S~0~ will be implemented by a class _BuildingCollection_ using the well know abstract data type Set. The set S~1~ will be implemented as _float_. The class _Building_ has three methods to implement the operations of F: _Building()_ to create an instance of a Building, _volume()_ to get the volume of a Building, and _heatedVolume()_ to get the heated volume of a Building. Please note that in contrast to the operations f~1~ and f~2~ the methods _volume()_ and _heatedVolume()_ do not have a building as a parameter as they operate on the specific instance of the class _Building_.
[#img_UML_Ex1,reftext='{figure-caption} {counter:figure-num}']
.Example SimStadt Data Model
image::img/UML_Ex1.png[align="left"]
In Java, the data types Building and BuildingCollection can be implemented as classes:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment