Skip to content

Commit 0eff004

Browse files
author
ctjoreilly
committed
- merge -r134:192 https://aima-java.googlecode.com/svn/branches/20080811_Chp19_FOL_Sandbox C:/Active/eclipse3_4_ws/aima-java
- This is a complete implementation of Chapter 9. A Model Elimination inference algorithm has also been included.
1 parent 0149ae9 commit 0eff004

File tree

112 files changed

+10958
-1501
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

112 files changed

+10958
-1501
lines changed

.classpath

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
<?xml version="1.0" encoding="UTF-8"?>
2-
<classpath>
3-
<classpathentry kind="src" path="src"/>
4-
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
5-
<classpathentry kind="lib" path="/home/ravi/projects/java/javalibs/junit3.8.2/junit.jar"/>
6-
<classpathentry kind="output" path="bin"/>
7-
</classpath>
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<classpath>
3+
<classpathentry kind="src" path="src"/>
4+
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
5+
<classpathentry kind="con" path="org.eclipse.jdt.junit.JUNIT_CONTAINER/3"/>
6+
<classpathentry kind="output" path="bin"/>
7+
</classpath>

License.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) <2003-2008> <Ravi Mohan, Peter Norvig, Stuart Russell>
1+
Copyright (c) <2003-2008> <Ravi Mohan, Peter Norvig, Stuart Russell, Ciaran O'Reilly>
22

33
Permission is hereby granted, free of charge, to any person obtaining a copy
44
of this software and associated documentation files (the "Software"), to deal

ReadMe.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
AIMA JAVA Notes By Ravi([email protected])
22

3+
Note: If running the unite tests be sure to include the vm arguments:
4+
-Xms256m -Xmx1024m
5+
as some of the First Order Logic algorithms (i.e. FOLTFMResolution) are
6+
memory hungry.
37

48
version 0.92
59
***********
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
package aima.learning.knowledge;
2+
3+
/**
4+
* Artificial Intelligence A Modern Approach (2nd Edition): Figure 19.2, page 681.
5+
*
6+
* <code>
7+
* function CURRENT-BEST-LEARNING(examples) returns a hypothesis
8+
*
9+
* H <- any hypothesis consistent with the first example in examples.
10+
* for each remaining example in examples do
11+
* if e is false positive for H then
12+
* H <- choose a specialization of H consistent with examples
13+
* else if e is false negative for H then
14+
* H <- choose a generalization of H consistent with examples
15+
* if no consistent specialization/generalization can be found then fail
16+
* return H
17+
* </code>
18+
*
19+
* Figure 19.2 The current-best-hypothesis learning algorithm. It searches for a consistent
20+
* hypothesis and backtracks when no consistent specialization/generalization can be found.
21+
*/
22+
23+
/**
24+
* @author Ciaran O'Reilly
25+
*
26+
*/
27+
public class CurrentBestLearning {
28+
29+
}

0 commit comments

Comments
 (0)