1 / 5

P, NP, NP-hard

P, NP, NP-hard. P, NP, NP-hard diagram. NP. NP-hard. P. NP-complete. P, NP problems definitions. P = {L І з p(n), M (deterministic) solves L in p(n) time} NP = {L І з p(n), M (non-deterministic) solves L in p(n) time}. NP-hard, NP-complete problems definitions.

marek
Télécharger la présentation

P, NP, NP-hard

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. P, NP, NP-hard

  2. P, NP, NP-hard diagram NP NP-hard P NP-complete

  3. P, NP problems definitions • P = {L Ізp(n), M (deterministic) solves L in p(n) time} • NP = {L Ізp(n), M (non-deterministic) solves L in p(n) time}

  4. NP-hard, NP-complete problems definitions • L is NP-hard iffV Lx € NP: Lx ≤p L • L is NP-complete iff is NP-hard AND L € NP

  5. Demonstration • L1 ≤p L2 • L2 € NP • L1 is NP-hard => V Lx € NP: Lx ≤p L1 => Lx ≤p L2 => L2 is NP-hard NP-hard NP L1 P L2 NP-complete

More Related