SlideShare una empresa de Scribd logo
Coloraci´on de grafos
Israel Buitr´on D´amaso
ibuitron@computacion.cs.cinvestav.mx
CINVESTAV-IPN
12 de agosto de 2014
Israel Buitr´on Coloraci´on de grafos
Coloraci´on de grafos
Objetivo
Asociar un color a los v´ertices de un grafo, de manera que dos
v´ertices vecinos no tengan el mismo color.
Israel Buitr´on Coloraci´on de grafos
Conjunto independiente
Objetivo
Dado un grafo simple G = (V , A), obtener un conjunto S ⊆ V
tal que para cualquier v, u ∈ S, vu ∈ A, es decir, v y u no son
adyacentes.
Israel Buitr´on Coloraci´on de grafos
Algoritmo de coloraci´on
Entrada: Grafo G = (V , A)
Salida : Coloraci´on C con i colores
begin
i := 1;
while G = ∅ do
Computar el m´aximo conjunto independiente Si ⊆ V (G);
Colorear Si ∈ C con i;
Borrar de G los v´ertices en Si ;
i := i + 1;
end
end
Israel Buitr´on Coloraci´on de grafos
Instancia de ejemplo
V = {0, 1, 2, 3, 4, 5, 6, 7, 8}
A =



{0, 1}, {0, 5}, {0, 8},
{1, 2}, {2, 6}, {3, 4},
{3, 8}, {4, 5}, {5, 7}



Israel Buitr´on Coloraci´on de grafos
Instancia de ejemplo
V = {0, 1, 2, 3, 4, 5, 6, 7, 8}
A =



{0, 1}, {0, 5}, {0, 8},
{1, 2}, {2, 6}, {3, 4},
{3, 8}, {4, 5}, {5, 7}



Israel Buitr´on Coloraci´on de grafos

Más contenido relacionado

Último

Cap 35 Resistencia del Organismo a la Infeccion II INMUNIDAD.pptx
Cap 35 Resistencia  del Organismo a la Infeccion II INMUNIDAD.pptxCap 35 Resistencia  del Organismo a la Infeccion II INMUNIDAD.pptx
Cap 35 Resistencia del Organismo a la Infeccion II INMUNIDAD.pptxMailyAses
 
TRIPTICO COVID 2024 recomendaciones .pdf
TRIPTICO COVID 2024 recomendaciones .pdfTRIPTICO COVID 2024 recomendaciones .pdf
TRIPTICO COVID 2024 recomendaciones .pdfKarolineRuzCarrera
 
Función y clasificación de los aminoácidos.pptx
Función y clasificación de los aminoácidos.pptxFunción y clasificación de los aminoácidos.pptx
Función y clasificación de los aminoácidos.pptxDalilaGuitron
 
Proyecto socio productivo y social uptaeb
Proyecto socio productivo y social  uptaebProyecto socio productivo y social  uptaeb
Proyecto socio productivo y social uptaebkatyuska7
 
Algebra Lineal - Eduardo Espinoza Ramos.pdf
Algebra Lineal - Eduardo Espinoza Ramos.pdfAlgebra Lineal - Eduardo Espinoza Ramos.pdf
Algebra Lineal - Eduardo Espinoza Ramos.pdfssuser924464
 
Fisiopatología lesiones más frecuente en la columna vertebral.pdf
Fisiopatología lesiones más frecuente en la columna vertebral.pdfFisiopatología lesiones más frecuente en la columna vertebral.pdf
Fisiopatología lesiones más frecuente en la columna vertebral.pdfKarlaRamos209860
 
6. LESION RENAL AGUDA tomado de medicina interna de harrison
6. LESION RENAL AGUDA  tomado de medicina interna de harrison6. LESION RENAL AGUDA  tomado de medicina interna de harrison
6. LESION RENAL AGUDA tomado de medicina interna de harrisonDouglasOcon
 
MYCROPLASMOSIS AVIAR(MYCOPLASMA GALLISEPTICUM) (711063).pptx
MYCROPLASMOSIS AVIAR(MYCOPLASMA GALLISEPTICUM) (711063).pptxMYCROPLASMOSIS AVIAR(MYCOPLASMA GALLISEPTICUM) (711063).pptx
MYCROPLASMOSIS AVIAR(MYCOPLASMA GALLISEPTICUM) (711063).pptxALEXISBARBOSAARENIZ
 
Ssesion de aprendizaje Cinematica-MRU - Fisica
Ssesion de aprendizaje Cinematica-MRU - FisicaSsesion de aprendizaje Cinematica-MRU - Fisica
Ssesion de aprendizaje Cinematica-MRU - FisicaKarenMeybyRiveraTorr
 
10 razones para estudiar filosofia1.pptx
10 razones para estudiar filosofia1.pptx10 razones para estudiar filosofia1.pptx
10 razones para estudiar filosofia1.pptx2024311042
 
Los lípidos, estructura química y función
Los lípidos, estructura  química y funciónLos lípidos, estructura  química y función
Los lípidos, estructura química y funciónvmvillegasco
 
Estudio de la respiración celular en diferentes tipos de tejidos .pptx
Estudio de la respiración celular en diferentes tipos de tejidos .pptxEstudio de la respiración celular en diferentes tipos de tejidos .pptx
Estudio de la respiración celular en diferentes tipos de tejidos .pptxJoseAlbertoArmenta
 
La teoría de formación de Patricia Benner es una explicación acerca de cómo e...
La teoría de formación de Patricia Benner es una explicación acerca de cómo e...La teoría de formación de Patricia Benner es una explicación acerca de cómo e...
La teoría de formación de Patricia Benner es una explicación acerca de cómo e...FernandaDillanes1
 
Modonesi, M. - El Principio Antagonista [2016].pdf
Modonesi, M. - El Principio Antagonista [2016].pdfModonesi, M. - El Principio Antagonista [2016].pdf
Modonesi, M. - El Principio Antagonista [2016].pdffrank0071
 
Trayectoria histórica, exponentes y perspectivas del pensamiento sistémico: u...
Trayectoria histórica, exponentes y perspectivas del pensamiento sistémico: u...Trayectoria histórica, exponentes y perspectivas del pensamiento sistémico: u...
Trayectoria histórica, exponentes y perspectivas del pensamiento sistémico: u...Ximena Salazar
 
PRESENTACIÓN PENSAMIENTO CRÍTICO CAMPO FORMATIVO.pdf
PRESENTACIÓN PENSAMIENTO CRÍTICO CAMPO FORMATIVO.pdfPRESENTACIÓN PENSAMIENTO CRÍTICO CAMPO FORMATIVO.pdf
PRESENTACIÓN PENSAMIENTO CRÍTICO CAMPO FORMATIVO.pdfIngridEdithPradoFlor
 
La oratoria forense utilizando cada una de las tres reglas especiales y donde...
La oratoria forense utilizando cada una de las tres reglas especiales y donde...La oratoria forense utilizando cada una de las tres reglas especiales y donde...
La oratoria forense utilizando cada una de las tres reglas especiales y donde...FreddyTuston1
 
1891 - 14 de Julio - Rohrmann recibió una patente alemana (n° 64.209) para s...
1891 - 14 de Julio - Rohrmann recibió una patente alemana (n° 64.209)  para s...1891 - 14 de Julio - Rohrmann recibió una patente alemana (n° 64.209)  para s...
1891 - 14 de Julio - Rohrmann recibió una patente alemana (n° 64.209) para s...Champs Elysee Roldan
 
The day after Roswell.Libro de Philip J. Corso y William J. Birnes
The day after Roswell.Libro de Philip J. Corso y William J. BirnesThe day after Roswell.Libro de Philip J. Corso y William J. Birnes
The day after Roswell.Libro de Philip J. Corso y William J. BirnesMaria87434
 
cccccccccccccccccccccMemorias_dengue.pdf
cccccccccccccccccccccMemorias_dengue.pdfcccccccccccccccccccccMemorias_dengue.pdf
cccccccccccccccccccccMemorias_dengue.pdfestefaniagomezotavo
 

Último (20)

Cap 35 Resistencia del Organismo a la Infeccion II INMUNIDAD.pptx
Cap 35 Resistencia  del Organismo a la Infeccion II INMUNIDAD.pptxCap 35 Resistencia  del Organismo a la Infeccion II INMUNIDAD.pptx
Cap 35 Resistencia del Organismo a la Infeccion II INMUNIDAD.pptx
 
TRIPTICO COVID 2024 recomendaciones .pdf
TRIPTICO COVID 2024 recomendaciones .pdfTRIPTICO COVID 2024 recomendaciones .pdf
TRIPTICO COVID 2024 recomendaciones .pdf
 
Función y clasificación de los aminoácidos.pptx
Función y clasificación de los aminoácidos.pptxFunción y clasificación de los aminoácidos.pptx
Función y clasificación de los aminoácidos.pptx
 
Proyecto socio productivo y social uptaeb
Proyecto socio productivo y social  uptaebProyecto socio productivo y social  uptaeb
Proyecto socio productivo y social uptaeb
 
Algebra Lineal - Eduardo Espinoza Ramos.pdf
Algebra Lineal - Eduardo Espinoza Ramos.pdfAlgebra Lineal - Eduardo Espinoza Ramos.pdf
Algebra Lineal - Eduardo Espinoza Ramos.pdf
 
Fisiopatología lesiones más frecuente en la columna vertebral.pdf
Fisiopatología lesiones más frecuente en la columna vertebral.pdfFisiopatología lesiones más frecuente en la columna vertebral.pdf
Fisiopatología lesiones más frecuente en la columna vertebral.pdf
 
6. LESION RENAL AGUDA tomado de medicina interna de harrison
6. LESION RENAL AGUDA  tomado de medicina interna de harrison6. LESION RENAL AGUDA  tomado de medicina interna de harrison
6. LESION RENAL AGUDA tomado de medicina interna de harrison
 
MYCROPLASMOSIS AVIAR(MYCOPLASMA GALLISEPTICUM) (711063).pptx
MYCROPLASMOSIS AVIAR(MYCOPLASMA GALLISEPTICUM) (711063).pptxMYCROPLASMOSIS AVIAR(MYCOPLASMA GALLISEPTICUM) (711063).pptx
MYCROPLASMOSIS AVIAR(MYCOPLASMA GALLISEPTICUM) (711063).pptx
 
Ssesion de aprendizaje Cinematica-MRU - Fisica
Ssesion de aprendizaje Cinematica-MRU - FisicaSsesion de aprendizaje Cinematica-MRU - Fisica
Ssesion de aprendizaje Cinematica-MRU - Fisica
 
10 razones para estudiar filosofia1.pptx
10 razones para estudiar filosofia1.pptx10 razones para estudiar filosofia1.pptx
10 razones para estudiar filosofia1.pptx
 
Los lípidos, estructura química y función
Los lípidos, estructura  química y funciónLos lípidos, estructura  química y función
Los lípidos, estructura química y función
 
Estudio de la respiración celular en diferentes tipos de tejidos .pptx
Estudio de la respiración celular en diferentes tipos de tejidos .pptxEstudio de la respiración celular en diferentes tipos de tejidos .pptx
Estudio de la respiración celular en diferentes tipos de tejidos .pptx
 
La teoría de formación de Patricia Benner es una explicación acerca de cómo e...
La teoría de formación de Patricia Benner es una explicación acerca de cómo e...La teoría de formación de Patricia Benner es una explicación acerca de cómo e...
La teoría de formación de Patricia Benner es una explicación acerca de cómo e...
 
Modonesi, M. - El Principio Antagonista [2016].pdf
Modonesi, M. - El Principio Antagonista [2016].pdfModonesi, M. - El Principio Antagonista [2016].pdf
Modonesi, M. - El Principio Antagonista [2016].pdf
 
Trayectoria histórica, exponentes y perspectivas del pensamiento sistémico: u...
Trayectoria histórica, exponentes y perspectivas del pensamiento sistémico: u...Trayectoria histórica, exponentes y perspectivas del pensamiento sistémico: u...
Trayectoria histórica, exponentes y perspectivas del pensamiento sistémico: u...
 
PRESENTACIÓN PENSAMIENTO CRÍTICO CAMPO FORMATIVO.pdf
PRESENTACIÓN PENSAMIENTO CRÍTICO CAMPO FORMATIVO.pdfPRESENTACIÓN PENSAMIENTO CRÍTICO CAMPO FORMATIVO.pdf
PRESENTACIÓN PENSAMIENTO CRÍTICO CAMPO FORMATIVO.pdf
 
La oratoria forense utilizando cada una de las tres reglas especiales y donde...
La oratoria forense utilizando cada una de las tres reglas especiales y donde...La oratoria forense utilizando cada una de las tres reglas especiales y donde...
La oratoria forense utilizando cada una de las tres reglas especiales y donde...
 
1891 - 14 de Julio - Rohrmann recibió una patente alemana (n° 64.209) para s...
1891 - 14 de Julio - Rohrmann recibió una patente alemana (n° 64.209)  para s...1891 - 14 de Julio - Rohrmann recibió una patente alemana (n° 64.209)  para s...
1891 - 14 de Julio - Rohrmann recibió una patente alemana (n° 64.209) para s...
 
The day after Roswell.Libro de Philip J. Corso y William J. Birnes
The day after Roswell.Libro de Philip J. Corso y William J. BirnesThe day after Roswell.Libro de Philip J. Corso y William J. Birnes
The day after Roswell.Libro de Philip J. Corso y William J. Birnes
 
cccccccccccccccccccccMemorias_dengue.pdf
cccccccccccccccccccccMemorias_dengue.pdfcccccccccccccccccccccMemorias_dengue.pdf
cccccccccccccccccccccMemorias_dengue.pdf
 

Destacado

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by HubspotMarius Sescu
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTExpeed Software
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsPixeldarts
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 

Destacado (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

Coloring

  • 1. Coloraci´on de grafos Israel Buitr´on D´amaso ibuitron@computacion.cs.cinvestav.mx CINVESTAV-IPN 12 de agosto de 2014 Israel Buitr´on Coloraci´on de grafos
  • 2. Coloraci´on de grafos Objetivo Asociar un color a los v´ertices de un grafo, de manera que dos v´ertices vecinos no tengan el mismo color. Israel Buitr´on Coloraci´on de grafos
  • 3. Conjunto independiente Objetivo Dado un grafo simple G = (V , A), obtener un conjunto S ⊆ V tal que para cualquier v, u ∈ S, vu ∈ A, es decir, v y u no son adyacentes. Israel Buitr´on Coloraci´on de grafos
  • 4. Algoritmo de coloraci´on Entrada: Grafo G = (V , A) Salida : Coloraci´on C con i colores begin i := 1; while G = ∅ do Computar el m´aximo conjunto independiente Si ⊆ V (G); Colorear Si ∈ C con i; Borrar de G los v´ertices en Si ; i := i + 1; end end Israel Buitr´on Coloraci´on de grafos
  • 5. Instancia de ejemplo V = {0, 1, 2, 3, 4, 5, 6, 7, 8} A =    {0, 1}, {0, 5}, {0, 8}, {1, 2}, {2, 6}, {3, 4}, {3, 8}, {4, 5}, {5, 7}    Israel Buitr´on Coloraci´on de grafos
  • 6. Instancia de ejemplo V = {0, 1, 2, 3, 4, 5, 6, 7, 8} A =    {0, 1}, {0, 5}, {0, 8}, {1, 2}, {2, 6}, {3, 4}, {3, 8}, {4, 5}, {5, 7}    Israel Buitr´on Coloraci´on de grafos