/// <summary> /// creates random neural networks as a base /// </summary> private void initCarsNetwork() { //create all of the networks for the cars neuralNetworkList = new List <network>(); for (int i = 0; i < populationSize; i++) { network network = new network(layers); network.mutate(); network.israndomStart(); neuralNetworkList.Add(network); } }