GithubHelp home page GithubHelp logo

manel15279 / n-queens-solver Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 6.67 MB

A Java implementation of solving the N-Queens problem using various search algorithms, including BFS, DFS, A* with different heuristics, genetic algorithm, and particle swarm optimization PSO. The project utilizes Java and JavaFX for the user interface.

Java 95.70% CSS 4.30%
java javafx astar-algorithm bfs dfs genetic-algorithm nqueens-problem pso-algorithm

n-queens-solver's Introduction

N-Queens Solver โ™•

Overview

The N-Queens Solver is a Java application that provides solutions to the N-Queens problem using various search algorithms. The project utilizes Java and JavaFX for the user interface, allowing users to interactively visualize the solving process.

Interface Screenshot

Features

  • Solve the N-Queens problem with different board sizes.
  • Implementations of BFS, DFS, A* with different heuristics, genetic algorithm, and particle swarm optimization.
  • Visualize the solving process with JavaFX.
  • Performance comparison of different search algorithms and optimization techniques.
  • Easy-to-use interface for experimenting with different algorithms and board configurations.

Usage

  1. Run the NQueensApplication.java file to launch the application.
  2. Choose the desired board size and algorithm from the options provided.
  3. Click the "Solve" button to initiate the solving process.
  4. Visualize the progress and results on the chessboard displayed.

Dependencies

  • Java JDK
  • JavaFX

n-queens-solver's People

Contributors

manel15279 avatar zakariayousfi avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.