Calculates the minimization of a boolean expression using the Quine-McCluskey algorithm.
const min = Chalkboard.bool.minimize("x & y | x & z", ["x", "y", "z"]); // Returns "x & (y | z)" Copy
const min = Chalkboard.bool.minimize("x & y | x & z", ["x", "y", "z"]); // Returns "x & (y | z)"
The boolean expression
An array of variable names (order matters)
Calculates the minimization of a boolean expression using the Quine-McCluskey algorithm.
Example