Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456 xkcd: 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.
{{title text: Just make sure you don't have it maximize instead of minimize.}}
xkcd.com is best viewed with Netscape Navigator 4.0 or below on a Pentium 3±1 emulated in Javascript on an Apple IIGS at a screen resolution of 1024x1. Please enable your ad blockers, disable high-heat drying, and remove your device from Airplane Mode and set it to Boat Mode. For security reasons, please leave caps lock on while browsing.