![]() |
#1
|
|||
|
|||
EquationSimplifier
EquationSimplifier: simplify boolean equations - calculate POS (Product of Sums) and SOP (Sums of Products) using Quine–McCluskey algorithm
The default setting is with "This is the order" unmarked - this will calculate "Risk priority number" from the boolean equation with order of operations If "This is the order" is unmarked will think that this is the order of operations as in specified equation. "Truth Table" button shows truth table of variables + result. "Equation equality" button will check if two boolean equations are equal. |
The Following User Gave Reputation+1 to CodeCracker For This Useful Post: | ||
niculaita (06-29-2024) |
The Following 8 Users Say Thank You to CodeCracker For This Useful Post: | ||
Apuromafo (06-30-2024), Doit (07-01-2024), MarcElBichon (06-29-2024), Mendax47 (07-01-2024), niculaita (06-29-2024), wilson bibe (06-30-2024), Zeokat (06-30-2024), zeuscane (07-03-2024) |
#2
|
|||
|
|||
I recommend sympy for this if doing it at scale, it has the Espresso Logic Minimizer builtin to it, and in a few lines of code you can query for SoP or PoS forms. Heuristic logic minimizes are important as the Boolean function increases in variables as Quine McClusky is essentially brute force. Also consider renaming to BoolesnEquationSimplifier.
|
![]() |
Thread Tools | |
Display Modes | |
|
|