31.01.2014 Views

Ph.D. - geht es zur Homepage der Informatik des Fachbereiches 3 ...

Ph.D. - geht es zur Homepage der Informatik des Fachbereiches 3 ...

Ph.D. - geht es zur Homepage der Informatik des Fachbereiches 3 ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

7.7. Mathematical Model of the Dynamic Semantics<br />

The global vectors x and y with all inputs and outputs of a data flow model are defined as<br />

follows:<br />

⎡ ⎤<br />

x 1,1<br />

.<br />

⎡ ⎤<br />

x 1,m1<br />

x 1<br />

x 2,1<br />

x 2<br />

x = ⎢ ⎥<br />

⎣ . ⎦ = .<br />

x 2,m2<br />

(7.16)<br />

x nx<br />

.<br />

x nx,1<br />

⎢ ⎥<br />

⎣ . ⎦<br />

y =<br />

⎡<br />

⎢<br />

⎣<br />

y 1<br />

y 2<br />

.<br />

y<br />

ny<br />

⎡<br />

⎤<br />

⎥<br />

⎦ = ⎢<br />

⎣<br />

x nx,m nx<br />

y 1,1<br />

.<br />

y 1,p1<br />

y 2,1<br />

.<br />

y 2,p2<br />

.<br />

y ny,1<br />

.<br />

⎤<br />

⎥<br />

⎦<br />

(7.17)<br />

y ny,p ny<br />

Since there may not be any unused output in a data flow the number of outputs must always<br />

be smaller or equal the number inputs. Corr<strong>es</strong>pondingly, the following mathematical constraint<br />

must be fulfilled:<br />

n<br />

∑ y<br />

∑n x<br />

≤<br />

(7.18)<br />

u=1<br />

p u<br />

} {{ }<br />

p<br />

v=1<br />

m v<br />

} {{ }<br />

m<br />

Additionally, the following two constraints have to be fulfilled for C because its elements can<br />

only be 0 or 1 and only one input can be connected with each output:<br />

∀i :<br />

c i,j ∈ {0; 1} (7.19)<br />

p∑<br />

c i,j<br />

!<br />

= 1 (7.20)<br />

j=1<br />

Example For clarification, the simple example for a data flow in Figure 7.15 is taken. It only<br />

consists of a oSum object and three oVariableStorage objects. The object “0” is only used to<br />

ensure that all inputs of the oSum object are used, but it do<strong>es</strong> not influence the calculation.<br />

113

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!