Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/ghost---shadow/karnaugh-map-simplifier

A program in c++ used to simplify expressions using Karnaugh Map.
https://github.com/ghost---shadow/karnaugh-map-simplifier

command-line karnaugh-map

Last synced: 27 days ago
JSON representation

A program in c++ used to simplify expressions using Karnaugh Map.

Awesome Lists containing this project

README

        

# KarnaughMapSimplifier #
A program in c++ used to simplify expressions using Karnaugh Map.

## Using the binary executable ##
Enter the sum of products or product of sum expression separated by spaces.
Sample input: 0 2 4 8

## Using the Simplifier.cpp and Map.cpp ##
1. Set whether the Map is for sum of products or product of sum using the `isSOP(bool)`
2. Call the `parseLine(std::string)` and enter a string such as "0 2 4 8"
3. Use the map as an argument for the Simplifier's constructor.
4. Call the `getSimplifiedExpression()` to get the answer.

See main.cpp for more details.

## License ##
MIT License