An open API service indexing awesome lists of open source software.

https://github.com/supermarcel10/javasatsolver

Algorithms project for City University Y1 IN1002.
https://github.com/supermarcel10/javasatsolver

academic-project boolean-satisfiability learning-project prototype sat-solver

Last synced: about 1 year ago
JSON representation

Algorithms project for City University Y1 IN1002.

Awesome Lists containing this project

README

          

# Java SAT Solver

This repository is a SAT Solver implemented in Java, developed as a coursework project for City University's Algorithms module (IN1002).

## Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

### Prerequisites

- Java JDK 19 or above (Prior versions may work, but have not been tested).

### Installation


  1. Clone the repository using:

    git clone https://github.com/Supermarcel10/JavaSATSolver.git

  2. Navigate to the project directory:

    cd JavaSATSolver

  3. Compile the Java files:

    javac *.java

### Usage

To run the SAT Solver, execute the following command:
java Main

## DPLL Algorithm

This SAT Solver utilises the Davis–Putnam–Logemann–Loveland (DPLL) algorithm to determine the satisfiability of a propositional logic formula.

## Contributing

Feel free to fork the project and submit your contributions via pull requests.
This project is nowhere near the best efficiency it could be, so feel free to improve it!

## License

This project is licensed under the [MIT Licence](https://github.com/Supermarcel10/JavaSATSolver/blob/master/LICENSE).