设计一个遗传算法计算函数最大值和最小值();y=xsin(10pix)+2.0 x 属于-1到2
可以参考一下
https://blog.csdn.net/the4U/article/details/77187894