PPAI/L1
From WikiZMSI
< PPAI
[edytuj]
Part 1 - Introduction
- The main textbook for the course is ,,Prolog Programming for Artificial Intelligence".
- An additional textbook with a theoretical background: Logic, Programming and Prolog (2ed) by Ulf Nilsson and Jan Maluszynski
- SWI-Prolog environment SWI-Prolog
[edytuj]
To do
- Reading: chapter 1 "Introduction to Prolog"
- Source code for family relations Family.pro.
- Define following family relations:
- offspring(X,Y)
- mother(X,Y)
- mother(X)
- father(X,Y)
- sister(X,Y)
- predecessor(X,Y)
To express that two object are different use the code:
X\=Y
3. To control the inference process learn about Debugging and Tracing Programs