Coder Social home page Coder Social logo

quine-mccluskey's Introduction

Quine-McCluskey

This is the Python 3 implementation of Quine McCluskey algorithm to minimize logical expressions.

This Python script takes minterms and don't care terms(if any) as input and then produces the reduced expression as output.

It displays the whole process of calculating the result.

It displays the minterm groups, Prime Implicant chart and Essential prime implicants while calculating the output.

It uses Petrick's Method to calculate minimized expression from prime implicants chart.

Quine McCluskey Method: https://en.wikipedia.org/wiki/Quine%E2%80%93McCluskey_algorithm

Petrick's Method: https://en.wikipedia.org/wiki/Petrick%27s_method

Live Demo of Quine McCluskey Python script: https://repl.it/@SumanAdhikari/Quine-McCluskey-Algorithm

I created this script just for fun. So, there might be some errors. Feel free to report them to me.

Here is the scrrenshot of an example:

Quine McCluskey Algoritm Solved Example

Hope you enjoy it :)

Note:

A Spanish version of the program is also available now which is initially translated by @fernando170 (https://github.com/int-main/Quine-McCluskey/commits?author=fernando170):

https://github.com/int-main/Quine-McCluskey/tree/master/SpanishVersion

quine-mccluskey's People

Contributors

int-main avatar fernando170 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.