27.01.2014 Views

Multiagent Systems

Multiagent Systems

Multiagent Systems

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

Prof. Dr. Jürgen Dix · Department of Informatics, TUC <strong>Multiagent</strong> <strong>Systems</strong>, WS 06/07 445/731<br />

6. Propositional Logic 3. Sudoku<br />

1 Statements in smodels are written as<br />

head :- body<br />

This corresponds to an implication<br />

body → head.<br />

2 An important feature in smodels is that all<br />

atoms that do not occur in any head, are<br />

automatically false.<br />

For example the theory<br />

p(X, Y, 5) :- row(X), col(Y)<br />

means that the whole grid is filled with 5’s<br />

and only with 5's: eg. ¬p(X, Y, 1) is true for all<br />

X, Y , as well as ¬p(X, Y, 2) etc.

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

Saved successfully!

Ooh no, something went wrong!