title: Roulette wheel selection for function minimization
body: <p><a href="https://stackoverflow.com/questions/298301/roulette-wheel-selection-algorithm">This question answers pseudocode for roulette wheel selection</a>. But it's for maximization problem. But my problem is to minimize the value of fitness function. That means, individuals with low fitness get higher probability for being selected than individual with high fitness. How can I implement that?</p>
  
  <p>Thanks in advance.</p>