improve.dk
Just another mindless drone looking for the perfect stack
posts - 220, comments - 475

May 2009 Blog Posts


Tricky SQL Server decimal math

Written on Wednesday, May 06, 2009 by Mark S. Rasmussen in SQL Server: Data Types, SQL Server: Optimization

When performing math using SQL Server decimals, the precision may change and cause implicit conversions. Learn how to predict and avoid this situation.

No comments | Write first comment
 

Evolution of the simple genetic algorithm

Written on Saturday, May 02, 2009 by Mark S. Rasmussen in Development: .NET

Based on my previous post on how to implement a simple genetic algorithm, I got some great comments pointing out that the algorithm might not be the most pure form of a genetic algorithm. I won't disagree, though I will point out that evolution also does occur due to mutation alone, so genetic algorithms may come in different forms. Making it more "genetic" The basic point is that I was only mutating my chromosomes, I wasn't actually pairing them up and reproducing via a crossover function. I've changed my GeneticAlgorithm class slightly to give more control to...

3 comments | Read comments