January 23, 2009
#534: Genetic Algorithms
[[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.