aimacode / aima-java

Java implementation of algorithms from Russell And Norvig's "Artificial Intelligence - A Modern Approach"
MIT License
1.56k stars 795 forks source link

Add implementation of - Fig 7.20 Hybrid-Wumpus-Agent #32

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Fig  7.20 Hybrid-Wumpus-Agent

Original issue reported on code.google.com by ctjoreilly@gmail.com on 23 Oct 2009 at 2:43

GoogleCodeExporter commented 9 years ago

Original comment by ctjoreilly@gmail.com on 13 Nov 2009 at 1:10

GoogleCodeExporter commented 9 years ago
Hi, how is the state of work on this issue? I'm starting to implement it, how 
can I send you my code when i finish it?

Thanks 

Original comment by fede.bar...@gmail.com on 22 Feb 2012 at 8:44

GoogleCodeExporter commented 9 years ago
Hi,

Currently no one is working on this. I'll be happy to accept your contribution 
into the code base once you've completed it (be sure to indicate your 
authorship in the javadoc at the head of the files you contribute). You can 
email it to me at ctjoreilly@gmail.com. FYI It'll likely be towards the end of 
March before I can integrate it properly and create a release containing your 
contribution (I'm currently swamped with work/classes).

Thanks

Ciaran

Original comment by ctjoreilly@gmail.com on 22 Feb 2012 at 8:50

GoogleCodeExporter commented 9 years ago
I faced some problems with this implementations, in particular with the 
knowledge base. For example, some temporal sentences needed by the algorithm 
are too long to be processed by "askWithDpll" function (it goes out of memory 
in CNF conversion). So tests is are impossible to be done, at least with my 
notebook.
The only tested parts are "plan-route" and "plan-shot" functions.

Is there a solution? If you are interested on this work anyway, i can email it 
to you.

Federico 

Original comment by fede.bar...@gmail.com on 5 Mar 2012 at 9:32

GoogleCodeExporter commented 9 years ago
Hi,

No problems, feel free to send me your code and I'll have a look over it. It'll 
be a couple of weeks before I can look at in detail. Off the top of my head I 
think 2 things may need to be done:

1. The CNF implementation of propositional formulas likely needs to be 
revisited (I've been meaning to do this for a while).

2. To handle temporal sentences it may be necessary to use a specialized 
inference algorithm, though for simple examples we should be ok.

Thanks

Ciaran

Original comment by ctjoreilly@gmail.com on 6 Mar 2012 at 4:54

GoogleCodeExporter commented 9 years ago
Submitted code.

Original comment by ctjoreilly@gmail.com on 16 Oct 2012 at 2:31

Attachments:

GoogleCodeExporter commented 9 years ago
Related comment as regards code:

Hi, 
this is the code we wrote to implement the hybrid wumpus agent pseudo-code. We 
waited because we tried to fix CNF conversion but we don't have positive 
results yet.  So KB inference isn't tested because of CNF conversion goes out 
of memory everytime, anyway components about A* search (panRoute and planShot) 
seem to work well. 
We hope our little work can help this project.

Federico Baron, Alessandro Daniele

Original comment by ctjoreilly@gmail.com on 1 Jun 2013 at 10:15

GoogleCodeExporter commented 9 years ago
The change for this is done now. Subversion rev=1169.

Original comment by ctjoreilly@gmail.com on 9 Aug 2014 at 4:31