Skip to content
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

bug #1

Open
qizhixiaoyao opened this issue Oct 6, 2019 · 2 comments
Open

bug #1

qizhixiaoyao opened this issue Oct 6, 2019 · 2 comments

Comments

@qizhixiaoyao
Copy link

我觉得您的程序有点问题,思路没啥问题

@jiangxh1992
Copy link
Owner

首先非常感谢,代码只是个人的一种实现,仅供参考,不排除有问题,欢迎纠错和实现新代码。算法流程和结果都是验证过的。

@qizhixiaoyao
Copy link
Author

您利用crosscheck来检验交叉之后子代染色体中城市是否重合,存在不重合的情况就返回1执行crossover,但是在crossover中依然是随机挑选位置进行交叉,导致生成的子染色体个体中存在城市重合的情况。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants