SlideShare a Scribd company logo
Prolog Visualizer
Tutorial
Visualization
Program
Controls
Examples
Step 0 of 144
This is where you start
Step 1 of 144
Step 0 of 144
Initial goal A copy of the program
Step 1 of 144
Step 0 of 144
Dashed box
indicates the current
state of the search
Step 1 of 144
Step 0 of 144
Unifying
Step 2 of 144
Step 0 of 144
Unification failed because the names
of the clauses are different
Step 3 of 144
Step 0 of 144
Failed rules are crossed out
Step 4 of 144
Step 0 of 144
These rules failed too
Step 16 of 144
Step 0 of 144
But not this rule
Step 17 of 144
Step 0 of 144
substitution
before
after
Applying the substitution,
you get a new rule
This rule unifies with the goal
Step 18 of 144
Step 0 of 144
Current goal is
duplicated here for
better readability
Step 18 of 144
Step 0 of 144
Body of the rule after substitution
Step 19 of 144
Step 0 of 144
grandfather(X, Y) is
replaced by father(X, Z)
and father(Z, Y).
these are the new goals
Current state has changed
Step 20 of 144
Step 0 of 144
The grey path shows
where you came from
current goal is in bold
Step 20 of 144
Step 0 of 144
Unifying
Step 21 of 144
Step 0 of 144
This rule also succeeds
Step 22 of 144
This is a partial solution
If X is orville, any Y such that
father(abe, Y) will be a solution
father(Z, Y) is the is new goal. After the
substitution (X = oriville, Z = abe), it
becomes father(abe, Y)
Step 23 of 144
Current state has changed
Step 24 of 144
Unifying
Step 28 of 144
Succeeded
Step 29 of 144
This leads to a solution
Step 31 of 144
Backtrack
Step 44 of 144
More solutions…
Step 66 of 144
…

More Related Content

PDF
Veri merkezi rehberi
PPT
Genel kolluk iliskileri
PPTX
Ferie zimowe
KEY
Processing in intellij
PDF
Ivan Bratko - Prolog programming for artificial intelligence 3rd edition
PDF
First-Class Patterns
PPTX
Can you save the web? Web Archiving!
PPTX
BlogForever Project presentation at MTSR2013
Veri merkezi rehberi
Genel kolluk iliskileri
Ferie zimowe
Processing in intellij
Ivan Bratko - Prolog programming for artificial intelligence 3rd edition
First-Class Patterns
Can you save the web? Web Archiving!
BlogForever Project presentation at MTSR2013

Viewers also liked (6)

PPTX
Υπερδιαύγεια - Αναζήτηση στα δημόσια δεδομένα
PPTX
CLEAR: a Credible Live Evaluation Method of Website Archivability, iPRES2013
PPTX
BlogForever Crawler: Techniques and algorithms to harvest modern weblogs Pres...
PDF
Akka Persistence and Eventuate
PPTX
Avi Pfeffer, Principal Scientist, Charles River Analytics at MLconf SEA - 5/2...
PDF
Railway Oriented Programming
Υπερδιαύγεια - Αναζήτηση στα δημόσια δεδομένα
CLEAR: a Credible Live Evaluation Method of Website Archivability, iPRES2013
BlogForever Crawler: Techniques and algorithms to harvest modern weblogs Pres...
Akka Persistence and Eventuate
Avi Pfeffer, Principal Scientist, Charles River Analytics at MLconf SEA - 5/2...
Railway Oriented Programming
Ad

Recently uploaded (20)

PPTX
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
PPTX
Pharma ospi slides which help in ospi learning
PDF
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
PDF
A systematic review of self-coping strategies used by university students to ...
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PDF
RMMM.pdf make it easy to upload and study
PDF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
PDF
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PDF
01-Introduction-to-Information-Management.pdf
PDF
STATICS OF THE RIGID BODIES Hibbelers.pdf
PDF
Chinmaya Tiranga quiz Grand Finale.pdf
PPTX
Presentation on HIE in infants and its manifestations
PDF
Module 4: Burden of Disease Tutorial Slides S2 2025
PDF
Anesthesia in Laparoscopic Surgery in India
PPTX
human mycosis Human fungal infections are called human mycosis..pptx
PDF
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
PPTX
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
PDF
Abdominal Access Techniques with Prof. Dr. R K Mishra
PDF
O7-L3 Supply Chain Operations - ICLT Program
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
Pharma ospi slides which help in ospi learning
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
A systematic review of self-coping strategies used by university students to ...
Final Presentation General Medicine 03-08-2024.pptx
RMMM.pdf make it easy to upload and study
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
Final Presentation General Medicine 03-08-2024.pptx
01-Introduction-to-Information-Management.pdf
STATICS OF THE RIGID BODIES Hibbelers.pdf
Chinmaya Tiranga quiz Grand Finale.pdf
Presentation on HIE in infants and its manifestations
Module 4: Burden of Disease Tutorial Slides S2 2025
Anesthesia in Laparoscopic Surgery in India
human mycosis Human fungal infections are called human mycosis..pptx
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
Abdominal Access Techniques with Prof. Dr. R K Mishra
O7-L3 Supply Chain Operations - ICLT Program
Ad

Prolog Visualizer