AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
![]() ![]() Other than that you are free to use any number of predicates. You should use the following binary predicate symbols: owns(N,Pet) but I dont know how to interpret that for the homework. I was going to use anonymous variables house(englishman, red, _, _, _). I wanted to use list for the house characteristics too but I got a problem here. I know that I need to use list for houses because they are ordered. The Norwegian lives next to the blue house The Lucky Strike smoker drinks orange juice The man who smokes Chesterelds lives in the house next to the man with the foxģ Kools are smoked in the house next to the house where the horse is kept The green house is immediately to the right of the ivory house ![]() I know how to write it down in my own but there are some constraints in the homework. ![]() The question is to write prolog code for einstein's puzzle. I need some help with a prolog homework for my AI class. ![]()
0 Comments
Read More
Leave a Reply. |