Skip to content

meisyarahd/crosswordpuzzle-GA

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CrossWord Puzzle using Genetic Algorithm

A solution to form crossword puzzle given a fixed grid using Genetic Algorithm

Crossword grids:

grid1

grid2

grid3

Chromosome Representation:

List of words formed by sequence of letters on the grid

Fitness function:

Penalty is added for each word not found in dictionary Fittest individual has the least penalty

Cross-over:

Replace a word from a parent with another parent's on the same position on the grid Done for both parents

Mutation:

Randomly choose a word from the offspring. Find suggested word to replace it, if available.

Generation survivor:

Elitism

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages