-
Notifications
You must be signed in to change notification settings - Fork 727
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
离散变量怎么设置取值间隔,以提升取值的精度 #374
Comments
参考soea_demo11 |
谢谢指导,有个地方稍微不太明白。soea_demo11 里的方法应该把传入到evalVars 里的 参数当作索引取 设定的参数集里取值形成变量矩阵, 那是不是每进化一次都要从设定的参数集里重新取值形成变量矩阵,然后遗传算法就没啥用了。这个点理解的不是很明白,能否给解释一下,谢谢 |
我的理解,这个只是用来生成变量矩阵的,遗传算法起作用的还是后续的重组、变异和选择。参数集虽然是固定的,但是索引每次都是不一样的,因此最终的变量矩阵也不一样。遗传算法不会失效。 |
Thank you. Your email is received and will be handled as soon as possible
|
来信收到。谢谢。徐明
|
您好,您的邮件冯颖已收到!
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
比如变量的取值范围是[3,10], 设置为离散变量后只能取整数值, 有没有什么办法让其以一定的间隔(步长,分辨率)取小数值, 比如以0.1为间隔,取 3.1,3.2,3.3 .........
The text was updated successfully, but these errors were encountered: