Code center > Darwinbots Program Source Code

My DB2 non-optional changes, what do people think?

(1/5) > >>

Botsareus:
Here are my 5 non-optional changes:

randomization seed:

Added An Input box so users can set the randomization seed manually on program startup, by default the timer is used as the seed but you can set it as well.
This makes the program easier to debug.
If you click display seed, in the chart form, the seed will be set as part of the chart forms name and the MDIforms name, this is done so if you are running two or more instances of Darwin Bots you will know what chart belongs to what instance.

Find Best:

The new findbest works by calculating which robot family has the most energy, instead of the most population.

Time limits on mutation:

The mutation system was heavily modified to stop mutating after a 4 seconds, this way if a robot has huge DNA you don't have to wait a long time for it to mutate.

MDIform form size is fixed: PLAN A
The reason I fixed the MDIform size is if you run the same simulation on a wide-screen the screen dimensions are different. The size I am using is something in-between wide screen and regular.

save mutation rates and load mutation rates:

Added save mutation rates and load mutation rates buttons to the mutation menu they are stored in a file "mutationrates.txt" in the same folder as the program .
Now you can give any robot the costume mutation parameters found by the program.

What do people think? I will start implementing them starting Monday after school but I need your opinions because I actually want these to be implemented in the next revision of DarwinBots2. I'll code them myself. I practicaly already did, I just have to recode them for DB2.45. I just realized how good my timing is (as usual.  :() Apparently Panda is doing a major revision of the program too. Shall I wait for him to get done, or should I go for it?

Panda:
Shasta is doing a bit, wait for him and then have a go.

Botsareus:
Numsgil do you like my updates so far???

Numsgil:

--- Quote from: Botsareus on November 27, 2010, 12:38:57 PM ---Here are my 5 non-optional changes:

randomization seed:

Added An Input box so users can set the randomization seed manually on program startup, by default the timer is used as the seed but you can set it as well.

--- End quote ---

There should be an option for this already in the options panel.


--- Quote ---The new findbest works by calculating which robot family has the most energy, instead of the most population.

--- End quote ---

Yeah, this is a long overdo change.


--- Quote ---Time limits on mutation:

The mutation system was heavily modified to stop mutating after a 4 seconds, this way if a robot has huge DNA you don't have to wait a long time for it to mutate.

--- End quote ---

Wouldn't it make more sense to just have a lower mutation rate?


--- Quote ---MDIform form size is fixed:

The reason I fixed the MDIform size is if you run the same simulation on a wide-screen the screen dimensions are different. The size I am using is something in-between wide screen and regular.

--- End quote ---

There are some graphics bugs dealing with aspect ration, but they should be fixed instead of patched.


--- Quote ---save mutation rates and load mutation rates:

Added save mutation rates and load mutation rates buttons to the mutation menu they are stored in a file "mutationrates.txt" in the same folder as the program .
Now you can give any robot the costume mutation parameters found by the program.

--- End quote ---

Sure, but wouldn't it make more sense to save and load user-named files?

ikke:

--- Quote from: Numsgil on November 29, 2010, 12:02:12 AM ---
--- Quote from: Botsareus on November 27, 2010, 12:38:57 PM ---
Time limits on mutation:

The mutation system was heavily modified to stop mutating after a 4 seconds, this way if a robot has huge DNA you don't have to wait a long time for it to mutate.

--- End quote ---

Wouldn't it make more sense to just have a lower mutation rate?

--- End quote ---
Yes please. I usally set mutations to 1/32 x after adding a 0 to all default rates for a total of 1/320 x

Navigation

[0] Message Index

[#] Next page

Go to full version