Welcome! Log In Create A New Profile

Advanced

depth first ass3 q2

Posted by Anonymous User 
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
Anonymous User
depth first ass3 q2
August 15, 2006 06:09PM
Hi
Are we supposed to supply each and every "safe" state for this question eg
[a1,a2,o,b1,b2][b1,b2,o,a1,a2][a1,o,a2,b1,b2][a1,b1,a2,o,b2] etc etc etc?

Thanks
cElene
Re: depth first ass3 q2
August 18, 2006 02:27PM
Hi Celene,

I don't think we need to use a "safe" predicate for this one. (In the cannibals question it was necessary). All you need to do other than that should be to define goal states and valid transitions (you know: s(X, X1):-...)

The hard part for me with this one was coming up with a good state representation and transitions. Hope you've got it worked out.

Enjoy.
Sorry, only registered users may post in this forum.

Click here to login