Issue |
MATEC Web Conf.
Volume 348, 2021
The 2nd International Network of Biomaterials and Engineering Science (INBES’2021)
|
|
---|---|---|
Article Number | 01001 | |
Number of page(s) | 13 | |
DOI | https://doi.org/10.1051/matecconf/202134801001 | |
Published online | 17 November 2021 |
The Implementation of Kruskal’s Algorithm for Minimum Spanning Tree in a Graph
1 UPN “Veteran” Yogyakarta, Country Indonesia
2 Ibn Zohr University, Agadir, Country Marocco
Email: yaya_upn_cute@yahoo.com
Email: salahddine.krit@gmail.com
Kruskal’s Algorithm is an algorithm used to find the minimum spanning tree in graphical connectivity that provides the option to continue processing the least-weighted margins. In the Kruskal algorithm, ordering the weight of the ribs makes it easy to find the shortest path. This algorithm is independent in nature which will facilitate and improve path creation. Based on the results of the application system trials that have been carried out in testing and comparisons between the Kruskal algorithm and the Dijkstra algorithm, the following conclusions can be drawn: that a strength that is the existence of weight sorting will facilitate the search for the shortest path. And considering the characteristics of Kruskal’s independent algorithm, it will facilitate and improve the formation of the path. The weakness of the Kruskal algorithm is that if the number of nodes is very large, it will be slower than Dijkstra’s algorithm because it has to sort thousands of vertices first, then form a path.
Key words: Kruskal’s Algorithm / Spanning Tree
© The Authors, published by EDP Sciences, 2021
This is an Open Access article distributed under the terms of the Creative Commons Attribution License 4.0, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
Current usage metrics show cumulative count of Article Views (full-text article views including HTML views, PDF and ePub downloads, according to the available data) and Abstracts Views on Vision4Press platform.
Data correspond to usage on the plateform after 2015. The current usage metrics is available 48-96 hours after online publication and is updated daily on week days.
Initial download of the metrics may take a while.