Skip to content

Supermarcel10/JavaSATSolver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Algorithms project for City University Y1 IN1002.

Topics

Resources

License

Stars

Watchers

Forks

Languages