/K-map-solver

K map solver upto 4 variables, built using python

Primary LanguagePython

K-map-solver

How to use

You need to import the main function and pass on minterms and number of variables.

for eg- from HW2_2018363 import minFunc

print(minFunc('0,1 d 2',2))

======= You just need to import the main function and pass on minterms and number of variables.

for eg-

from HW2_2018363 import minFunc  
print(minFunc('0,1 d 2',2))  

That will do the work ;)

Code has vulnerabilities

This code is not general. It might fail on some cases :(