From fb7022b33b714ede0f177636580695fa50e4f9c4 Mon Sep 17 00:00:00 2001
From: Gowtham58 <75661938+Gowtham58@users.noreply.github.com>
Date: Wed, 25 May 2022 21:36:19 +0530
Subject: [PATCH 01/13] Update SimplifiedRoadMapOfPartOfRomania.java
---
.../map2d/SimplifiedRoadMapOfPartOfRomania.java | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/core/src/main/java/aima/core/environment/map2d/SimplifiedRoadMapOfPartOfRomania.java b/core/src/main/java/aima/core/environment/map2d/SimplifiedRoadMapOfPartOfRomania.java
index 9ab7a341c2..f59650da01 100644
--- a/core/src/main/java/aima/core/environment/map2d/SimplifiedRoadMapOfPartOfRomania.java
+++ b/core/src/main/java/aima/core/environment/map2d/SimplifiedRoadMapOfPartOfRomania.java
@@ -1,7 +1,7 @@
package aima.core.environment.map2d;
/**
- * Artificial Intelligence A Modern Approach (4th Edition): Figure ??, page ??.
+ * Artificial Intelligence A Modern Approach (4th Edition): Figure 3.1, page 82.
*
*
* A simplified road map of Romania.
@@ -9,10 +9,10 @@
* The initialization method is declared static. So it can also be used to
* initialize other specialized subclasses of {@link ExtendableMap2D} with road
* map data from Romania. Location names, road distances and directions have
- * been extracted from Artificial Intelligence A Modern Approach (?? Edition),
- * Figure ??, page ??. The straight-line distances to Bucharest have been taken
- * from Artificial Intelligence A Modern Approach (?? Edition), Figure ??, page
- * ??.
+ * been extracted from Artificial Intelligence A Modern Approach (4th Edition),
+ * Figure 3.1, page 82. The straight-line distances to Bucharest have been taken
+ * from Artificial Intelligence A Modern Approach (4th Edition), Figure 3.16, page
+ * 103.
*
* @author Ruediger Lunde
* @author Ciaran O'Reilly
From 4f83f4476b078a5707be1748dc704a22d805b7de Mon Sep 17 00:00:00 2001
From: Gowtham58 <75661938+Gowtham58@users.noreply.github.com>
Date: Wed, 25 May 2022 21:41:44 +0530
Subject: [PATCH 02/13] Update ReflexVacuumAgent.java
---
.../aima/core/environment/vacuum/ReflexVacuumAgent.java | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/core/src/main/java/aima/core/environment/vacuum/ReflexVacuumAgent.java b/core/src/main/java/aima/core/environment/vacuum/ReflexVacuumAgent.java
index 4c18d95fe0..585dc8a48b 100644
--- a/core/src/main/java/aima/core/environment/vacuum/ReflexVacuumAgent.java
+++ b/core/src/main/java/aima/core/environment/vacuum/ReflexVacuumAgent.java
@@ -10,7 +10,7 @@
import static aima.core.environment.vacuum.VacuumEnvironment.Status.Dirty;
/**
- * Artificial Intelligence A Modern Approach (4th Edition): Figure ??, page ??.
+ * Artificial Intelligence A Modern Approach (4th Edition): Figure 2.8, page 67.
*
*
*
@@ -21,9 +21,9 @@
* else if location = B then return Left
*
*
- * Figure ?? The agent program for a simple reflex agent in the two-state vacuum
+ * Figure 2.8 The agent program for a simple reflex agent in the two-state vacuum
* environment. This program implements the action function tabulated in Figure
- * ??.
+ * 2.3.
*
* @author Ciaran O'Reilly
*/
From e105556fc9209153d6fb709507cace4432df4ef4 Mon Sep 17 00:00:00 2001
From: Gowtham58 <75661938+Gowtham58@users.noreply.github.com>
Date: Wed, 25 May 2022 21:49:08 +0530
Subject: [PATCH 03/13] Update TableDrivenVacuumAgent.java
Updated the ?? in the comments to its respective page number and figure number from the 4th edition of the book.
---
.../core/environment/vacuum/TableDrivenVacuumAgent.java | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/core/src/main/java/aima/core/environment/vacuum/TableDrivenVacuumAgent.java b/core/src/main/java/aima/core/environment/vacuum/TableDrivenVacuumAgent.java
index f966e4e5e5..59c25f2a86 100644
--- a/core/src/main/java/aima/core/environment/vacuum/TableDrivenVacuumAgent.java
+++ b/core/src/main/java/aima/core/environment/vacuum/TableDrivenVacuumAgent.java
@@ -13,11 +13,11 @@
import static aima.core.environment.vacuum.VacuumEnvironment.Status.Dirty;
/**
- * Artificial Intelligence A Modern Approach (4th Edition): Figure ??, page ??.
+ * Artificial Intelligence A Modern Approach (4th Edition): Figure 2.3, page 56.
*
*
- * Figure ?? Partial tabulation of a simple agent function for the
- * vacuum-cleaner world shown in Figure ??.
+ * Figure 2.3 Partial tabulation of a simple agent function for the
+ * vacuum-cleaner world shown in Figure 2.2.
*
* @author Ciaran O'Reilly
*/
From 989cffe1f16612b0ee7004e33490587cff2b56c4 Mon Sep 17 00:00:00 2001
From: Gowtham58 <75661938+Gowtham58@users.noreply.github.com>
Date: Wed, 25 May 2022 21:59:10 +0530
Subject: [PATCH 04/13] Update Climb.java
---
.../java/aima/core/environment/wumpusworld/action/Climb.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/core/src/main/java/aima/core/environment/wumpusworld/action/Climb.java b/core/src/main/java/aima/core/environment/wumpusworld/action/Climb.java
index 6fe5458ee9..4288a9a9bb 100644
--- a/core/src/main/java/aima/core/environment/wumpusworld/action/Climb.java
+++ b/core/src/main/java/aima/core/environment/wumpusworld/action/Climb.java
@@ -1,7 +1,7 @@
package aima.core.environment.wumpusworld.action;
/**
- * Artificial Intelligence A Modern Approach (4th Edition): page ???.
+ * Artificial Intelligence A Modern Approach (4th Edition): page 229.
*
* The action Climb can be used to climb out of the cave, but only from square
* [1,1].
From 1fde015da1bd032797cb19ebc7f22030f27ff80b Mon Sep 17 00:00:00 2001
From: Gowtham58 <75661938+Gowtham58@users.noreply.github.com>
Date: Wed, 25 May 2022 22:00:32 +0530
Subject: [PATCH 05/13] Update Forward.java
---
.../java/aima/core/environment/wumpusworld/action/Forward.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/core/src/main/java/aima/core/environment/wumpusworld/action/Forward.java b/core/src/main/java/aima/core/environment/wumpusworld/action/Forward.java
index a0ff8e9d97..cbfaef9b1b 100644
--- a/core/src/main/java/aima/core/environment/wumpusworld/action/Forward.java
+++ b/core/src/main/java/aima/core/environment/wumpusworld/action/Forward.java
@@ -3,7 +3,7 @@
import aima.core.environment.wumpusworld.AgentPosition;
/**
- * Artificial Intelligence A Modern Approach (4th Edition): page ???.
+ * Artificial Intelligence A Modern Approach (4th Edition): page 229.
*
* The agent can move Forward.
*
From 2a2e8f194442783c8b2d2f55c785e769bf3fae64 Mon Sep 17 00:00:00 2001
From: Gowtham58 <75661938+Gowtham58@users.noreply.github.com>
Date: Wed, 25 May 2022 22:01:15 +0530
Subject: [PATCH 06/13] Update Grab.java
---
.../java/aima/core/environment/wumpusworld/action/Grab.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/core/src/main/java/aima/core/environment/wumpusworld/action/Grab.java b/core/src/main/java/aima/core/environment/wumpusworld/action/Grab.java
index 3ea87260a1..02c9a3f95f 100644
--- a/core/src/main/java/aima/core/environment/wumpusworld/action/Grab.java
+++ b/core/src/main/java/aima/core/environment/wumpusworld/action/Grab.java
@@ -1,7 +1,7 @@
package aima.core.environment.wumpusworld.action;
/**
- * Artificial Intelligence A Modern Approach (4th Edition): page ???.
+ * Artificial Intelligence A Modern Approach (4th Edition): page 229.
*
* The action Grab can be used to pick up the gold if it is in the same square
* as the agent.
From ddc54d6c561a36f4179125a59f2afbbe3fcd5841 Mon Sep 17 00:00:00 2001
From: Gowtham58 <75661938+Gowtham58@users.noreply.github.com>
Date: Wed, 25 May 2022 22:02:02 +0530
Subject: [PATCH 07/13] Update Shoot.java
---
.../java/aima/core/environment/wumpusworld/action/Shoot.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/core/src/main/java/aima/core/environment/wumpusworld/action/Shoot.java b/core/src/main/java/aima/core/environment/wumpusworld/action/Shoot.java
index 2cbc174746..cad35cf6e3 100644
--- a/core/src/main/java/aima/core/environment/wumpusworld/action/Shoot.java
+++ b/core/src/main/java/aima/core/environment/wumpusworld/action/Shoot.java
@@ -1,7 +1,7 @@
package aima.core.environment.wumpusworld.action;
/**
- * Artificial Intelligence A Modern Approach (4th Edition): page ???.
+ * Artificial Intelligence A Modern Approach (4th Edition): page 229.
*
* The action Shoot can be used to fire an arrow in a straight line in the
* direction the agent is facing. The arrow continues until it either hits (and
From 93483f3739293dae3565db0171f3e892a5a201ba Mon Sep 17 00:00:00 2001
From: Gowtham58 <75661938+Gowtham58@users.noreply.github.com>
Date: Wed, 25 May 2022 22:03:01 +0530
Subject: [PATCH 08/13] Update TurnLeft.java
---
.../java/aima/core/environment/wumpusworld/action/TurnLeft.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/core/src/main/java/aima/core/environment/wumpusworld/action/TurnLeft.java b/core/src/main/java/aima/core/environment/wumpusworld/action/TurnLeft.java
index 6f98027812..967fd03e1f 100644
--- a/core/src/main/java/aima/core/environment/wumpusworld/action/TurnLeft.java
+++ b/core/src/main/java/aima/core/environment/wumpusworld/action/TurnLeft.java
@@ -3,7 +3,7 @@
import aima.core.environment.wumpusworld.AgentPosition;
/**
- * Artificial Intelligence A Modern Approach (4th Edition): page ???.
+ * Artificial Intelligence A Modern Approach (4th Edition): page 229.
*
* The agent can TurnLeft by 90 degrees.
*
From cc93cb85662cd0c93c50158a2e454c222e638c36 Mon Sep 17 00:00:00 2001
From: Gowtham58 <75661938+Gowtham58@users.noreply.github.com>
Date: Wed, 25 May 2022 22:03:21 +0530
Subject: [PATCH 09/13] Update TurnRight.java
---
.../aima/core/environment/wumpusworld/action/TurnRight.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/core/src/main/java/aima/core/environment/wumpusworld/action/TurnRight.java b/core/src/main/java/aima/core/environment/wumpusworld/action/TurnRight.java
index 2561799aca..06a3be9398 100644
--- a/core/src/main/java/aima/core/environment/wumpusworld/action/TurnRight.java
+++ b/core/src/main/java/aima/core/environment/wumpusworld/action/TurnRight.java
@@ -3,7 +3,7 @@
import aima.core.environment.wumpusworld.AgentPosition;
/**
- * Artificial Intelligence A Modern Approach (4th Edition): page ???.
+ * Artificial Intelligence A Modern Approach (4th Edition): page 229.
*
* The agent can TurnRight by 90 degrees.
*
From 7287df3f4ff4507d51f4d955a2c0edc7195d5701 Mon Sep 17 00:00:00 2001
From: Gowtham58 <75661938+Gowtham58@users.noreply.github.com>
Date: Wed, 25 May 2022 22:04:55 +0530
Subject: [PATCH 10/13] Update AgentPercept.java
Updated the page number.
---
.../java/aima/core/environment/wumpusworld/AgentPercept.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/core/src/main/java/aima/core/environment/wumpusworld/AgentPercept.java b/core/src/main/java/aima/core/environment/wumpusworld/AgentPercept.java
index b2a40b6970..10445a52e9 100644
--- a/core/src/main/java/aima/core/environment/wumpusworld/AgentPercept.java
+++ b/core/src/main/java/aima/core/environment/wumpusworld/AgentPercept.java
@@ -1,7 +1,7 @@
package aima.core.environment.wumpusworld;
/**
- * Artificial Intelligence A Modern Approach (4th Edition): page ???.
+ * Artificial Intelligence A Modern Approach (4th Edition): page 229.
*
* The agent has five sensors, each of which gives a single bit of information:
*
@@ -311,4 +311,4 @@ public HybridWumpusAgent(int caveXandYDimensions, PLParser plparser) { kb = new WumpusKnowledgeBase(caveXandYDimensions, plparser); } -} \ No newline at end of file +} From 12c4f9331e61a6aa3f42317f426aa5905a9f917b Mon Sep 17 00:00:00 2001 From: Gowtham58 <75661938+Gowtham58@users.noreply.github.com> Date: Wed, 25 May 2022 22:12:58 +0530 Subject: [PATCH 12/13] Update Room.java --- core/src/main/java/aima/core/environment/wumpusworld/Room.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/aima/core/environment/wumpusworld/Room.java b/core/src/main/java/aima/core/environment/wumpusworld/Room.java index 189a242e97..42f281bfe4 100644 --- a/core/src/main/java/aima/core/environment/wumpusworld/Room.java +++ b/core/src/main/java/aima/core/environment/wumpusworld/Room.java @@ -1,7 +1,7 @@ package aima.core.environment.wumpusworld; /** - * Artificial Intelligence A Modern Approach (4th Edition): page ???.
+ * Artificial Intelligence A Modern Approach (4th Edition): page 228.
*
* The wumpus world is a cave consisting of rooms connected by * passageways. Rooms are labeled [x,y], for example [1,1] would indicate the From 9195ab3e90a33220a418b2fe725b59e55e430ff1 Mon Sep 17 00:00:00 2001 From: Gowtham58 <75661938+Gowtham58@users.noreply.github.com> Date: Wed, 25 May 2022 22:13:42 +0530 Subject: [PATCH 13/13] Update WumpusCave.java --- .../main/java/aima/core/environment/wumpusworld/WumpusCave.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/aima/core/environment/wumpusworld/WumpusCave.java b/core/src/main/java/aima/core/environment/wumpusworld/WumpusCave.java index 50c2e78bfd..00bf143ab3 100644 --- a/core/src/main/java/aima/core/environment/wumpusworld/WumpusCave.java +++ b/core/src/main/java/aima/core/environment/wumpusworld/WumpusCave.java @@ -6,7 +6,7 @@ import java.util.Set; /** - * Artificial Intelligence A Modern Approach (4th Edition): page ???.
+ * Artificial Intelligence A Modern Approach (4th Edition): page 228.
*
* The wumpus world is a cave consisting of rooms connected by * passageways. The rooms are always organized into a grid. See Figure 7.2 for