News for hackers. Stuff that matters.
Re:Genetic Algorithm for Knapsack Problem by tehwalrus on Wednesday June 19, 2013 @09:19AM (#5905340)
Oh, so this blogger is misusing the term (I scanned a little way down the article and thought I'd concluded he was doing GP). In that case this is much less interesting!
Re:Genetic Algorithm for Knapsack Problem by moron4hire on Wednesday June 19, 2013 @09:29AM (#5905393)
I don't get the need for the GA library here. It doesn't seem to have simplified the problem at all. This code looks several orders of magnitude more complex (or at least just ugly) compared to a hand-written GA that just used std::vectors as the genes.