lab1-2 - Lecturer: Mrs. Aasma Memon Email:...

Info iconThis preview shows pages 1–7. Sign up to view the full content.

View Full Document Right Arrow Icon
Lecturer: Mrs. Aasma Memon @yahoo.com 10 Aasma.MEMON Email: prolog-lab@yahoogroups.com
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 2
Programming with Logic Declarative Very different from other (procedural)programming languages Good for knowledge-rich tasks Prolog is used for developing AI systems because it dynamically generates code, automatically manages memory, backtracking, and recursion.
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Describe the situation of interest Ask a question Prolog logically assumes(reasons) new facts about the situation we described Prolog gives us its reasoning back as answers
Background image of page 4
AI systems require programs that can adapt to changing environments. For example, in an electronic game of chess, the program has to adapt dynamically according to the opponent's moves. ProLog's ability to dynamically generate code makes it suitable for AI programs.
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
AI systems use data structures that require frequent allocation and de-allocation of memory.
Background image of page 6
Image of page 7
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 01/02/2012 for the course COMPUTER 101 taught by Professor Dr.kahan during the Spring '11 term at Akademia Ekonomiczna w Krakowie.

Page1 / 38

lab1-2 - Lecturer: Mrs. Aasma Memon Email:...

This preview shows document pages 1 - 7. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online