SlideShare une entreprise Scribd logo
1  sur  7
NP-Completeness
DESIGN & ANALYSIS OF ALGORITHMS
By Muhammad Adeel
What is NP-Complete ?
 In computational complexity theory, a decision problem is NP-
complete when it is both in NP and NP-hard.
 The set of NP-complete problems is often denoted by NP-
C or NPC.
NP-Complete
 “NP-Complete comes from: Nondeterministic Polynomial
 Complete means “Solve one, Solve them all”
 There are more NP-Complete problems than provably
intractable problems
Tractability
 Polynomial time (p-time)= O(nk), where
n is the input size and k is a constant
 Problems solvable in p-time are
considered tractable
 NP-complete problems have no known
p-time solution, considered intractable
NP-Complete Problem Techniques
 The list below contains some well-known problems that are NP-complete
when expressed as decision problems.
 Boolean Satisfiability Problem
 Traveling Salesman Problem
 Hamiltonian Path Problem
 Clique Problem
 Graph Coloring Problem
Boolean Satisfiability Problem
 Take a Boolean circuit with a single output node and ask whether there is
an assignment of values to the circuit’s inputs so that the output is “1”
 Boolean, or propositional-logic expressions are built from variables and
constants using the operators AND, OR, and NOT.
Thank You….

Contenu connexe

Tendances

Np completeness h4
Np completeness  h4Np completeness  h4
Np completeness h4Rajendran
 
lecture 27
lecture 27lecture 27
lecture 27sajinsc
 
Np Completeness
Np CompletenessNp Completeness
Np CompletenessRajan Shah
 
NP Complete Problems
NP Complete ProblemsNP Complete Problems
NP Complete ProblemsNikhil Joshi
 
Algorithm Design and Complexity - Course 6
Algorithm Design and Complexity - Course 6Algorithm Design and Complexity - Course 6
Algorithm Design and Complexity - Course 6Traian Rebedea
 
P, NP, NP-Complete, and NP-Hard
P, NP, NP-Complete, and NP-HardP, NP, NP-Complete, and NP-Hard
P, NP, NP-Complete, and NP-HardAnimesh Chaturvedi
 
Introduction to NP Completeness
Introduction to NP CompletenessIntroduction to NP Completeness
Introduction to NP CompletenessGene Moo Lee
 
lecture 29
lecture 29lecture 29
lecture 29sajinsc
 
Algorithm_NP-Completeness Proof
Algorithm_NP-Completeness ProofAlgorithm_NP-Completeness Proof
Algorithm_NP-Completeness ProofIm Rafid
 
A comprehensive view on P vs NP
A comprehensive view on P vs NPA comprehensive view on P vs NP
A comprehensive view on P vs NPAbhay Pai
 
Automatski - NP-Complete - TSP - Travelling Salesman Problem Solved in O(N^4)
Automatski - NP-Complete - TSP - Travelling Salesman Problem Solved in O(N^4)Automatski - NP-Complete - TSP - Travelling Salesman Problem Solved in O(N^4)
Automatski - NP-Complete - TSP - Travelling Salesman Problem Solved in O(N^4)Aditya Yadav
 
lecture 30
lecture 30lecture 30
lecture 30sajinsc
 

Tendances (20)

Np completeness h4
Np completeness  h4Np completeness  h4
Np completeness h4
 
Np complete
Np completeNp complete
Np complete
 
Np completeness
Np completenessNp completeness
Np completeness
 
lecture 27
lecture 27lecture 27
lecture 27
 
Np complete
Np completeNp complete
Np complete
 
Np Completeness
Np CompletenessNp Completeness
Np Completeness
 
NP Complete Problems
NP Complete ProblemsNP Complete Problems
NP Complete Problems
 
Np hard
Np hardNp hard
Np hard
 
Algorithm Design and Complexity - Course 6
Algorithm Design and Complexity - Course 6Algorithm Design and Complexity - Course 6
Algorithm Design and Complexity - Course 6
 
Daa notes 3
Daa notes 3Daa notes 3
Daa notes 3
 
P, NP, NP-Complete, and NP-Hard
P, NP, NP-Complete, and NP-HardP, NP, NP-Complete, and NP-Hard
P, NP, NP-Complete, and NP-Hard
 
Introduction to NP Completeness
Introduction to NP CompletenessIntroduction to NP Completeness
Introduction to NP Completeness
 
lecture 29
lecture 29lecture 29
lecture 29
 
Algorithm_NP-Completeness Proof
Algorithm_NP-Completeness ProofAlgorithm_NP-Completeness Proof
Algorithm_NP-Completeness Proof
 
NP Complete Problems in Graph Theory
NP Complete Problems in Graph TheoryNP Complete Problems in Graph Theory
NP Complete Problems in Graph Theory
 
np complete
np completenp complete
np complete
 
A comprehensive view on P vs NP
A comprehensive view on P vs NPA comprehensive view on P vs NP
A comprehensive view on P vs NP
 
NP completeness
NP completenessNP completeness
NP completeness
 
Automatski - NP-Complete - TSP - Travelling Salesman Problem Solved in O(N^4)
Automatski - NP-Complete - TSP - Travelling Salesman Problem Solved in O(N^4)Automatski - NP-Complete - TSP - Travelling Salesman Problem Solved in O(N^4)
Automatski - NP-Complete - TSP - Travelling Salesman Problem Solved in O(N^4)
 
lecture 30
lecture 30lecture 30
lecture 30
 

En vedette

Catalan number edit
Catalan number editCatalan number edit
Catalan number editsusuksak
 
Figuras literarias
Figuras literariasFiguras literarias
Figuras literariasKaren Guerra
 
コイルのスパイスモデル
コイルのスパイスモデルコイルのスパイスモデル
コイルのスパイスモデルTsuyoshi Horigome
 
Smart Home, Smart Engineering
Smart Home, Smart Engineering Smart Home, Smart Engineering
Smart Home, Smart Engineering Mistral Solutions
 
Twitter - potencjał narzędziowy
Twitter - potencjał narzędziowyTwitter - potencjał narzędziowy
Twitter - potencjał narzędziowySebastian Umiński
 
Chan presentation final
Chan presentation finalChan presentation final
Chan presentation finalDaniel Chan
 
Wang - A practical model for curricular integration of information literacy i...
Wang - A practical model for curricular integration of information literacy i...Wang - A practical model for curricular integration of information literacy i...
Wang - A practical model for curricular integration of information literacy i...IL Group (CILIP Information Literacy Group)
 
Quiz families march 2105 quiz
Quiz families march 2105 quizQuiz families march 2105 quiz
Quiz families march 2105 quizArun Anantharaman
 
AUS_101 Syllabus, Spring 2009
AUS_101 Syllabus, Spring 2009AUS_101 Syllabus, Spring 2009
AUS_101 Syllabus, Spring 2009Dennis Lewis, PhD
 
Universidad nacional de chimborazo
Universidad nacional de chimborazoUniversidad nacional de chimborazo
Universidad nacional de chimborazoBanesa Ruiz
 
Grafico diario del dax perfomance index para el 10 04-2013
Grafico diario del dax perfomance index para el 10 04-2013Grafico diario del dax perfomance index para el 10 04-2013
Grafico diario del dax perfomance index para el 10 04-2013Experiencia Trading
 
Prueba de portada
Prueba de portadaPrueba de portada
Prueba de portadapatricio
 

En vedette (19)

Catalan number presentation2
Catalan number presentation2Catalan number presentation2
Catalan number presentation2
 
Catalan number edit
Catalan number editCatalan number edit
Catalan number edit
 
Catalan Numbers
Catalan NumbersCatalan Numbers
Catalan Numbers
 
Vertex cover Problem
Vertex cover ProblemVertex cover Problem
Vertex cover Problem
 
Bresenham circle
Bresenham circleBresenham circle
Bresenham circle
 
Figuras literarias
Figuras literariasFiguras literarias
Figuras literarias
 
コイルのスパイスモデル
コイルのスパイスモデルコイルのスパイスモデル
コイルのスパイスモデル
 
Smart Home, Smart Engineering
Smart Home, Smart Engineering Smart Home, Smart Engineering
Smart Home, Smart Engineering
 
Twitter - potencjał narzędziowy
Twitter - potencjał narzędziowyTwitter - potencjał narzędziowy
Twitter - potencjał narzędziowy
 
Fetch apiについて
Fetch apiについてFetch apiについて
Fetch apiについて
 
Chan presentation final
Chan presentation finalChan presentation final
Chan presentation final
 
POS_Slide_Show
POS_Slide_ShowPOS_Slide_Show
POS_Slide_Show
 
Wang - A practical model for curricular integration of information literacy i...
Wang - A practical model for curricular integration of information literacy i...Wang - A practical model for curricular integration of information literacy i...
Wang - A practical model for curricular integration of information literacy i...
 
Recycle
Recycle Recycle
Recycle
 
Quiz families march 2105 quiz
Quiz families march 2105 quizQuiz families march 2105 quiz
Quiz families march 2105 quiz
 
AUS_101 Syllabus, Spring 2009
AUS_101 Syllabus, Spring 2009AUS_101 Syllabus, Spring 2009
AUS_101 Syllabus, Spring 2009
 
Universidad nacional de chimborazo
Universidad nacional de chimborazoUniversidad nacional de chimborazo
Universidad nacional de chimborazo
 
Grafico diario del dax perfomance index para el 10 04-2013
Grafico diario del dax perfomance index para el 10 04-2013Grafico diario del dax perfomance index para el 10 04-2013
Grafico diario del dax perfomance index para el 10 04-2013
 
Prueba de portada
Prueba de portadaPrueba de portada
Prueba de portada
 

Similaire à Np completeness-Design and Analysis of Algorithms

NP-Completeness-myppt.pptx
NP-Completeness-myppt.pptxNP-Completeness-myppt.pptx
NP-Completeness-myppt.pptxSanchayKedia2
 
teteuueieoeofhfhfjffkkkfkfflflflhshssnnvmvvmvv,v,v,nnxmxxm
teteuueieoeofhfhfjffkkkfkfflflflhshssnnvmvvmvv,v,v,nnxmxxmteteuueieoeofhfhfjffkkkfkfflflflhshssnnvmvvmvv,v,v,nnxmxxm
teteuueieoeofhfhfjffkkkfkfflflflhshssnnvmvvmvv,v,v,nnxmxxmzoobiarana76
 
UNIT-V.pdf daa unit material 5 th unit ppt
UNIT-V.pdf daa unit material 5 th unit pptUNIT-V.pdf daa unit material 5 th unit ppt
UNIT-V.pdf daa unit material 5 th unit pptJyoReddy9
 
Bt0080 fundamentals of algorithms2
Bt0080 fundamentals of algorithms2Bt0080 fundamentals of algorithms2
Bt0080 fundamentals of algorithms2Techglyphs
 
Basic_concepts_NP_Hard_NP_Complete.pdf
Basic_concepts_NP_Hard_NP_Complete.pdfBasic_concepts_NP_Hard_NP_Complete.pdf
Basic_concepts_NP_Hard_NP_Complete.pdfArivukkarasu Dhanapal
 
Ads unit 3 ppt
Ads unit 3 pptAds unit 3 ppt
Ads unit 3 pptpraveena p
 
P np & np completeness
P np & np completenessP np & np completeness
P np & np completenessAnwal Mirza
 
Skiena algorithm 2007 lecture19 introduction to np complete
Skiena algorithm 2007 lecture19 introduction to np completeSkiena algorithm 2007 lecture19 introduction to np complete
Skiena algorithm 2007 lecture19 introduction to np completezukun
 
Webinar : P, NP, NP-Hard , NP - Complete problems
Webinar : P, NP, NP-Hard , NP - Complete problems Webinar : P, NP, NP-Hard , NP - Complete problems
Webinar : P, NP, NP-Hard , NP - Complete problems Ziyauddin Shaik
 

Similaire à Np completeness-Design and Analysis of Algorithms (20)

DAA.pdf
DAA.pdfDAA.pdf
DAA.pdf
 
DAA.pdf
DAA.pdfDAA.pdf
DAA.pdf
 
NP-Completeness-myppt.pptx
NP-Completeness-myppt.pptxNP-Completeness-myppt.pptx
NP-Completeness-myppt.pptx
 
AA ppt9107
AA ppt9107AA ppt9107
AA ppt9107
 
PNP.pptx
PNP.pptxPNP.pptx
PNP.pptx
 
PNP.pptx
PNP.pptxPNP.pptx
PNP.pptx
 
teteuueieoeofhfhfjffkkkfkfflflflhshssnnvmvvmvv,v,v,nnxmxxm
teteuueieoeofhfhfjffkkkfkfflflflhshssnnvmvvmvv,v,v,nnxmxxmteteuueieoeofhfhfjffkkkfkfflflflhshssnnvmvvmvv,v,v,nnxmxxm
teteuueieoeofhfhfjffkkkfkfflflflhshssnnvmvvmvv,v,v,nnxmxxm
 
Complexity theory
Complexity theory Complexity theory
Complexity theory
 
UNIT-V.pdf daa unit material 5 th unit ppt
UNIT-V.pdf daa unit material 5 th unit pptUNIT-V.pdf daa unit material 5 th unit ppt
UNIT-V.pdf daa unit material 5 th unit ppt
 
Bt0080 fundamentals of algorithms2
Bt0080 fundamentals of algorithms2Bt0080 fundamentals of algorithms2
Bt0080 fundamentals of algorithms2
 
Basic_concepts_NP_Hard_NP_Complete.pdf
Basic_concepts_NP_Hard_NP_Complete.pdfBasic_concepts_NP_Hard_NP_Complete.pdf
Basic_concepts_NP_Hard_NP_Complete.pdf
 
Np hard
Np hardNp hard
Np hard
 
Ads unit 3 ppt
Ads unit 3 pptAds unit 3 ppt
Ads unit 3 ppt
 
P np & np completeness
P np & np completenessP np & np completeness
P np & np completeness
 
Daa chapter10
Daa chapter10Daa chapter10
Daa chapter10
 
Skiena algorithm 2007 lecture19 introduction to np complete
Skiena algorithm 2007 lecture19 introduction to np completeSkiena algorithm 2007 lecture19 introduction to np complete
Skiena algorithm 2007 lecture19 introduction to np complete
 
UNIT-V.ppt
UNIT-V.pptUNIT-V.ppt
UNIT-V.ppt
 
Webinar : P, NP, NP-Hard , NP - Complete problems
Webinar : P, NP, NP-Hard , NP - Complete problems Webinar : P, NP, NP-Hard , NP - Complete problems
Webinar : P, NP, NP-Hard , NP - Complete problems
 
UNIT -IV DAA.pdf
UNIT  -IV DAA.pdfUNIT  -IV DAA.pdf
UNIT -IV DAA.pdf
 
Chap12 slides
Chap12 slidesChap12 slides
Chap12 slides
 

Plus de adeel990

Artificial intelligence and Fuzzy Logic
Artificial intelligence and Fuzzy Logic Artificial intelligence and Fuzzy Logic
Artificial intelligence and Fuzzy Logic adeel990
 
PHP Hypertext Preprocessor
PHP Hypertext PreprocessorPHP Hypertext Preprocessor
PHP Hypertext Preprocessoradeel990
 
CRM - Customer Relationship Managemennt
CRM - Customer Relationship Managemennt CRM - Customer Relationship Managemennt
CRM - Customer Relationship Managemennt adeel990
 
Pakistan Rich in Natural Resources But Poor Management
Pakistan Rich in Natural Resources But Poor Management Pakistan Rich in Natural Resources But Poor Management
Pakistan Rich in Natural Resources But Poor Management adeel990
 
Apple - Steve Jobs
Apple - Steve Jobs Apple - Steve Jobs
Apple - Steve Jobs adeel990
 
Civil liberties and Child Labour
Civil liberties and Child Labour Civil liberties and Child Labour
Civil liberties and Child Labour adeel990
 
Illuminati, rothschild family
Illuminati, rothschild familyIlluminati, rothschild family
Illuminati, rothschild familyadeel990
 
Objectification of women in advertisments
Objectification of women in advertismentsObjectification of women in advertisments
Objectification of women in advertismentsadeel990
 
jQuery - Web Engineering
jQuery - Web Engineering jQuery - Web Engineering
jQuery - Web Engineering adeel990
 

Plus de adeel990 (9)

Artificial intelligence and Fuzzy Logic
Artificial intelligence and Fuzzy Logic Artificial intelligence and Fuzzy Logic
Artificial intelligence and Fuzzy Logic
 
PHP Hypertext Preprocessor
PHP Hypertext PreprocessorPHP Hypertext Preprocessor
PHP Hypertext Preprocessor
 
CRM - Customer Relationship Managemennt
CRM - Customer Relationship Managemennt CRM - Customer Relationship Managemennt
CRM - Customer Relationship Managemennt
 
Pakistan Rich in Natural Resources But Poor Management
Pakistan Rich in Natural Resources But Poor Management Pakistan Rich in Natural Resources But Poor Management
Pakistan Rich in Natural Resources But Poor Management
 
Apple - Steve Jobs
Apple - Steve Jobs Apple - Steve Jobs
Apple - Steve Jobs
 
Civil liberties and Child Labour
Civil liberties and Child Labour Civil liberties and Child Labour
Civil liberties and Child Labour
 
Illuminati, rothschild family
Illuminati, rothschild familyIlluminati, rothschild family
Illuminati, rothschild family
 
Objectification of women in advertisments
Objectification of women in advertismentsObjectification of women in advertisments
Objectification of women in advertisments
 
jQuery - Web Engineering
jQuery - Web Engineering jQuery - Web Engineering
jQuery - Web Engineering
 

Dernier

GBSN - Microbiology (Unit 1)
GBSN - Microbiology (Unit 1)GBSN - Microbiology (Unit 1)
GBSN - Microbiology (Unit 1)Areesha Ahmad
 
Pests of cotton_Borer_Pests_Binomics_Dr.UPR.pdf
Pests of cotton_Borer_Pests_Binomics_Dr.UPR.pdfPests of cotton_Borer_Pests_Binomics_Dr.UPR.pdf
Pests of cotton_Borer_Pests_Binomics_Dr.UPR.pdfPirithiRaju
 
Digital Dentistry.Digital Dentistryvv.pptx
Digital Dentistry.Digital Dentistryvv.pptxDigital Dentistry.Digital Dentistryvv.pptx
Digital Dentistry.Digital Dentistryvv.pptxMohamedFarag457087
 
Locating and isolating a gene, FISH, GISH, Chromosome walking and jumping, te...
Locating and isolating a gene, FISH, GISH, Chromosome walking and jumping, te...Locating and isolating a gene, FISH, GISH, Chromosome walking and jumping, te...
Locating and isolating a gene, FISH, GISH, Chromosome walking and jumping, te...Silpa
 
module for grade 9 for distance learning
module for grade 9 for distance learningmodule for grade 9 for distance learning
module for grade 9 for distance learninglevieagacer
 
SAMASTIPUR CALL GIRL 7857803690 LOW PRICE ESCORT SERVICE
SAMASTIPUR CALL GIRL 7857803690  LOW PRICE  ESCORT SERVICESAMASTIPUR CALL GIRL 7857803690  LOW PRICE  ESCORT SERVICE
SAMASTIPUR CALL GIRL 7857803690 LOW PRICE ESCORT SERVICEayushi9330
 
FAIRSpectra - Enabling the FAIRification of Spectroscopy and Spectrometry
FAIRSpectra - Enabling the FAIRification of Spectroscopy and SpectrometryFAIRSpectra - Enabling the FAIRification of Spectroscopy and Spectrometry
FAIRSpectra - Enabling the FAIRification of Spectroscopy and SpectrometryAlex Henderson
 
Grade 7 - Lesson 1 - Microscope and Its Functions
Grade 7 - Lesson 1 - Microscope and Its FunctionsGrade 7 - Lesson 1 - Microscope and Its Functions
Grade 7 - Lesson 1 - Microscope and Its FunctionsOrtegaSyrineMay
 
COST ESTIMATION FOR A RESEARCH PROJECT.pptx
COST ESTIMATION FOR A RESEARCH PROJECT.pptxCOST ESTIMATION FOR A RESEARCH PROJECT.pptx
COST ESTIMATION FOR A RESEARCH PROJECT.pptxFarihaAbdulRasheed
 
Vip profile Call Girls In Lonavala 9748763073 For Genuine Sex Service At Just...
Vip profile Call Girls In Lonavala 9748763073 For Genuine Sex Service At Just...Vip profile Call Girls In Lonavala 9748763073 For Genuine Sex Service At Just...
Vip profile Call Girls In Lonavala 9748763073 For Genuine Sex Service At Just...Monika Rani
 
Conjugation, transduction and transformation
Conjugation, transduction and transformationConjugation, transduction and transformation
Conjugation, transduction and transformationAreesha Ahmad
 
Justdial Call Girls In Indirapuram, Ghaziabad, 8800357707 Escorts Service
Justdial Call Girls In Indirapuram, Ghaziabad, 8800357707 Escorts ServiceJustdial Call Girls In Indirapuram, Ghaziabad, 8800357707 Escorts Service
Justdial Call Girls In Indirapuram, Ghaziabad, 8800357707 Escorts Servicemonikaservice1
 
Proteomics: types, protein profiling steps etc.
Proteomics: types, protein profiling steps etc.Proteomics: types, protein profiling steps etc.
Proteomics: types, protein profiling steps etc.Silpa
 
Forensic Biology & Its biological significance.pdf
Forensic Biology & Its biological significance.pdfForensic Biology & Its biological significance.pdf
Forensic Biology & Its biological significance.pdfrohankumarsinghrore1
 
Call Girls Ahmedabad +917728919243 call me Independent Escort Service
Call Girls Ahmedabad +917728919243 call me Independent Escort ServiceCall Girls Ahmedabad +917728919243 call me Independent Escort Service
Call Girls Ahmedabad +917728919243 call me Independent Escort Serviceshivanisharma5244
 
Bacterial Identification and Classifications
Bacterial Identification and ClassificationsBacterial Identification and Classifications
Bacterial Identification and ClassificationsAreesha Ahmad
 
Sector 62, Noida Call girls :8448380779 Model Escorts | 100% verified
Sector 62, Noida Call girls :8448380779 Model Escorts | 100% verifiedSector 62, Noida Call girls :8448380779 Model Escorts | 100% verified
Sector 62, Noida Call girls :8448380779 Model Escorts | 100% verifiedDelhi Call girls
 
chemical bonding Essentials of Physical Chemistry2.pdf
chemical bonding Essentials of Physical Chemistry2.pdfchemical bonding Essentials of Physical Chemistry2.pdf
chemical bonding Essentials of Physical Chemistry2.pdfTukamushabaBismark
 
Molecular markers- RFLP, RAPD, AFLP, SNP etc.
Molecular markers- RFLP, RAPD, AFLP, SNP etc.Molecular markers- RFLP, RAPD, AFLP, SNP etc.
Molecular markers- RFLP, RAPD, AFLP, SNP etc.Silpa
 
GBSN - Biochemistry (Unit 1)
GBSN - Biochemistry (Unit 1)GBSN - Biochemistry (Unit 1)
GBSN - Biochemistry (Unit 1)Areesha Ahmad
 

Dernier (20)

GBSN - Microbiology (Unit 1)
GBSN - Microbiology (Unit 1)GBSN - Microbiology (Unit 1)
GBSN - Microbiology (Unit 1)
 
Pests of cotton_Borer_Pests_Binomics_Dr.UPR.pdf
Pests of cotton_Borer_Pests_Binomics_Dr.UPR.pdfPests of cotton_Borer_Pests_Binomics_Dr.UPR.pdf
Pests of cotton_Borer_Pests_Binomics_Dr.UPR.pdf
 
Digital Dentistry.Digital Dentistryvv.pptx
Digital Dentistry.Digital Dentistryvv.pptxDigital Dentistry.Digital Dentistryvv.pptx
Digital Dentistry.Digital Dentistryvv.pptx
 
Locating and isolating a gene, FISH, GISH, Chromosome walking and jumping, te...
Locating and isolating a gene, FISH, GISH, Chromosome walking and jumping, te...Locating and isolating a gene, FISH, GISH, Chromosome walking and jumping, te...
Locating and isolating a gene, FISH, GISH, Chromosome walking and jumping, te...
 
module for grade 9 for distance learning
module for grade 9 for distance learningmodule for grade 9 for distance learning
module for grade 9 for distance learning
 
SAMASTIPUR CALL GIRL 7857803690 LOW PRICE ESCORT SERVICE
SAMASTIPUR CALL GIRL 7857803690  LOW PRICE  ESCORT SERVICESAMASTIPUR CALL GIRL 7857803690  LOW PRICE  ESCORT SERVICE
SAMASTIPUR CALL GIRL 7857803690 LOW PRICE ESCORT SERVICE
 
FAIRSpectra - Enabling the FAIRification of Spectroscopy and Spectrometry
FAIRSpectra - Enabling the FAIRification of Spectroscopy and SpectrometryFAIRSpectra - Enabling the FAIRification of Spectroscopy and Spectrometry
FAIRSpectra - Enabling the FAIRification of Spectroscopy and Spectrometry
 
Grade 7 - Lesson 1 - Microscope and Its Functions
Grade 7 - Lesson 1 - Microscope and Its FunctionsGrade 7 - Lesson 1 - Microscope and Its Functions
Grade 7 - Lesson 1 - Microscope and Its Functions
 
COST ESTIMATION FOR A RESEARCH PROJECT.pptx
COST ESTIMATION FOR A RESEARCH PROJECT.pptxCOST ESTIMATION FOR A RESEARCH PROJECT.pptx
COST ESTIMATION FOR A RESEARCH PROJECT.pptx
 
Vip profile Call Girls In Lonavala 9748763073 For Genuine Sex Service At Just...
Vip profile Call Girls In Lonavala 9748763073 For Genuine Sex Service At Just...Vip profile Call Girls In Lonavala 9748763073 For Genuine Sex Service At Just...
Vip profile Call Girls In Lonavala 9748763073 For Genuine Sex Service At Just...
 
Conjugation, transduction and transformation
Conjugation, transduction and transformationConjugation, transduction and transformation
Conjugation, transduction and transformation
 
Justdial Call Girls In Indirapuram, Ghaziabad, 8800357707 Escorts Service
Justdial Call Girls In Indirapuram, Ghaziabad, 8800357707 Escorts ServiceJustdial Call Girls In Indirapuram, Ghaziabad, 8800357707 Escorts Service
Justdial Call Girls In Indirapuram, Ghaziabad, 8800357707 Escorts Service
 
Proteomics: types, protein profiling steps etc.
Proteomics: types, protein profiling steps etc.Proteomics: types, protein profiling steps etc.
Proteomics: types, protein profiling steps etc.
 
Forensic Biology & Its biological significance.pdf
Forensic Biology & Its biological significance.pdfForensic Biology & Its biological significance.pdf
Forensic Biology & Its biological significance.pdf
 
Call Girls Ahmedabad +917728919243 call me Independent Escort Service
Call Girls Ahmedabad +917728919243 call me Independent Escort ServiceCall Girls Ahmedabad +917728919243 call me Independent Escort Service
Call Girls Ahmedabad +917728919243 call me Independent Escort Service
 
Bacterial Identification and Classifications
Bacterial Identification and ClassificationsBacterial Identification and Classifications
Bacterial Identification and Classifications
 
Sector 62, Noida Call girls :8448380779 Model Escorts | 100% verified
Sector 62, Noida Call girls :8448380779 Model Escorts | 100% verifiedSector 62, Noida Call girls :8448380779 Model Escorts | 100% verified
Sector 62, Noida Call girls :8448380779 Model Escorts | 100% verified
 
chemical bonding Essentials of Physical Chemistry2.pdf
chemical bonding Essentials of Physical Chemistry2.pdfchemical bonding Essentials of Physical Chemistry2.pdf
chemical bonding Essentials of Physical Chemistry2.pdf
 
Molecular markers- RFLP, RAPD, AFLP, SNP etc.
Molecular markers- RFLP, RAPD, AFLP, SNP etc.Molecular markers- RFLP, RAPD, AFLP, SNP etc.
Molecular markers- RFLP, RAPD, AFLP, SNP etc.
 
GBSN - Biochemistry (Unit 1)
GBSN - Biochemistry (Unit 1)GBSN - Biochemistry (Unit 1)
GBSN - Biochemistry (Unit 1)
 

Np completeness-Design and Analysis of Algorithms

  • 1. NP-Completeness DESIGN & ANALYSIS OF ALGORITHMS By Muhammad Adeel
  • 2. What is NP-Complete ?  In computational complexity theory, a decision problem is NP- complete when it is both in NP and NP-hard.  The set of NP-complete problems is often denoted by NP- C or NPC.
  • 3. NP-Complete  “NP-Complete comes from: Nondeterministic Polynomial  Complete means “Solve one, Solve them all”  There are more NP-Complete problems than provably intractable problems
  • 4. Tractability  Polynomial time (p-time)= O(nk), where n is the input size and k is a constant  Problems solvable in p-time are considered tractable  NP-complete problems have no known p-time solution, considered intractable
  • 5. NP-Complete Problem Techniques  The list below contains some well-known problems that are NP-complete when expressed as decision problems.  Boolean Satisfiability Problem  Traveling Salesman Problem  Hamiltonian Path Problem  Clique Problem  Graph Coloring Problem
  • 6. Boolean Satisfiability Problem  Take a Boolean circuit with a single output node and ask whether there is an assignment of values to the circuit’s inputs so that the output is “1”  Boolean, or propositional-logic expressions are built from variables and constants using the operators AND, OR, and NOT.