Code center > Dead-End and Solved Suggestion Requests
Advanced Randomness Generation Thread
Botsareus:
If I set mutation rates of mutation rates to 0 nothing happens:
--- Quote ---cond
start
50
.repro
store
15
.aimdx
store
stop
-------------- 2
end
--- End quote ---
always the same code.
Introduce new variable has no effect.
Numsgil:
Okay, now we're getting somewhere.
It doesn't seem that 'introduce a new variable' is actually introducing new variables. That's a much mroe precise statement than 'mutations don't work!!!!1111', which means I can actually test the bug and isolate it.
Botsareus:
'introduce a new variable' does insert new stuff like "*40" or "*957" in the "cond" part or the "start...stop" part of the DNA.
There is no way also to:
'change *40 into *250" for the "cond" part of the gene
'change "[you]250[/you] into *920 or into *42" in the "start...stop"
or change "*920 into 250" etc.
PurpleYouko:
The reason it doesn't change is because the value "Introduce new variable" is a secondary effect setting. That is why it is in a separate section from all the others. It controls the chance of a mutation introduced by another control being something NEW
To put it another way..
You can't mutate a new value if you aren't mutating any value.
Under the heading "Insert new values", place a 1 in the box labeled "Insert a condition" as well as the 1 that you already have in "Introduce new variable"
Run your little robot for a tiny short time and see what you get.
I tried it. I started the program and hit pause as fast as I could move my mouse. 45 cycles had passed.
Here is the result.
--- Code: ---cond
*.trefvelyoursx
30093
%=
*.hitdn
9015
!%=
start
50
.repro
store
15
.aimdx
store
stop
end
--- End code ---
Please note that ALL of the mutations took place in the condition section of the gene and that they are ALL new!
It added 2 complete conditions and then stopped reproducing because the new conditions were not being met. There were hundreds of different colored bots on the screen. This was just the first one that I checked.
You just have to use the controls in the right way.
OK I admit that there hasn't really been any kind of tutorial on how to do so but then again.. Do I have to do everything around here? It isn't that hard to figure out.
:rolleyes: PY :rolleyes:
PurpleYouko:
--- Quote ---It doesn't seem that 'introduce a new variable' is actually introducing new variables. That's a much mroe precise statement than 'mutations don't work!!!!1111', which means I can actually test the bug and isolate it.
--- End quote ---
THERE IS NO BUG
It was designed to work this way!
:rolleyes: PY :rolleyes:
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version