I really hate it when I clicked on send before I'm finished with my email.
>> 2. Computation should be faster because the map is finite. By providing J 
>> with only a subset of the whole matrix (the data nearest within a specific 
>> radius to the bot), J should return decisions faster than the built-in 
>> scripting language.

I would really like to point out that point 2 is significant in this 
implementation. With "other" languages, you have to loop through the array 
because:
1. You want to find out where you are in the matrix, which corresponds to the 
"lay of the land".
2. You want to retrieve information within a specific radius from where your 
BOT is located.

For me, this retrieval part becomes more critical when you spawn more bots and 
each one would task the system.


-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf 
Of Alex Rufon
Sent: Tuesday, September 14, 2010 11:14 AM
To: Chat forum
Subject: Re: [Jchat] Artificial Inteligence

The nearest I used J for "AI" is an A* algorithm for bot AI using an older 
version of the Torque Game Engine <http://www.garagegames.com>. Unfortunately, 
I wasn't successful in integrating the engine with J. :(

What I learned from it is that:
1. Coding it using the built-in game-engine scripting language produces a 
convoluted code which will be very challenging to maintain. The J 
implementation (which I just realized I misplaced) is more concise because of 
the intrinsic support for matrix math.
2. Computation should be faster because the map is finite. By providing J with 
only a subset of the whole matrix (the data nearest within a specific radius to 
the bot), J should return decisions faster than the built-in scripting language.


-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf 
Of Raul Miller
Sent: Tuesday, September 14, 2010 8:49 AM
To: Chat forum
Subject: Re: [Jchat] Artificial Inteligence

On Mon, Sep 13, 2010 at 6:36 PM, Don Guinn <[email protected]> wrote:
> Was thinking about artificial intelligence in the WIKI Essays and 
> found nothing. Nobody has used J for AI work?

Artificial intelligence has been rather prosaic, when you get down to what it 
does.

I do not know that a J programmer achieving those ends would be inclined to 
call the result "artificial intelligence".

--
Raul
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to