Exetools  

Go Back   Exetools > General > Community Tools

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 06-29-2024, 21:17
CodeCracker CodeCracker is offline
VIP
 
Join Date: Jun 2011
Posts: 625
Rept. Given: 38
Rept. Rcvd 555 Times in 210 Posts
Thanks Given: 33
Thanks Rcvd at 2,936 Times in 501 Posts
CodeCracker Reputation: 500-699 CodeCracker Reputation: 500-699 CodeCracker Reputation: 500-699 CodeCracker Reputation: 500-699 CodeCracker Reputation: 500-699 CodeCracker Reputation: 500-699
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.
Attached Files
File Type: rar EquationSimplifier_Exe&Src.rar (67.1 KB, 14 views)
Reply With Quote
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  
Old 06-30-2024, 17:45
chants chants is offline
VIP
 
Join Date: Jul 2016
Posts: 821
Rept. Given: 46
Rept. Rcvd 50 Times in 31 Posts
Thanks Given: 730
Thanks Rcvd at 1,136 Times in 527 Posts
chants Reputation: 51
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.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT +8. The time now is 03:26.


Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX, chessgod101
( 1998 - 2025 )