Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ This runs the tests and installs the package `aima` in the local Maven repositor
The tests can also be run without installing the package, with `mvn -B -f aima-core/pom.xml -Dtarget.jdk.version=17 test`.
The demos with a graphical interface are in `aima-gui`, built with Ant.

### Notebooks
## Notebooks

The [notebooks](notebooks) (which can be run online on Binder) cover
[classical search](notebooks/ClassicalSearch.ipynb),
Expand Down Expand Up @@ -332,7 +332,7 @@ See [CONTRIBUTING.md](CONTRIBUTING.md).

## Authors

In order of the lines they wrote in the current files: [Ciaran O'Reilly](https://github.com/ctjoreilly), [Ruediger Lunde](https://github.com/RuedigerLunde), [Donato Meoli](https://github.com/dmeoli), [Samagra Sharma](https://github.com/samagra14), [Jan Phillip Kretzschmar](https://github.com/janphkre); see also [all the contributors](https://github.com/aimacode/aima-java/graphs/contributors).
In order of the lines they wrote in the current files: [Ciaran O'Reilly](https://github.com/ctjoreilly), [Donato Meoli](https://github.com/dmeoli), [Ruediger Lunde](https://github.com/RuedigerLunde), [Suyash Jain](https://github.com/jsuyash1514), [Samagra Sharma](https://github.com/samagra14), [Jan Phillip Kretzschmar](https://github.com/janphkre); see also [all the contributors](https://github.com/aimacode/aima-java/graphs/contributors).

## Other aimacode projects

Expand Down
4 changes: 2 additions & 2 deletions aima-all/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ This project is used solely for creating combined releases of all of the AIMA3e
### Publish the Release to the Maven Central Repository
#### Relevant Background:
* [Deploying via Nexus Guide](http://central.sonatype.org/pages/ossrh-guide.html)
* [The Sonatype/Nexus Open Source Respository](https://oss.sonatype.org/)
* [The Sonatype Central Portal](https://central.sonatype.com/)
* [The Complete Maven Reference](http://www.sonatype.com/books/mvnref-book/reference/public-book.html)
* [The Maven Central Repository](http://search.maven.org/)
* [Maven Home](http://maven.apache.org/)
Expand All @@ -70,7 +70,7 @@ This project is used solely for creating combined releases of all of the AIMA3e
* Close and Release. [Follow Releasing to Central from](http://central.sonatype.org/pages/ossrh-guide.html)

## Publish the Release to the AIMA Website
* Upload the .zip file from `aima-all/build/release` to the project's releases page. Delete the previous release.
* The .zip file of `aima-all/build/release` is no longer uploaded to the project's releases page; the example OSM maps of `aimax-osm`, once the release `aimax-osm-v3`, are in [aima-data/osm](https://github.com/aimacode/aima-data/tree/master/osm), i.e., in the `aima-data` submodule.
* Update the AIMA3e `README.md` to indicate the latest revision # (ensure Maven info also updated).
* Update the `AIMA3e Overview` wiki page with the latest release information.
* Send an email to team members letting them know the release has gone out the door.
3 changes: 1 addition & 2 deletions aima-core/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@ If you want to rebuild from the source, run the unit tests etc.., follow these i
To build from the command line:
* Ensure you have JDK 1.8+ installed.
* Ensure you have [ant](http://ant.apache.org/) installed.
* Download the release archive.
* Unzip
* Clone the repository with its submodule (`git clone --recurse-submodules https://github.com/aimacode/aima-java.git`).
* Go to the aima-core directory
* Type 'ant'. This will generate a build directory, which will include the following sub-directories:
* bin/ will contain all the main and test Java classes.
Expand Down
10 changes: 7 additions & 3 deletions aima-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,19 @@
<name>Ciaran O'Reilly</name>
<email>ctjoreilly@gmail.com</email>
</developer>
<developer>
<id>dmeoli</id>
<name>Donato Meoli</name>
<email>donato.meoli@outlook.com</email>
</developer>
<developer>
<id>ruediger.lunde</id>
<name>Ruediger Lunde</name>
<email>Ruediger.Lunde@gmail.com</email>
</developer>
<developer>
<id>dmeoli</id>
<name>Donato Meoli</name>
<email>donato.meoli@outlook.com</email>
<id>jsuyash1514</id>
<name>Suyash Jain</name>
</developer>
<developer>
<id>samagra14</id>
Expand Down
2 changes: 1 addition & 1 deletion aima-core/src/main/java/aima/core/agent/DTAgent.java
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
* @param <O> Type which is used to represent outcomes
* @author Donato Meoli
* @author Ritwik Sharma
* @author samagra
* @author Samagra Sharma
*/
public abstract class DTAgent<P, A, O> extends SimpleAgent<P, A> {
// persistent: belief_state, probabilistic beliefs about the current state
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

/**
* @author Judith S
* @author Donato Meoli
*/
public enum SudokuDifficulty {
EASY,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import java.util.List;

/**
* @author jsuyash1514
* @author Suyash Jain
*/
public class TwoPlyGame implements Game<TwoPlyGameState, MoveToAction, String> {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package aima.core.environment.twoply;

/**
* @author jsuyash1514
* @author Suyash Jain
*/
public class TwoPlyGameState {
private String location;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import java.util.List;

/**
* @author jsuyash1514
* @author Suyash Jain
*/
public class TwoPlyGameTree {
Map aima3eFig5_2;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

/**
* @author Ciaran O'Reilly
* @author Donato Meoli
*/
public class DataResource {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
* a validation set of size N ⁄ k and a training set with all the other examples. The split is different for each value of fold.
* </p>
*
* @author samagra
* @author Samagra Sharma
* @author Donato Meoli
*/
public class CrossValidation {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
import aima.core.learning.framework.DataSet;

/**
* @author Donato Meoli
* @author Ciaran O'Reilly
* @author Ravi Mohan
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
* algorithm, any hypothesis can be passed in; it will be specialized or
* generalized as needed.
*
* @author samagra
* @author Samagra Sharma
* @author Ciaran O'Reilly
*/
public class CurrentBestLearning {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,10 @@
* Figure 19.12 Sketch of the FOIL algorithm for learning sets of first-order Horn clauses
* from examples.
*
* @author jsuyash1514
* @author samagra
* @author Ciaran O'Reilly
* @author Suyash Jain
* @author Donato Meoli
* @author Samagra Sharma
* @author Ciaran O'Reilly
*/


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import java.util.List;

/**
* @author samagra
* @author Samagra Sharma
* @author Ciaran O'Reilly
*/
public class Hypothesis {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import java.util.List;

/**
* @author samagra
* @author Samagra Sharma
*/
public class KnowledgeLearningProblemFactory {
public static List<LogicalExample> getRestaurantLogicalExample() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import java.util.List;

/**
* @author samagra
* @author Samagra Sharma
*/
public class LogicalExample {
HashMap<String, String> attributes = new HashMap<>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
* <p>
* Figure ?? An algorithm for finding a minimal consistent determination.
*
* @author samagra
* @author Samagra Sharma
*/
public class MinimalConsistentDet {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* specific boundary (the S-set). Everything in between is guaranteed to be consistent with the
* examples.
*
* @author samagra
* @author Samagra Sharma
*/
public class VersionSpace {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
* <p>
* Figure 19.3 The version space learning algorithm. It
* finds a subset of V that is consistent with all the examples.
* @author samagra
* @author Samagra Sharma
*/

public class VersionSpaceLearning {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@

/**
* @author Ciaran O'Reilly
* @author Donato Meoli
* @author Ravi Mohan
*
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* that the training error vanishes at size 6) and the validation set (10
* examples, |size - 3| + 1 of them wrong, so that size 3 is the best).
*
* @author samagra
* @author Samagra Sharma
*/
public class SampleParameterizedLearner implements Learner {
int parameterSize;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
* information.
*
* @author Ciaran O'Reilly
* @author oreilly
*
*/
public class CellWorldPercept implements PerceptStateReward<Cell<Double>> {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
*
* Figure 9.6 A simple backward-chaining algorithm for first-order knowledge bases.
*
* @author samagra
* @author Samagra Sharma
* @author Ciaran O'Reilly
* @author Ritwik Sharma
* @author Mike Stampone
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
* The schema consists of the action name, a list of all the variables used in the schema, a
* precondition and an effect.
*
* @author samagra
* @author Samagra Sharma
* @author Ruediger Lunde
* @author Donato Meoli
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* followed by A i ; until we reach a termination condition.
*
* @author Ruediger Lunde
* @author samagra
* @author Samagra Sharma
*/
public class Graph {
private final List<Level<Literal, ActionSchema>> literalLevels; // size: numLevels()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
* level until either a solution is found by EXTRACT-SOLUTION, or no solution
* is possible.
*
* @author samagra
* @author Samagra Sharma
* @author Ruediger Lunde
* @author Donato Meoli
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* The data structure for calculating and holding the levels of a planning graph.
*
* @author Ruediger Lunde
* @author samagra
* @author Samagra Sharma
*/
public class Level<CURR, PREV> {
private final List<CURR> levelObjects = new ArrayList<>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
* that end in a state s that entails the goal.
*
* @author Donato Meoli
* @author samagra
* @author Samagra Sharma
* @author Ruediger Lunde
*/
public class PlanningProblem {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* A problem factory to generate planning problems.
*
* @author Donato Meoli
* @author samagra
* @author Samagra Sharma
*/
public class PlanningProblemFactory {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* For example, Poor ∧ Unknown might represent the state of a hapless agent, and a state
* in a package delivery problem might be At(Truck1 , Melbourne) ∧ At(Truck2 , Sydney).
*
* @author samagra
* @author Samagra Sharma
* @author Ruediger Lunde
* @author Donato Meoli
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
/**
* Utils for parsing planning problems.
*
* @author samagra
* @author Samagra Sharma
*/
public class Utils {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
* function returns a set of action sequences, one for each refinement of the
* HLA whose preconditions are satisfied by the specified state, outcome.
*
* @author samagra
* @author Samagra Sharma
* @author Donato Meoli
*/
public class HierarchicalSearchAlgorithm {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* of actions, each of which may be an HLA or a primitive action (which has no refinements
* by definition).
*
* @author samagra
* @author Samagra Sharma
* @author Ruediger Lunde
*/
public class HighLevelAction extends ActionSchema {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* A store of example Probabilistic Chomsky-Normal-Form grammars for testing and
* demonstrating CYK.
* @author Ciaran O'Reilly
* @author Jonathon
* @author Jonathon Belotti
*
*/
public class ProbCNFGrammarExamples {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
/**
* A store of simple lexicon's for the purpose of testing and demonstrating the CYK Algorithm.
* @author Ciaran O'Reilly
* @author Jonathon
* @author Jonathon Belotti
*
*/
public class LexiconExamples {
Expand Down
2 changes: 1 addition & 1 deletion aima-core/src/main/java/aima/core/nlp/parsing/Lexicon.java
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* derive terminal strings in a grammar.
*
* @author Ciaran O'Reilly
* @author Jonathon
* @author Jonathon Belotti
*
*/
public class Lexicon extends HashMap<String,ArrayList<LexWord>> {
Expand Down
2 changes: 1 addition & 1 deletion aima-core/src/main/java/aima/core/nlp/parsing/RunCYK.java
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
/**
* A simple runner class to test out one parsing scenario on CYK.
* @author Ciaran O'Reilly
* @author Jonathon
* @author Jonathon Belotti
*
*/
public class RunCYK {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* and a is a terminal.
*
* @author Ciaran O'Reilly
* @author Jonathon
* @author Jonathon Belotti
*
*/
public class ProbCNFGrammar extends ProbContextFreeGrammar {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* A context-sensitive grammar is less restrictive than context-free and more powerful, but
* more restrictive than an unrestricted grammar (an less powerfull).
* @author Ciaran O'Reilly
* @author Jonathon
* @author Jonathon Belotti
*
*/
public class ProbContextSensitiveGrammar extends ProbUnrestrictedGrammar implements ProbabilisticGrammar {
Expand Down
Loading