concept genetic material in category algorithms
appears as: genetic material, genetic material

This is an excerpt from Manning's book Algorithms and Data Structures in Action.
At this point, if the template method that we have implemented for our genetic algorithms tries to maximize the fitness of individuals, we are golden; what if, instead, our implementation strives for lower fitness? For this particular case, we might have an easy solution: we sum the values of the goods discarded, corresponding to zeroes in a chromosome: for any given solution, the lower this sum is, the highest will be the sum of the calories of the goods in the crate. Of course, if we go this way, we have to assign a very high value (even infinity) to the solutions where the weight threshold is exceeded.