A program in c++ used to simplify expressions using Karnaugh Map.
Enter the sum of products or product of sum expression separated by spaces. Sample input: 0 2 4 8
- Set whether the Map is for sum of products or product of sum using the
isSOP(bool)
- Call the
parseLine(std::string)
and enter a string such as "0 2 4 8" - Use the map as an argument for the Simplifier's constructor.
- Call the
getSimplifiedExpression()
to get the answer.
See main.cpp for more details.
MIT License