Any computer scientists in here?
#3
Sweet, how fortunate.


Keeping the values atomic makes sense, thanks. I'm working on a custom little thing in flash (yes flash), and I'll post a link if it ever turns out.

Thanks for the help, man!


P.S. Since my GA is going to be time-sensitive, how much of a mathematical improvement do you think the following modification to truncation selection would be?

choose p from pop {
p(k / (1+k)) choose random from population with fitness > pop avg fitness
p(1 / (1+k)) choose random from total population
}

k may be arbitrary, or may be the healthy fitness normalized to the avg fitness:
(avg fitness of pop with fitness>pop avg fitness)/(pop avg fitness)


And I'm pretty sure what you get is a O(n) rough aproximation of roulette wheel selection for n different ps; the roulette wheel implementation is O(n^2) iirc (or maybe O(n logn) if you cumulate the fitnesses and do a search on them). I'd like a second opinion on this, though.
Great truths are worth repeating:

"It is better to live in the corner of a roof
Than in a house shared with a contentious woman." -Proverbs 21:9

"It is better to live in the corner of a roof
Than in a house shared with a contentious woman." -Proverbs 25:24
Reply


Messages In This Thread
Any computer scientists in here? - by GenericKen - 12-31-2005, 08:27 AM
Any computer scientists in here? - by Kylearan - 12-31-2005, 03:58 PM
Any computer scientists in here? - by GenericKen - 12-31-2005, 08:13 PM
Any computer scientists in here? - by ima_nerd - 01-01-2006, 12:10 AM
Any computer scientists in here? - by whyBish - 01-03-2006, 11:00 AM
Any computer scientists in here? - by GenericKen - 01-03-2006, 05:30 PM
Any computer scientists in here? - by Pesmerga - 01-03-2006, 06:02 PM
Any computer scientists in here? - by GenericKen - 01-04-2006, 06:58 AM
Any computer scientists in here? - by Kylearan - 01-04-2006, 09:16 PM

Forum Jump:


Users browsing this thread: 3 Guest(s)