Bots and Simulations > Evolution and Internet Sharing Sims

Evolving niemand?

<< < (2/2)

Numsgil:
Yep, that last one's the one I'm thinking about.

Welwordion:
Well I decided to try a different solution (if I get the Dna  to work) the plan is as follows:

I build my genes

Genes for the reproduction scheme

.....

_____________________
Genes to mutate

start
cond
 0 *0 *0
 0  0 *0 *0
 0  0 *0  
 0  0 *0 *0
 0  0 *0 *0  
stop

cond
start
sub sgn 1 sub abs sgn mult store
sub sgn 1 add sgn mult store
sgn mult store
sub sgn abs 1 sub abs mult store
sub sgn 1 sub abs sgn mult inc
stop

cond
start
 0 *0 *0
 0 *0
 0 *0 *0
 0 *0 *0
 0 *0 *0
 0 *0
 0 *0 *0
stop

cond
start
sub sgn 1 add sgn mult inc
sgn mult inc
sub sgn abs 1 sub abs mult inc
sub sgn 1 sub abs sgn mult dec
sub sgn 1 add sgn mult dec
sgn mult dec
sub sgn abs 1 sub abs mult dec
stop

.......

So I am alternating  numbers for the stack and introductions, the idea behind this is that we will have 3 types
of bots in the next generation:
1) that deleted all his genes beside the reproduction genes
2) that stores only command genes
3) that stores only number genes and by using  100 .mrepo will be able to generate mutations

number 1) will tie to itself to one number 2) bot and 1 or more number 3) bots
Now whenever  *.genes +1  (next number of genes) would be a command gene he motivates bot 2)
to generate viruses and when  *.genes +1  (next number of genes) is a number gene he motivates 3)
to produce viruses
Once he has a full genome he transforms himself into a normal bot and deletes his ties.

The concrete Scheme I currently use for that is.

Bots--------
|                     \
|                      \
sees 3)       comes to a certain age and *.nrg
|                  /
|                /    
.repro----        
|                      
|            
new bot (generation counter
 in racial memory) turns
 (and ties  itself to 3 if its there)
|
|
.repro and  (* .numties .tie) ties itself to new children
then empties its genes becomes, 1)
|
|
 based on tie number: 1 and 3 are gene bots delete their instruction if they did ot already become 3)
2 makes itself instruction bot 2)
|
|
Once the ties are solved  2) kills itself 3)mutates itself if its not already mutated racial memory


The reproduction Dna has become a little to large and complicated for my taste , exspecially the selfrole recognition system.

Navigation

[0] Message Index

[*] Previous page

Go to full version