Friday 1 July 2011

Developer Journal 107


The population died out. I continued on from save file 110624-1658 (17 MB). I'm going to go back to the same save file again. I don't know what's going wrong. My mood is beginning to fluctuate with the health of the population. I had a population that was growing too quickly in Developer Journal 105. I think the main thing was that I changed the wait time between mating from 5 minutes to something bigger minutes.

The hard thing is that changes take a long time to have an effect. The first save file created after I resumed the simulation yesterday was 110630-1859 (14 MB) and the last save file was 110630-2229 (2 MB). That's 4 hours and 30 minutes.

I'm going to go back to a 5 minute wait before being able to reproduce again. My theory is that you should get things working before you get things changing. I've also increased to upper limit for food in the world from 8 to 16 units.

Hmm. I think I figured it out. I had a function that picked up robots that had broken through the walls at the edges of the world and fallen off. I was putting the robots down inside the ground instead of on top of the ground.

The population seems to be doing pretty well again.

Hmm. I wasn't saving a few of the important statistics, the number of times the robots touch food and other robots.

Increasing reproduction wait from 5 minutes to 20 minutes. Fingers crossed.

Sigh, loading a 33 MB file takes 3 minutes 35 seconds.

I be running for 6 hours and 38 minutes! It would be more if it weren't for the backtracking in time.

elapsed real time: 10 seconds
elapsed sim time:  2.86667 seconds
total real time:   1 day 3 hours 9 minutes 10 seconds
total sim time:    6 hours 38 minutes 40.7333 seconds

If the population is still doing well tomorrow, I'll increase the reproduction wait time from 20 to 30 minutes.

Step: 1485462 NumFood: 16 NumFoodEver: 5703 NumCrit: 108 NumCritEver: 998
numSick: 0
numChild: 28
0 seconds to 30 minutes : 53
30 minutes  to 1 hour : 14
1 hour  to 1 hour 30 minutes : 1
1 hour 30 minutes  to 2 hours : 7
2 hours  to 2 hours 30 minutes : 11
2 hours 30 minutes  to 3 hours : 6
3 hours  to 3 hours 30 minutes : 2
3 hours 30 minutes  to 4 hours : 3
4 hours  to 4 hours 30 minutes : 0
4 hours 30 minutes  to 5 hours : 0
5 hours  to 5 hours 30 minutes : 1
5 hours 30 minutes  to 6 hours : 4
6 hours  to 6 hours 30 minutes : 1
6 hours 30 minutes  to 7 hours : 0
7 hours  to 7 hours 30 minutes : 1
7 hours 30 minutes  to 8 hours : 1
8 hours  to 8 hours 30 minutes : 0
8 hours 30 minutes  to 9 hours : 0
9 hours  to 9 hours 30 minutes : 0
9 hours 30 minutes  to 10 hours : 0
10 hours  to 10 hours 30 minutes : 0
10 hours 30 minutes  to 11 hours : 1
11 hours  to 11 hours 30 minutes : 0
11 hours 30 minutes  to 12 hours : 0
12 hours  to 12 hours 30 minutes : 1
12 hours 30 minutes  to 13 hours : 0
13 hours  to 13 hours 30 minutes : 0
13 hours 30 minutes  to 14 hours : 1

I've got a few necessary tasks to work on next
+ turn off Hebbian learning and run with the persistent population
+ turn off Hebbian learning and run with a new population
+ implement the gender constraint
+ implement the maturation constraint
+ run experiments with the gender constraint
+ run experiments with the maturation constraint

What I really want to do is to make the robot bodies more humanoid. I can make physical shapes. I need to make joints, then motors, and then connect the motors to the neural network. I'll need to do a whole bunch of tuning and I'll probably need to add additional sensors to let the robot's know how far they have flexed or extended their limbs.

Grr. I should get the basics done first. Then again ...



RELATED

No comments:

Post a Comment