Artificial Intelligence can be thought of in terms of optimization. Robert Miles explains using the evolution's algorithm.