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

如何在初始化阶段将表现良好的个体加入种群? #205

Open
Czw007 opened this issue Dec 3, 2022 · 0 comments
Open

如何在初始化阶段将表现良好的个体加入种群? #205

Czw007 opened this issue Dec 3, 2022 · 0 comments

Comments

@Czw007
Copy link

Czw007 commented Dec 3, 2022

您好,我知道使用 self.Chrom = np.random.randint(low=0, high=2, size=(self.size_pop, self.len_chrom))可以初始化种群.
请问如何在初始化阶段将表现良好的个体加入种群?我没有在源码中找到将实际值编码为gray的功能.

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

1 participant