Jurnal Ilmu Komputer dan Matematika
Vol 4, No 1 (2023): JURNAL ILMU KOMPUTER DAN MATEMATIKA

PEWARNAAN GRAF PADA PETA WILAYAH KOTA SEMARANG DENGAN ALGORITMA GREEDY

Ade Ima Afifa Himayati (Universitas Muhammadiyah Kudus)
Erik Maurten Firdaus (Universitas Muhammadiyah Kudus)
Findasari Findasari (Universitas Muhammadiyah Kudus)



Article Info

Publish Date
18 Feb 2023

Abstract

The coloring of the sub-districts in the city of Semarang can be optimized using the Greedy algorithm. Districts are assumed to be points and lines to connect two adjacent areas. Greedy Algorithm is a form of algorithm that has been developed to solve the problem of graph coloring so that it produces minimal colors that must be used without any bordering areas using the same color. Greedy's algorithm uses a set of color candidates and initialization of the solution is made. Staining is done at the first point with the greatest degree. Furthermore, the appropriateness of the color is checked with the principle that no neighboring points have the same color. The resulting colors are members of the solution set. The coloring process is repeated so that all points are colored. Regional coloring in the city of Semarang with the Greedy algorithm resulted in 4 colors as the minimum color solution used to color all sub-districts in the city of Semarang

Copyrights © 2023






Journal Info

Abbrev

jikoma

Publisher

Subject

Computer Science & IT Control & Systems Engineering Mathematics

Description

Jurnal Ilmu Komputer dan Matematika berfokus pada publikasi hasil penelitian dan kajian ilmiah yang mengembangkan teori, metode, dan aplikasi di bidang ilmu komputer dan matematika, baik secara fundamental maupun terapan. Ruang lingkup jurnal mencakup algoritma dan struktur data, kecerdasan buatan ...