Skip to content
Snippets Groups Projects
Commit 4e61f9a7 authored by Crystal Chang Din's avatar Crystal Chang Din
Browse files

Create a new crossover algorithm

clean up the code
add docstring to the one_coordinate(start_point, side_length) and two_coordinates_are_the_same(coordinates)
fixed the bug: ensure that the number of the generated children is the same as the initial population
change the termination condition of the genetic algorithm: terminate when the average fitness score converge
parent 05b0efaa
Branches main
No related tags found
1 merge request!16Create a new crossover algorithm
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment