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: 3 months ago
JSON representation
A program in c++ used to simplify expressions using Karnaugh Map.
- Host: GitHub
- URL: https://github.com/ghost---shadow/karnaugh-map-simplifier
- Owner: Ghost---Shadow
- License: mit
- Created: 2015-07-10T12:30:48.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2022-11-14T12:39:06.000Z (over 2 years ago)
- Last Synced: 2025-04-14T21:09:40.937Z (3 months ago)
- Topics: command-line, karnaugh-map
- Language: C++
- Size: 9.77 KB
- Stars: 1
- Watchers: 3
- Forks: 3
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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