* @param splitPlace Gene number on which the Genes should be swapped
* @return new Chromosome crossed between given two
*/
* @param splitPlace Gene number on which the Genes should be swapped
* @return new Chromosome crossed between given two
*/
*/
Generation<_Chromosome> cross(Generation<_Chromosome>& _generation) {
const unsigned int generationSize = _generation.size();
*/
Generation<_Chromosome> cross(Generation<_Chromosome>& _generation) {
const unsigned int generationSize = _generation.size();
for (unsigned int i = 0; i < generationSize; i++) {
CrossoverChanceType random = (rand() + 1 % 10000) / 10000.0;
for (unsigned int i = 0; i < generationSize; i++) {
CrossoverChanceType random = (rand() + 1 % 10000) / 10000.0;