Code center > Suggestions

What I need done in mutations

(1/7) > >>

Botsareus:
1.) Insert a new value works for settings files ( my plasment control for settings files to if its not lost)

2.) I like PY's sliders he included in the mutation rates , I want them to actualy mutate and work for each robot seporatly, I cant say what there defult range should be , I use PY standerd it works fine exsept:

--- Quote ---cond
30 'number
20 'number
>
--- End quote ---

is the same as


--- Quote ---4 'number
1 'number
>
--- End quote ---
The solution is not to let two numbers mutate in one cond part.

3.) (Sliders Part Two) I need new sliders to reprosent the following:
The chance to insert *number , or *.sysvar, or any-number, or .sysvar-or-number
Into the actions part of the gene.

4.) All Mutation Rates are saved in the robots dna file , simuler to the way hash saves (but dont incript too heavy please)

5.)A Minor Bug with inserting [you]new instructions [/you]and [you]new values[/you]:

--- Quote ---  While pos < fd
    If ppos = pos Then Exit Function
    ppos = pos
    pos = NextElement(DNA, pos, 4, 2) + 1 'position of the start element
    endg = NextElement(DNA, pos, 4, 3)    'end of the gene
    While pos <= endg
      If Random(1, prob) = 1 Then
        If MakeSpace(DNA, pos, 1) Then
          DNA(pos).tipo = 2
          DNA(pos).value = Random(1, 9)
          x = x + "Inserted instr," + Instrname(DNA(pos).value) + ", at pos " + CStr(pos) + vbCrLf
          InsertRandomInstr = InsertRandomInstr + 1
         'pos = pos +1 'MUST BE ADDED HERE
        End If
      End If
      pos = pos + 1
    Wend
  Wend
--- End quote ---

For bouth functions , the system forgets to skip positions after inserting a new value , witch means that all the new values and instructions always end up in the bigging of the gene.

6.)I cant even biggin to describe what happens if all rates or portions of rates are set to "1", I never seen so mutch hang-ups. As a long term project we need to fix the mutations not to mutate the dna so mutch that it causes hang-ups in the run time.


***
Num, How do you wont the charts to "save"?

***
If you need help on any of the items above please specify

PurpleYouko:

--- Quote ---6.)I cant even biggin to describe what happens if all rates or portions of rates are set to "1", I never seen so mutch hang-ups. As a long term project we need to fix the mutations not to mutate the dna so mutch that it causes hang-ups in the run time.
--- End quote ---
 :blink:
There must be something wrong with your system if this hangs up.
That is precisely the way that I test all the mutations.
Set them all to one and let it run. I can run for hours this way with multiple restarts and never once get a hang up.

PurpleYouko:

--- Quote ---That is precisely the way that I test all the mutations.
Set them all to one and let it run. I can run for hours this way with multiple restarts and never once get a hang up.
--- End quote ---

Famous last words.   :redface:

Just tried it one more time and the sim hung up before it even started properly.

Wonder which one of the settings is causing that then.

Botsareus:
6.) When "Portions of rates" (some rates) are set to 1... (I actualy acheved this by letting the rates jumb up and down like crazy  when I was complaining that mutation rate of mutation rates was changing it too little) Its still in there PY, unless ?you fixed it?

rofl , good voca: Portions = some

anyway we still got :

1.)...
2.)...
3.)...
4.)...
5.)...
6.)read post ^

PurpleYouko:

--- Quote ---rofl , good voca: Portions = some
--- End quote ---

WTF  :blink:

What does this mean?

I don't speak Gibberish.

Navigation

[0] Message Index

[#] Next page

Go to full version