Skip to content

Latest commit

 

History

History
13 lines (8 loc) · 571 Bytes

README.md

File metadata and controls

13 lines (8 loc) · 571 Bytes

A. GA Introduction

The algorithm is started with a set of solutions called population. Solutions from one population are taken and used to form a new population by reproduction and crossover with another. Besides, there is a little rate of mutation in some populations.

B. Compile and Execute

* The order of arguments when compiling is `executing times`, `nums of population`, `length of genes`, mutation rate` and `crossover rate`
* Or you can use the file `compile.sh` to compile and execute
eg. 
	$ chmod +x compile.sh
	$ ./compile.sh