Artificial neural networks and genetic algorithms derived from the corresponding simulation of biology, anatomy. The paper analyzes the advantages and the disadvantages of the artificial neural networks and genetic algorithms. The artificial neural networks and genetic algorithms to be combine in the prediction model. This method is used to predict traffic volume in a road, the accuracy of forecasting results improved significantly. Therefore, this simulation method in traffic prediction have a good prospect.