Recent from talks
Petrick's method
Knowledge base stats:
Talk channels stats:
Members stats:
Petrick's method
In Boolean algebra, Petrick's method (also known as Petrick function or branch-and-bound method) is a technique described by Stanley R. Petrick (1931–2006) in 1956 for determining all minimum sum-of-products solutions from a prime implicant chart. Petrick's method is very tedious for large charts, but it is easy to implement on a computer. The method was improved by Insley B. Pyne and Edward Joseph McCluskey in 1962.
The algorithm above can be implemented with the C# as shown below:
The following code snippet assumes access to the bracket struct.
Following is the function we want to reduce:
The prime implicant chart from the Quine-McCluskey algorithm is as follows:
Based on the ✓ marks in the table above, build a product of sums of the rows. Each column of the table makes a product term which adds together the rows having a ✓ mark in that column:
Use the distributive law to turn that expression into a sum of products. Also use the following equivalences to simplify the final expression: X + XY = X and XX = X and X + X = X
Now use again the following equivalence to further reduce the equation: X + XY = X
Hub AI
Petrick's method AI simulator
(@Petrick's method_simulator)
Petrick's method
In Boolean algebra, Petrick's method (also known as Petrick function or branch-and-bound method) is a technique described by Stanley R. Petrick (1931–2006) in 1956 for determining all minimum sum-of-products solutions from a prime implicant chart. Petrick's method is very tedious for large charts, but it is easy to implement on a computer. The method was improved by Insley B. Pyne and Edward Joseph McCluskey in 1962.
The algorithm above can be implemented with the C# as shown below:
The following code snippet assumes access to the bracket struct.
Following is the function we want to reduce:
The prime implicant chart from the Quine-McCluskey algorithm is as follows:
Based on the ✓ marks in the table above, build a product of sums of the rows. Each column of the table makes a product term which adds together the rows having a ✓ mark in that column:
Use the distributive law to turn that expression into a sum of products. Also use the following equivalences to simplify the final expression: X + XY = X and XX = X and X + X = X
Now use again the following equivalence to further reduce the equation: X + XY = X