⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 inqueensolutionhelper.java

📁 This is a java implementation for solving NQueen problem using genetic algorithm.Enjoy it!
💻 JAVA
字号:
package ir.ac.iust.evoalgs.nqueen;

import java.util.List;

public interface INQueenSolutionHelper {

	public void onProgress(int[] theBest, int iterNo);
	
	public void onCompelete(NQueenProblem problem, NQueenSolution solution, int iterCnt);
	
	public int getSleepSize();

	public double getMutationProb();
	
	public double getCrossOverProb();
	
	public Gene selectParent(List<Gene> population);
	
	public void initPopulation(List<Gene> population);

	public boolean hasBeenEnded(List<Gene> population, int iterNo);

	public int[] getTheBest(List<Gene> population);
	
	public void replacment(List<Gene> population, Gene[] genes);
	
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -