24.02.2013 Views

How to Analyze Graph-Based Models - Www-st.inf.tu-dresden.de ...

How to Analyze Graph-Based Models - Www-st.inf.tu-dresden.de ...

How to Analyze Graph-Based Models - Www-st.inf.tu-dresden.de ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

Same Generation Datalog Program<br />

isParentOf(Adam,Gu<strong>st</strong>avAdolf).<br />

isParentOf(Adam,Sibylla).<br />

.....<br />

if isParentOf(Parent,Child1), isParentOf<br />

(Parent,Child2)<br />

then sameGeneration(Child1, Child2).<br />

if sameGeneration(Parent1,Parent2),<br />

isParentOf(Parent1,Child1), isParentOf<br />

(Parent2,Child2)<br />

then<br />

sameGeneration(Child1, Child2).<br />

Prof. Uwe Aßmann, Softwaretechnologie II<br />

51

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

Saved successfully!

Ooh no, something went wrong!