Welcome! Log In Create A New Profile

Advanced

assignment 4 question 1

Posted by ryantromp 
Announcements Last Post
Announcement myUnisa availability 21 to 24 March 2019 03/17/2019 02:24PM
Announcement SoC Curricula 09/30/2017 01:08PM
Announcement Demarcation or scoping of examinations and assessment 02/13/2017 07:59AM
Announcement School of Computing Short Learning Programmes 11/24/2014 08:37AM
Announcement Unisa contact information 07/28/2011 01:28PM
assignment 4 question 1
October 08, 2006 11:02PM
confused smiley

I'm having a hard time getting the program in Figure 13.13 to run correctly. I have included the clauses on page 305. When I run

andor(a, Solution).

I get an error saying:
ERROR: evaluate/2: Undefined procedure: h/2

Is there an error in the code? In procedure evaluate there is a call to h(Node, H). Shouldn't this rather be f(Node, H)? I try this but when I run the above command I get "no" as a result.

Please help!!!
avatar Re: assignment 4 question 1
October 15, 2006 12:28PM
I downloaded this program (I think you mean 13.12 as there is no 13.13) from there website : http://www.pearsoned.co.uk/highereducation/resources/bratkoprologprogrammingforartificialintelligence3e/

and tried to run it and found the sime problem, I don't think it is meant to be f(Node,H) as this call fails always.

I for one am horribly dissapointed by both this textbook and the lack of tutorial matter for this subject...

--
"Knowledge has much better uses than self-pity and superiority"
Sorry, only registered users may post in this forum.

Click here to login