1 / 47

Lecture 2-4 More examples

Explore Vertex Cover NP-completeness proof, 3DM example, and yacht owner puzzle. Understand Planar 3SAT, Strongly Planar CNF, 2-3SAT.

amcdaniel
Download Presentation

Lecture 2-4 More examples

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Lecture 2-4 More examples

  2. Integer Programming TSP Knapsack VC HC 3DM Partition Planar 3SAT 3SAT SAT

  3. Vertex Cover • Given a graph G=(V,E), find a minimum subset C of vertices such that every edge is incident to a vertex in C.

  4. Decision Version • Given a graph G=(V,E) and positive integer k < |V|, is there a vertex cover C of size at most k?.

  5. Vertex-Cover is NP-complete Proof.

  6. HC is NP-complete

  7. 3DM

  8. Example of 3DM • Messrs. Spinnaker, Buoy, Luff, Gybe, and Windward are yacht owners. Each has a daughter, and each has named his yacht after the daughter of one of the others. • Mr. Spinnaker’s yacht, the Iris, is named after Mr. Buoy’s daughter. Mr. Buoy’s own yacht is the Daffodil; Mr. Windward’s yacht is the Jonquil; Mr. Gybe’s, the Anthea. • Daffodil is the daughter of the owner of the yacht which is named after Mr. Luff’s daughter. Mr. Windward’s daughter is named Lalage. • Who is Jonquil’s father?

  9. Trash Can ( )

  10. Partition

  11. Subsum

  12. S=33333333333333333333 1111111111111111111111 1 1

  13. Puzzle Answer

  14. Planar 3SAT

  15. Planar CNF

  16. Strongly Planar CNF

  17. A strongly planar CNF must bea planar CNF!!!

  18. 2-3CNF

  19. Planar 2-3SAT

  20. Strongly Planar 2-3SAT

  21. Planar 3SAT

  22. Want to show

More Related