This is part two of the lab, where you go from NNF to CNF. See previous lab for an overview.
There is no new starter code. Continue with the same code you had last time.
Here’s a rough guide on how to proceed.
NormalForms.fromNNFtoCNF()
. This is probably the trickiest part of this two part lab. Carefully test your implementation.NormalForms.toCNF()
. Given everything you’ve already implemented, this should be easy.