https://github.com/soarez/nqueens-java
NQueens GA implementation in Java
https://github.com/soarez/nqueens-java
Last synced: about 1 month ago
JSON representation
NQueens GA implementation in Java
- Host: GitHub
- URL: https://github.com/soarez/nqueens-java
- Owner: soarez
- Created: 2013-06-18T23:24:57.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2014-12-15T10:56:53.000Z (over 11 years ago)
- Last Synced: 2026-05-02T10:36:58.201Z (about 2 months ago)
- Language: Java
- Homepage:
- Size: 117 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# NQueens GA implementation
Using [Cycle Crossover](http://en.wikipedia.org/wiki/Crossover_(genetic_algorithm))
Usage:
```
javac NQueens.java && java NQueens 8 20
```
Where 8 is the board size and 20 is the number of generations to run.