requirements:
java version "1.6.0_03" run time environment
unzip the file using winrar/winzip or whatever is your favorite extract utility iz
open the console and navigate to AITest/dist/
e.g. assuming you put and extracted the file to desktop
$cd Desktop/AITest/dist/
$java -jar AITest.jar
changes:
>modified to implement the algorithm in the post above this post
>added the option to select whether to run the test for a certain # of trials
or run the test until the specified date/time.
>added file output for every x number of results for the second option
>optimized some parts for memory management
>added exception handling to some of the code.
the assumptions that still remain:
>if the mouse reaches the last step, it reaches the exit
>you can't have a right step followed by a left step and vice versa, so a forward
must follow a right/left step to make the maze more simple and avoid CIRCLES and OVERLAPPING.
e.g:
RIGHT RIGHT RIGHT RIGHT
NOTES:
>for the time option, it is accurate to the minute rather than to the second
>you SHOULD NOT run the program for something like 2 weeks because you
will probably get 1000000000000000000000000000000000000000000000 results
>for the time option, the program will write every 10 million results produced
to a new file AIresultsx.txt, where x stands for the extension (e.g. AIresults2.txt, AIresults3.txt etc). The created file will be in the same
directory as the proggy
>if the resultsthe program must be have write access to the folder its folder so it can write the
file to disk.
>you can copy/paste or somehow import the results into excel and such, then graph them .
typically it should be a bell curve
_/\_
, but if the mice actualy learn then it should be a decreasing curve or line
\___
>don't use something like -9989 for the year and such, because not all of the variables
are checked and we're making the assumption that the people who will use this are sane
>sources are in /src
>tested on linux
FILE:
rapidshare.com...