Question

Convert the propositional statements into Conjunctive Normal Form in JAVA. Use the algorithm given in this...

Convert the propositional statements into Conjunctive Normal Form in JAVA.

Use the algorithm given in this PDF:

http://swtv.kaist.ac.kr/courses/cs402-07/prop_logic4.pdf

The implementation must have the following classes

Solver.java: Contains the main solving method to solve a formula in conjunctive normal form. A formula is a LinkedList.

Clause.java : A clause represents disjunctions of literals. A clause is represented as a Hashmap which allows fast access to a literal with a given name.

Literal.java: A literal represents an atom that is either negated or not. An atom is basically a string of length one. If the atom is negated a prefix

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Answer: The given link shows some errors and it is not opening. The input data is also not clear. Explain me the need or output of your program clearly then only I can understand the problenm (Solver.java: Contains the main solving method to solve a formula in conjunctive normal form A formula is a LinkedList) So the formula is in conjunctive normal form that has to be converted to linkedlist???? Post me the details clearly Im a Pepper && Shes a PepperWere 1 Drink Dr Pepper &&Im Proud=> 1m a Pepper Hes a Pepper && Wer Shes a ers e All P eppers =>Youd Like to be a Pepper too er Im Proud es a Sample2 Wild Take=> Kids Laugh Face Shaped Like Mailbox && TongueJumps-Out=> Wild Take Mailbox && Cat Chasing-Mouse -Runs Into ox ormes 10?ous Runs Into Mailbox&& Cartoon Ca?=> Face Shaped Like Mailbox Runs Into Mailbox && Cartoon Cat>Tongue Jumps Out Cartoon && CatCartoon Cat

artoon Cat && Cartoon Mouse Cat Chasing Mouse Cartoon && Mouse> Cartoon Mouse Meow && Tabby && Happy-Pum Cat Mouse Mailbox Ca

Add a comment
Know the answer?
Add Answer to:
Convert the propositional statements into Conjunctive Normal Form in JAVA. Use the algorithm given in this...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT