Skip to content

Npuzzle and Nqueen solver with hill climbing and simulated annealing algorithms

Notifications You must be signed in to change notification settings

navidadelpour/npuzzle-nqueen-solver

Repository files navigation

npuzzle-nqueen-solver

Npuzzle and Nqueen solver with hill climbing and simulated annealing algorithms

Tips for running the project

you can run project by giving some arguments

  1. how many test do you want of problem
  2. what problem do you want to solve
  3. define n parameters (number of queens or puzzles)
  4. define algorithm by giving it's function name (hillClimbing or simulatedAnnealing)
  5. define tracing by giving true or false

Example:

python LocalSearchAlgorithms.py 10 NPuzzleProblem 8 simulatedAnnealing true

defualt execution without parameters will do 12 test for each problem and algorithms without tracing

python LocalSearchAlgorithms.py

Releases

No releases published

Packages

No packages published

Languages