Hey all. I was wondering if anyone out there knew much about using GAs with NNs?

I had made this unit quite some time ago to assist in the use of training a bunch of NNs with the use of a GA ran through various generations of trials in which they would learn to adapt to the inputs given and respond in a way that benefits them (ie a health score).

I've derived the classes in this unit from a minesweeper tutorial by Mat Buckland on GAs and NNs at ai-junkie.com. If anyone can take a look over it and see if there is anything that I may have gotten wrong, I'd be grateful.

My re-implementation of his mine-sweepers program in Pascal was so far unsuccessful as my little bugs don't seem to be learning anything.

I'll post the 'Bug World' code later. I just want to see if I made any errors in this unit that might be causing it. Actaully you can grab the code at an old site that I put up a few years ago: http://aiworkshop.tripod.com/ Full source is there too. (used Delphi 5 and DelphiX components)

Perhaps if someone were to try and use it themselves for testing?

Oh and for the record the code submitted by Chris Reitzel on the tutorial does NOT work [size=9px](it seems that noone cared to check his work for results before adding it :roll: typical)[/size]

Digital Mode seems to work better then Analog as I've actually seen some results in a another simulation I've done than the minesweeper clone attempt.

[size=9px]Oh and please bare with some of my code, it's a bit dated and I'd likely have done a few things differently these days.[/size]


EDIT: Darn! the [pascal] tags are screwing up the code you'll just have to get it from my old site then. The source is there in with the bug world code.