Welcome! Log In Create A New Profile

Advanced

sigh

Posted by ilanpillemer 
Announcements Last Post
Announcement : Programming Students at UNISA School of Computing 06/19/2019 02:01PM
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
avatar sigh
May 19, 2008 01:21AM
oh well..

I didn't manage to completely implement the FOIL algorithm.
I did get a working program though and it did work out a definition.

But only just; and could not extend across variables. (It was
the EXTEND-EXAMPLE function that I didn't succeed with.)

sad smiley

But it did learn a little, so I'm not completely down in the dumps.

[ilan@pillemer FOIL]$ java Foil 2>log
Testing Foil
Father(a,b) V GreatGrandParent(a,b) V Mother(a,b) V GrandParent(a,b) => Ancestor(a,b)
[ilan@pillemer FOIL]$

Anyone else do any better and have a few comments about how to implement EXTEND-EXAMPLES properly?

 
  ,= ,-_-. =.
 ((_/)o o(\_))
  `-'(. .)`-'
      \_/
http://ilanpillemer.com
Entia non sunt multiplicanda praeter necessitatem
Sorry, only registered users may post in this forum.

Click here to login