ic([male(X),female(X)]).The detailed description of how to write the input file <file_stem>.bg is described below. After having prepared the input files, the learning is performed by running ACL1 as described in the instructions on how to run ACL1 version 2.
parent(john,mary).
male(john).
parent(david,steve).
parent(katy,ellen).
female(katy).
father(A,B):-parent(A,B),male(A).
/*Covered positive examples: [father(john,mary),father(david,steve)]
Covered negative examples: []
Abduced literals: [[not(father(katy,ellen)),not(male(katy))],[father(david,steve),male(david)]]*/
First the name of the input <file_stem> is printed,
then the values for the parameters are shown together with the total execution
time. Then follows the rules that have been learned, together with the
set of positive and negative examples covered by them and the set of assumptions
made for covering them. In the set of assumptions, each assumption is associated
to the
example that generated it.
Back to the |
|
|
|
Go to the |
Go to the |