Skip to content

Latest commit

 

History

History
19 lines (16 loc) · 382 Bytes

README.md

File metadata and controls

19 lines (16 loc) · 382 Bytes

Nqueen problem solving and process time comparison between Hill Climbing and Genetic Algorithm

Usage

Hill Climbing Algorithm

python nqueen.py -hc

Genetic Algorithm

python nqueen.py -ga

For print detailed results

python nqueen.py -hc -p
python nqueen.py -ga -p

Default board size is 8, default population size is 10 for genetic algorithm