featured work

Categories:

featured work

Content:

Text-To-Speech Expand to full view

Prolog example

mother_child(trude, sally).
 
father_child(tom, sally).
father_child(tom, erica).
father_child(mike, tom).
 
sibling(X, Y)      :- parent_child(Z, X), parent_child(Z, Y).
 
parent_child(X, Y) :- father_child(X, Y).
parent_child(X, Y) :- mother_child(X, Y).
?- sibling(sally, erica).
tags:


Print Friendly and PDF

Please authenticate to bookmark

1 Votes (7) Average Rating
362 Views
Date Created 2017-04-12
Author : fb-fac3b0ok 
  
Report

There are no comments yet!


Sorry! You need to register and loggin before you can comment.