Code center > Bugs and fixes

Children Are Immune to Parent's Shots

<< < (2/2)

Numsgil:
The parent can't hurt child code was put in specifically because:

1.  Bots are immune to their own shots
2.  When a bot reproduces the child just kind of 'appears' in front of the bot, quite magically.  Meaning it will pop into existance on top of a stream of shots.

Mammal children are protected from their mom's immune system while they are gestating.  So I was going along the same lines.  10 cycles was arbitrarily chosen, but the idea is simple enough: the baby bot should still have whatever protein markers the parent has that prevents the parent from being injured by its own shots.

This code doesn't prevent parents from trying to shoot their kids, or vice versa.

I didn't think it was that big a deal, or I would have certianly dicussed it with you guys.  If you think it's artificial, it's easy enough to remove.
The mutations code is, to be frank, a mess.  Combined with the simplicity of the environment (yes, a destroy-the-birth-tie will be more successful, but only slightly.  In DB environment, that edge is negligable, so it rarely develops or even survives the selection process).

Greven:

--- Quote ---Mammal children are protected from their mom's immune system while they are gestating. So I was going along the same lines. 10 cycles was arbitrarily chosen, but the idea is simple enough: the baby bot should still have whatever protein markers the parent has that prevents the parent from being injured by its own shots.
--- End quote ---

But still this, protection of the child, lies in the genes, it is not an universal rule of the universe!!! This should be developed by the evolution to select against parents killing its offspring.

I think we need to discuss the DNA/Genome structure... Because I think most of the bad mutations we get is not caused by lack of a complex envoriment, but bad structure of DNA/the genome.

Numsgil:
I've modified the source code so that the age is now set to 0 or 1.  That is, shots that exist at the time the bot is born won't hurt it (unless they belong to another bot than its parent) but shots fired by the parent after its birth will.

Navigation

[0] Message Index

[*] Previous page

Go to full version