-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
3 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,3 @@ | ||
# 8QueensProblem | ||
# 8QueensProblem | ||
Used Evolutionary Algorithm to find the 8 queens problem. Population is initialized with a random unique number between 1 to 8. High quality parents are selected for crossover. | ||
Here lower checks count is considered as high quality parent. We used Partially Mapped Crossover and Swap mutate. Once the children are created we add them with the parents and low quality parents are removed from the list. Same process is repeated unit we get a high quality ( number of checks zero ) or if its reaches 10k iterations |