Implementation of the Greedy Algorithm for Coloring Graph Based on Four-Color Theorem

Abstract Views: 929   PDF Downloads: 605

Authors

  • Nurul Maulida Surbakti Universitas Negeri Medan, Medan
  • Fanny Ramadhani Universitas Negeri Medan, Medan

DOI:

https://doi.org/10.56211/sudo.v1i4.157

Keywords:

Graph Coloring; Graph; Greedy

Abstract

Graph theory is an advanced subject of mathematics that can be utilized to resolve issues in science. Graph coloring is one of the most well-known problems for determining the color of the map. The map that will be colored here is one of the 21 sub-districts that cover the Medan regency. In order to color the map, a graph model of the map must first be created. The use of a greedy algorithm is one technique to find a graph's minimal color. The dual graph with 21 vertices and 45 edges will be what we extract from the map. Based on the greedy method that has been used, just four colors—blue, green, red, and yellow—are found as the smallest number of colors, with each city that borders another having a distinct color. The Python computer language is used to get the map coloring results using the greedy technique.

Downloads

Download data is not yet available.

References

Y. Meraihi, “A Modified binary crow search algorithm for solving the graph coloring problem,” International Journal of Applied Evolutionary Computation 11(2) pp 28-46, 2020.

M. A. C. Tolentino, G. R. J. Eugenio and M. P. Ruiz, “On the Total Set Chromatic Number of Graphs”, Theory and Applications of Graphs, Vol. 9: Iss. 2, Article 5, 2022.

T N Sipayung et al, “Implementation of the greedy algorithm on graph coloring, “J. Phys.: Conf. Ser. 2157 012003, 2022.

Vilém Kmuníček, “Minimal proof of the four-color theorem”, IOSR Journal of Mathematics, Volume 18, Issue 2 Ser. II, 2022.

Chen H and Zhou P, “An ant algorithm for solving the four-coloring map problem”, Ninth International Conference on Natural Computation (ICNC) IEEE pp 491-495 doi:10119/ICNC.2013.6818026, 2013.

Alamsyah & Putri, I. T. “Penerapan Algoritma Greedy Pada Mesin Penjual Otomatis (Vending Machine)”. Scientific Journal of Informatics, 1(2), 201-209. 2014.

Paryati, P. “Optimasi Strategi Algoritma Greedy untuk Menyelesaikan Permasalahan Knapsack 0-1“. In Seminar Nasional Informatika (SEMNASIF), 1(1):101-110. 2015.

Isnaeni, S., Supriyono, S., & Arini, F. Y. “Implementasi Algoritma Pemrograma Dinamik Untuk Penyelesaian Persoalan Knapsack Dalam Penentuan Keuntungan Optimal Penjualan Barang. Unnes Journal of Mathematics, 3(2): 97-102. 2014.

Malik, A., Sharma, A., Saroha, V. “Greedy Algorithm”. International Journal of Scientific and Research Publications, 3(8):1. 2013.

Faisal. „Penerapan Metode Greedy Knapsack Dalam Menentukan Komposisi Buah Pada Masalah Keranjang”. Jurnal Teknologi Informasi, 10(2): 32-37. 2014.

Downloads

Article History

Submitted: 05-12-2022
Published: 10-12-2022
Pages: 178-182

PlumX Metrics

How to Cite

Surbakti, N. M., & Ramadhani, F. (2022). Implementation of the Greedy Algorithm for Coloring Graph Based on Four-Color Theorem. Sudo Jurnal Teknik Informatika, 1(4), 178–182. https://doi.org/10.56211/sudo.v1i4.157