Author Topic: Evolving Dom ternia E  (Read 13739 times)

Offline shvarz

  • Bot God
  • *****
  • Posts: 1341
    • View Profile
Evolving Dom ternia E
« on: May 06, 2005, 02:35:37 PM »
OK, here are the results of 57 million cycles of simulation, trying to evolve a robot that can live in highest friction environment possible in DB.

I started with Dominicus Invincibalis as hunter and Alga grexa as food.  The mutations in Alga grexa were disabled, but I tweaked it here and there at different times and at the end it changed so much, that I decided to give it a different name.  Now it is called Alga ternia.

I am attaching the archive with 4 files:
1. Alga ternia
2. Dom ternia E (this is the final result of evolution)
3. Compare.xls file to easily see the changes between starting DomInv and Dom ternia
4. Ternia evolution.set settings file for you to see the conditions

The original bot had genome of ~370 commands, the new bot has ~490 commands.  There are some deletions, some replacements, but most of mutations (from ~170 total) are obviously insertions.  Whether that is the way mutation algorithm works or it is just the fact that insertions are less likely to disrupt an efficient pre-designed DNA is not clear (I am inclined to beleive the latter).

There were no Big Berthas or cannibots for a very long time.  Big Berthas never appeared.  The final version I am posting actually is cannibalistic.  I have some intermediate evolution steps saved, so I can go and check when that developed.

The final version easily beats DomInv in sims and it is not due to the fact that Dom ternia can eat the DomInv, the non-cannibalistic versions were also able to do that.  How it beats it, I am not sure.  Those who like to pick through robot DNA may figure it out and tell us :)  One of the most curious things that I noticed was that the bot lost the ability to produce -4 shots at some point, but later gained it back.  Very strange...

Well, let me know what you think.
"Never underestimate the power of stupid things in big numbers" - Serious Sam

Offline MightyPenguin

  • Bot Destroyer
  • ***
  • Posts: 189
    • View Profile
Evolving Dom ternia E
« Reply #1 on: May 06, 2005, 02:50:13 PM »
*moves*

Sorry I'm late with that. Bot Tavern sounds good to me.

Offline Numsgil

  • Administrator
  • Bot God
  • *****
  • Posts: 7742
    • View Profile
Evolving Dom ternia E
« Reply #2 on: May 06, 2005, 04:51:21 PM »
Have you tried it against other top bots?  I'd be very interested if it manages to beat a bot Dom Inv couldn't.

Offline shvarz

  • Bot God
  • *****
  • Posts: 1341
    • View Profile
Evolving Dom ternia E
« Reply #3 on: May 06, 2005, 05:06:18 PM »
"Top Bots" from F1 league?  No.  But I would not expect them to be "top bots" in my conditions anyway.  Well, maybe I'll give it a try.
"Never underestimate the power of stupid things in big numbers" - Serious Sam

Offline Shen

  • Bot Destroyer
  • ***
  • Posts: 111
    • View Profile
Evolving Dom ternia E
« Reply #4 on: May 06, 2005, 05:07:24 PM »
Well I do have one idea why is better. One of the first things my bot did was to split the waste removal gene so it constantly store *.waste .shootval store in a gene with no conditions. Remember that Dom Inv doesnt use the use powered up shots so doing that would give the curious effect of making bots more powerful as they get older and consume more energy.

Could be an explanation to why it lost its -4 shots. Havnt looked through the code yet though.

Offline shvarz

  • Bot God
  • *****
  • Posts: 1341
    • View Profile
Evolving Dom ternia E
« Reply #5 on: May 06, 2005, 05:34:57 PM »
Just tested the top 10 bots from F1 league.  As I guessed all but two of them were able to survive these tough conditions.  One is Dom. Inv and the other is DIN.  Dom Inv kicks DIN's butt already, so there is no point in comparing Dom ternia to it.
"Never underestimate the power of stupid things in big numbers" - Serious Sam

Offline shvarz

  • Bot God
  • *****
  • Posts: 1341
    • View Profile
Evolving Dom ternia E
« Reply #6 on: May 06, 2005, 05:37:34 PM »
Actually, the amazing part was that they actually gained -4 shots later in almost exact same condition as they were before.  I am attaching the whole comparison (with intermediate steps listed) for you to see what happened (the numbers on top are the millions of cycles)
"Never underestimate the power of stupid things in big numbers" - Serious Sam

Offline Shen

  • Bot Destroyer
  • ***
  • Posts: 111
    • View Profile
Evolving Dom ternia E
« Reply #7 on: May 08, 2005, 04:17:12 PM »
How often did you get crashes in your sims, how long did you run them for? I only ask because im getting overflows after 200k cycles. :/

Offline Numsgil

  • Administrator
  • Bot God
  • *****
  • Posts: 7742
    • View Profile
Evolving Dom ternia E
« Reply #8 on: May 08, 2005, 06:18:34 PM »
Shen, which version are you running?

2.36.5 should be 99.9% stable.  The only overflows I've managed to find since that release have been fairly obscure.

Offline Shen

  • Bot Destroyer
  • ***
  • Posts: 111
    • View Profile
Evolving Dom ternia E
« Reply #9 on: May 09, 2005, 06:05:51 AM »
Yup Im running 2.3.5. I have a wierd feeling it might be somethig to do with the graphs, it seems to run a lot longer when I dont open the at all. Oh well Ill do some investigating.

Offline shvarz

  • Bot God
  • *****
  • Posts: 1341
    • View Profile
Evolving Dom ternia E
« Reply #10 on: May 09, 2005, 10:53:37 AM »
I ran the sim for 57 million cycles.  Only once it crashed and it was due to a known bug (means I could have avoided it).  The average run between times when I had to stop a sim (to reboot or just to adjust something in Alga ternia) was 3 million cycles.
"Never underestimate the power of stupid things in big numbers" - Serious Sam

Offline shvarz

  • Bot God
  • *****
  • Posts: 1341
    • View Profile
Evolving Dom ternia E
« Reply #11 on: May 09, 2005, 11:32:05 AM »
Here is something very interesting.  As I mentioned, I did not see cannibots dominating in my evolution sim.  It does not mean that they never appeared, just that they died out pretty quickly.  It turns out that the Dom ternia E that I posted just happened to be a cannibot, which spread in high numbers right before I decided to post the results of evolution.

What does it mean?  It means that if you start the sim with settings I supplied, you will see that a cannibot will be replaced by a non-cannibot quite and it will happen quickly, in less than 0.5 million cycles (in fact for me it happened in just 200,000 cycles).  Try it!  Post your results here!  Post your thoughts on why that happens!  (I know why, but I won't tell you unless you beg me :) )
"Never underestimate the power of stupid things in big numbers" - Serious Sam

Offline Shen

  • Bot Destroyer
  • ***
  • Posts: 111
    • View Profile
Evolving Dom ternia E
« Reply #12 on: May 09, 2005, 02:43:49 PM »
Hmm its not something to do with waste is it? They seem to store a value into memloc 1 which is .up. So do they just run past each other?

Offline Botsareus

  • Society makes it all backwards - there is a good reason for that
  • Bot God
  • *****
  • Posts: 4483
    • View Profile
Evolving Dom ternia E
« Reply #13 on: May 09, 2005, 04:23:56 PM »
I dont know; This is top of the line stuff; If any one can tell me all the new ways that mutated robot beats its endsestor(love the spelling), I will be glad to read.
« Last Edit: May 09, 2005, 04:24:21 PM by Botsareus »

Offline shvarz

  • Bot God
  • *****
  • Posts: 1341
    • View Profile
Evolving Dom ternia E
« Reply #14 on: May 09, 2005, 04:48:55 PM »
:help:  WTF is endsestor?  :help:
"Never underestimate the power of stupid things in big numbers" - Serious Sam