Code center > Suggestions

More realistic mutations

<< < (9/9)

Anonomous Guest Person:
Hm. Then on the account of that, I say we have two types of changing a value.
Relative changes, and relative-to-0 changes.
The former would be limited to small changes with an improbability of having a very very large change.
I dunno how the other one'd work though. :P

Botsareus:
Choose(Int(Rnd * 3) + 1, Int(Rnd * 10), Int(Rnd * 255), Int(Rnd * 20000)) * _
((Int(Rnd * 2) * 2) - 1)

"not relative to 0" , just a new value every time.

Navigation

[0] Message Index

[*] Previous page

Go to full version