Skip to content

Commit 4bf69b6

Browse files
author
linyiqun
committed
遗传算法在走迷宫游戏中的应用
遗传算法在走迷宫游戏中的应用
1 parent f8602ae commit 4bf69b6

File tree

3 files changed

+476
-0
lines changed

3 files changed

+476
-0
lines changed

Others/DataMining_GA_Maze/Client.java

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
package GA_Maze;
2+
3+
/**
4+
* 遗传算法在走迷宫游戏的应用
5+
* @author lyq
6+
*
7+
*/
8+
public class Client {
9+
public static void main(String[] args) {
10+
//迷宫地图文件数据地址
11+
String filePath = "C:\\Users\\lyq\\Desktop\\icon\\mapData.txt";
12+
//初始个体数量
13+
int initSetsNum = 4;
14+
15+
GATool tool = new GATool(filePath, initSetsNum);
16+
tool.goOutMaze();
17+
}
18+
19+
}

0 commit comments

Comments
 (0)