Darwinbots Forum

Code center => Suggestions => Topic started by: Botsareus on March 11, 2009, 12:01:05 PM

Title: Translocation and amplification mutations
Post by: Botsareus on March 11, 2009, 12:01:05 PM
I can't wait to get my hands on bug free Translocation and amplification mutations. I want to be able to upgrade my Darwinsource2.43.xx. To do this I will only have to replace the Neomutations model and the mutation settings form right? If there is more stuff to replace or edit (after you get them to actually work) let me know. Thanks.
Title: Translocation and amplification mutations
Post by: Numsgil on March 12, 2009, 01:13:34 AM
I have no idea.  Try it and see
Title: Translocation and amplification mutations
Post by: Botsareus on March 12, 2009, 12:33:21 PM
Quote
(after you get them to actually work)

... hint  
Title: Translocation and amplification mutations
Post by: Numsgil on March 12, 2009, 01:03:51 PM
I'm pretty sure Eric fixed it at some point.  If not there's definitely code floating around somewhere here in the forum with the fixed version.  No idea where.

Or you can fix it yourself.  It was mostly array bounds issues.
Title: Translocation and amplification mutations
Post by: Botsareus on March 12, 2009, 02:11:51 PM
O ok, well If Eric knows where it is, then let me know Eric...

Quote
definitely code floating a round somewhere here in the forum with the fixed version
Maybe someone knows where, help?

 


I just checked out db source 2.44.1 , amplification does NOT work in there too...

But hey 2 and 1/2 hours and TA!DA! BOTSAREUSIFIED NEOMUTATIONS MODEL
Title: Translocation and amplification mutations
Post by: Botsareus on March 14, 2009, 02:35:20 PM
Here it is... Not too shabby but at least it does not crash...

Just remember although there is a safe code for amplification, running it at values below 10 is highly not recommended , or else you can end up with around 0.01 cycles per second or so...

Just unzip it and stick it to the source code folder.
Title: Translocation and amplification mutations
Post by: Botsareus on March 15, 2009, 02:41:00 PM
 Still crashes if DNA is too big. Still freezes if DNA is too big.

Solution: put a timer in there and go to bypass when timer is over 5 seconds. If there is an error go to bypass as well...