SlideShare ist ein Scribd-Unternehmen logo
1 von 11
Maximum Clique Detection Algorithm Abhishek Kona (06 CO 05)  Nishkarsh Swarnkar (06 CO 42)
Problem Statement ,[object Object],[object Object]
The Algorithm ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
The Algorithm ,[object Object],[object Object],[object Object],[object Object]
The Algorithm ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Complexity ,[object Object],[object Object],[object Object],[object Object]
Example Q 3  = { i } = {3}. Perform procedure1    Clique  Q 3  = {3}. Size: 1.
Example Adjoinable vertex  v  of  Q 3 Adjoinable vertices of  Q 3 ∪{ v }   ρ( Q 3 ∪{ v }) 1 5, 6, 8, 9, 12  5 5 1, 7, 8, 11, 12 5 6 1, 9, 11, 12  4 7 5, 9, 11, 12  4 8 1, 5, 9, 11 4 9 1, 6, 7, 8, 11 5 11 5, 6, 7, 8, 9, 12  6 12 1, 5, 6, 7, 11  5
Example Adjoinable vertex  v  of  Q 3 Adjoinable vertices of  Q 3 ∪{ v }   ρ( Q 3 ∪{ v }) 5 7, 8, 12 3 6 9, 12 2 7 5, 9, 12 3 8 5, 9 2 9 6, 7, 8 3 12 5, 6, 7 3 Maximum  ρ( Q 3 ∪{ v }) = 6 for  v  = 11. Adjoin vertex 11 to  Q 3 .  Clique  Q 3  = {3, 11}. Size: 2.
Example Maximum  ρ( Q 3 ∪{ v }) = 3 for  v  = 5. Adjoin vertex 5 to  Q 3 .  Clique  Q 3  = {3, 5, 11}. Size: 3. Adjoinable vertex  v  of  Q 3 Adjoinable vertices of  Q 3 ∪{ v }   ρ( Q 3 ∪{ v }) 7 12 1 8 None 0 12 7 1 Maximum  ρ( Q 3 ∪{ v }) = 1 for  v  = 7. Adjoin vertex 7 to  Q 3 .   Clique  Q 3  = {3, 5, 7, 11}. Size: 4.
Example We obtain a maximal clique  Q 3  = {3, 5, 7, 11, 12} Adjoinable vertex  v  of  Q 3 Adjoinable vertices of  Q 3 ∪{ v }   ρ( Q 3 ∪{ v }) 12 None 0 Maximum  ρ( Q 3 ∪{ v }) = 0 for  v  = 12. Adjoin vertex 12 to  Q 3 .

Weitere ähnliche Inhalte

Was ist angesagt?

Automata theory - NFA to DFA Conversion
Automata theory - NFA to DFA ConversionAutomata theory - NFA to DFA Conversion
Automata theory - NFA to DFA ConversionAkila Krishnamoorthy
 
data structures and algorithms Unit 4
data structures and algorithms Unit 4data structures and algorithms Unit 4
data structures and algorithms Unit 4infanciaj
 
Solution of matlab chapter 1
Solution of matlab chapter 1Solution of matlab chapter 1
Solution of matlab chapter 1AhsanIrshad8
 
Mathematical Modelling of Electrical/Mechanical modellinng in MATLAB
Mathematical Modelling of Electrical/Mechanical modellinng in MATLABMathematical Modelling of Electrical/Mechanical modellinng in MATLAB
Mathematical Modelling of Electrical/Mechanical modellinng in MATLABCOMSATS Abbottabad
 
Fractional programming (A tool for optimization)
Fractional programming (A tool for optimization)Fractional programming (A tool for optimization)
Fractional programming (A tool for optimization)VARUN KUMAR
 
Skiena algorithm 2007 lecture15 backtracing
Skiena algorithm 2007 lecture15 backtracingSkiena algorithm 2007 lecture15 backtracing
Skiena algorithm 2007 lecture15 backtracingzukun
 
All fluids-assignments
All fluids-assignmentsAll fluids-assignments
All fluids-assignmentstelmanm
 
Mathematical Modelling of Electro-Mechanical System in Matlab
Mathematical Modelling of Electro-Mechanical System in MatlabMathematical Modelling of Electro-Mechanical System in Matlab
Mathematical Modelling of Electro-Mechanical System in MatlabCOMSATS Abbottabad
 
Automata theory - RE to DFA Conversion
Automata theory - RE to DFA ConversionAutomata theory - RE to DFA Conversion
Automata theory - RE to DFA ConversionAkila Krishnamoorthy
 
Analysis of Electro-Mechanical System
Analysis of Electro-Mechanical SystemAnalysis of Electro-Mechanical System
Analysis of Electro-Mechanical SystemCOMSATS Abbottabad
 
Automata theory - NFA ε to DFA Conversion
Automata theory - NFA ε to DFA ConversionAutomata theory - NFA ε to DFA Conversion
Automata theory - NFA ε to DFA ConversionAkila Krishnamoorthy
 
Radix sort concept
Radix sort conceptRadix sort concept
Radix sort conceptZeeshan Ali
 
A Note on Correlated Topic Models
A Note on Correlated Topic ModelsA Note on Correlated Topic Models
A Note on Correlated Topic ModelsTomonari Masada
 
lecture 22
lecture 22lecture 22
lecture 22sajinsc
 
lecture 20
lecture 20lecture 20
lecture 20sajinsc
 

Was ist angesagt? (19)

Automata theory - NFA to DFA Conversion
Automata theory - NFA to DFA ConversionAutomata theory - NFA to DFA Conversion
Automata theory - NFA to DFA Conversion
 
data structures and algorithms Unit 4
data structures and algorithms Unit 4data structures and algorithms Unit 4
data structures and algorithms Unit 4
 
Solution of matlab chapter 1
Solution of matlab chapter 1Solution of matlab chapter 1
Solution of matlab chapter 1
 
Mathematical Modelling of Electrical/Mechanical modellinng in MATLAB
Mathematical Modelling of Electrical/Mechanical modellinng in MATLABMathematical Modelling of Electrical/Mechanical modellinng in MATLAB
Mathematical Modelling of Electrical/Mechanical modellinng in MATLAB
 
Fractional programming (A tool for optimization)
Fractional programming (A tool for optimization)Fractional programming (A tool for optimization)
Fractional programming (A tool for optimization)
 
Skiena algorithm 2007 lecture15 backtracing
Skiena algorithm 2007 lecture15 backtracingSkiena algorithm 2007 lecture15 backtracing
Skiena algorithm 2007 lecture15 backtracing
 
All fluids-assignments
All fluids-assignmentsAll fluids-assignments
All fluids-assignments
 
Mathematical Modelling of Electro-Mechanical System in Matlab
Mathematical Modelling of Electro-Mechanical System in MatlabMathematical Modelling of Electro-Mechanical System in Matlab
Mathematical Modelling of Electro-Mechanical System in Matlab
 
Automata theory - RE to DFA Conversion
Automata theory - RE to DFA ConversionAutomata theory - RE to DFA Conversion
Automata theory - RE to DFA Conversion
 
Analysis of Electro-Mechanical System
Analysis of Electro-Mechanical SystemAnalysis of Electro-Mechanical System
Analysis of Electro-Mechanical System
 
Automata theory - NFA ε to DFA Conversion
Automata theory - NFA ε to DFA ConversionAutomata theory - NFA ε to DFA Conversion
Automata theory - NFA ε to DFA Conversion
 
Text s1 21
Text s1 21Text s1 21
Text s1 21
 
Radix sort concept
Radix sort conceptRadix sort concept
Radix sort concept
 
A Note on Correlated Topic Models
A Note on Correlated Topic ModelsA Note on Correlated Topic Models
A Note on Correlated Topic Models
 
Kruskal Algorithm
Kruskal AlgorithmKruskal Algorithm
Kruskal Algorithm
 
Merge Sort
Merge SortMerge Sort
Merge Sort
 
lecture 22
lecture 22lecture 22
lecture 22
 
lecture 20
lecture 20lecture 20
lecture 20
 
discrete-hmm
discrete-hmmdiscrete-hmm
discrete-hmm
 

Ähnlich wie Maximum clique detection algorithm

Important Cuts and (p,q)-clustering
Important Cuts and (p,q)-clusteringImportant Cuts and (p,q)-clustering
Important Cuts and (p,q)-clusteringASPAK2014
 
Skiena algorithm 2007 lecture20 satisfiability
Skiena algorithm 2007 lecture20 satisfiabilitySkiena algorithm 2007 lecture20 satisfiability
Skiena algorithm 2007 lecture20 satisfiabilityzukun
 
Gauss jordan and Guass elimination method
Gauss jordan and Guass elimination methodGauss jordan and Guass elimination method
Gauss jordan and Guass elimination methodMeet Nayak
 
Reduction of the small gain condition
Reduction of the small gain conditionReduction of the small gain condition
Reduction of the small gain conditionMKosmykov
 
Secure Domination in graphs
Secure Domination in graphsSecure Domination in graphs
Secure Domination in graphsMahesh Gadhwal
 
Data structure notes
Data structure notesData structure notes
Data structure notesanujab5
 
Unit 5 session 2 MinimumSpanningTrees.ppt
Unit 5 session 2 MinimumSpanningTrees.pptUnit 5 session 2 MinimumSpanningTrees.ppt
Unit 5 session 2 MinimumSpanningTrees.pptprithivr1
 
Gauss Seidel Method of Power Flow
Gauss Seidel Method of Power FlowGauss Seidel Method of Power Flow
Gauss Seidel Method of Power FlowYunusAhmad9
 
Unit 3- Greedy Method.pptx
Unit 3- Greedy Method.pptxUnit 3- Greedy Method.pptx
Unit 3- Greedy Method.pptxMaryJacob24
 
module4_dynamic programming_2022.pdf
module4_dynamic programming_2022.pdfmodule4_dynamic programming_2022.pdf
module4_dynamic programming_2022.pdfShiwani Gupta
 
parameterized complexity for graph Motif
parameterized complexity for graph Motifparameterized complexity for graph Motif
parameterized complexity for graph MotifAMR koura
 
Unit 3 greedy method
Unit 3  greedy methodUnit 3  greedy method
Unit 3 greedy methodMaryJacob24
 
Unit 3 - Greedy Method
Unit 3  - Greedy MethodUnit 3  - Greedy Method
Unit 3 - Greedy MethodMaryJacob24
 

Ähnlich wie Maximum clique detection algorithm (20)

Important Cuts and (p,q)-clustering
Important Cuts and (p,q)-clusteringImportant Cuts and (p,q)-clustering
Important Cuts and (p,q)-clustering
 
Skiena algorithm 2007 lecture20 satisfiability
Skiena algorithm 2007 lecture20 satisfiabilitySkiena algorithm 2007 lecture20 satisfiability
Skiena algorithm 2007 lecture20 satisfiability
 
Gauss jordan and Guass elimination method
Gauss jordan and Guass elimination methodGauss jordan and Guass elimination method
Gauss jordan and Guass elimination method
 
Reduction of the small gain condition
Reduction of the small gain conditionReduction of the small gain condition
Reduction of the small gain condition
 
Secure Domination in graphs
Secure Domination in graphsSecure Domination in graphs
Secure Domination in graphs
 
Data structure notes
Data structure notesData structure notes
Data structure notes
 
Unit 5 session 2 MinimumSpanningTrees.ppt
Unit 5 session 2 MinimumSpanningTrees.pptUnit 5 session 2 MinimumSpanningTrees.ppt
Unit 5 session 2 MinimumSpanningTrees.ppt
 
lec6.pptx
lec6.pptxlec6.pptx
lec6.pptx
 
Gauss Seidel Method of Power Flow
Gauss Seidel Method of Power FlowGauss Seidel Method of Power Flow
Gauss Seidel Method of Power Flow
 
factoring
factoringfactoring
factoring
 
Unit 3- Greedy Method.pptx
Unit 3- Greedy Method.pptxUnit 3- Greedy Method.pptx
Unit 3- Greedy Method.pptx
 
Graphs
GraphsGraphs
Graphs
 
Approx
ApproxApprox
Approx
 
Load_Flow.pptx
Load_Flow.pptxLoad_Flow.pptx
Load_Flow.pptx
 
QMC: Transition Workshop - Applying Quasi-Monte Carlo Methods to a Stochastic...
QMC: Transition Workshop - Applying Quasi-Monte Carlo Methods to a Stochastic...QMC: Transition Workshop - Applying Quasi-Monte Carlo Methods to a Stochastic...
QMC: Transition Workshop - Applying Quasi-Monte Carlo Methods to a Stochastic...
 
module4_dynamic programming_2022.pdf
module4_dynamic programming_2022.pdfmodule4_dynamic programming_2022.pdf
module4_dynamic programming_2022.pdf
 
parameterized complexity for graph Motif
parameterized complexity for graph Motifparameterized complexity for graph Motif
parameterized complexity for graph Motif
 
Unit 3 greedy method
Unit 3  greedy methodUnit 3  greedy method
Unit 3 greedy method
 
Unit 3 - Greedy Method
Unit 3  - Greedy MethodUnit 3  - Greedy Method
Unit 3 - Greedy Method
 
Ch2 2011 s
Ch2 2011 sCh2 2011 s
Ch2 2011 s
 

Maximum clique detection algorithm

  • 1. Maximum Clique Detection Algorithm Abhishek Kona (06 CO 05) Nishkarsh Swarnkar (06 CO 42)
  • 2.
  • 3.
  • 4.
  • 5.
  • 6.
  • 7. Example Q 3 = { i } = {3}. Perform procedure1   Clique Q 3 = {3}. Size: 1.
  • 8. Example Adjoinable vertex v of Q 3 Adjoinable vertices of Q 3 ∪{ v }   ρ( Q 3 ∪{ v }) 1 5, 6, 8, 9, 12  5 5 1, 7, 8, 11, 12 5 6 1, 9, 11, 12  4 7 5, 9, 11, 12  4 8 1, 5, 9, 11 4 9 1, 6, 7, 8, 11 5 11 5, 6, 7, 8, 9, 12  6 12 1, 5, 6, 7, 11  5
  • 9. Example Adjoinable vertex v of Q 3 Adjoinable vertices of Q 3 ∪{ v }   ρ( Q 3 ∪{ v }) 5 7, 8, 12 3 6 9, 12 2 7 5, 9, 12 3 8 5, 9 2 9 6, 7, 8 3 12 5, 6, 7 3 Maximum ρ( Q 3 ∪{ v }) = 6 for v = 11. Adjoin vertex 11 to Q 3 . Clique Q 3 = {3, 11}. Size: 2.
  • 10. Example Maximum ρ( Q 3 ∪{ v }) = 3 for v = 5. Adjoin vertex 5 to Q 3 . Clique Q 3 = {3, 5, 11}. Size: 3. Adjoinable vertex v of Q 3 Adjoinable vertices of Q 3 ∪{ v }   ρ( Q 3 ∪{ v }) 7 12 1 8 None 0 12 7 1 Maximum ρ( Q 3 ∪{ v }) = 1 for v = 7. Adjoin vertex 7 to Q 3 .  Clique Q 3 = {3, 5, 7, 11}. Size: 4.
  • 11. Example We obtain a maximal clique Q 3 = {3, 5, 7, 11, 12} Adjoinable vertex v of Q 3 Adjoinable vertices of Q 3 ∪{ v }   ρ( Q 3 ∪{ v }) 12 None 0 Maximum ρ( Q 3 ∪{ v }) = 0 for v = 12. Adjoin vertex 12 to Q 3 .