« * K Comics

#534 Genetic Algorithms

23/1/2009

[[Code displayed, presumably from an IDE]] def getSolutionCosts(navigationCode): fuelStopCost = 15 extraComputationCost = 8 [[There is a giant arrow pointing to the next line]] thisAlgorithmBecomingSkynetCost = 999999999 waterCrossingCost = 45 Narration: Genetic algorithms tip: *Always* include this in your fitness function.

Hidden joke: Just make sure you don't have it maximize instead of minimize.

Picture address: https://imgs.xkcd.com/comics/genetic_algorithms.png

0 Show the picture4 Previous strip6 Next strip5 Random stripNewest

Strip number (1-3326):

☆ Save to home · Home · Find · Games · Chat · AI · Setup