Coder Social home page Coder Social logo

boolean-functions-simplifier's Introduction

Digital Project 1 - Minimizing boolean expressions using Quine McCluskey Algorithm

The project is about implementing the Quine McLuskey Algorithm to minimize boolean expression and generate Prime Implicants and Essential Prime Implicants.

The output of the project is demonstated in the screenshot:

Folder Structure:

We have 2 classes: QmAlgo and Implicant.

  • Implicant: Has the definitions of an implicant with all the necessary details (binary format, decimal format, implicant in characters e.g. (AB'C)).
  • QmAlgo: Have all the implementation details of the algorithm, along with printing the output.

We also have the main.cpp file, where we take the input and validate it and call the algorithm through the QmAlgo class.

As we believe in testing, we created a TestCasesGenerators.cpp file, to generate many random test cases so to validate that our algorithm is working as intented, and you can verify this by checking the input and output generated through the code (Input: testValid.in, Output: testValidOutput.out).

Group Members:

  • Islam Mahdy: 900213579
  • Reem Said: 900201275
  • Gehad Ahmed: 900205068

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.