Journal of Digital Technology and Computer Science
Vol. 3 No. 2 (2026): April 2026

Comparative Analysis of Structural-Based Reduction and Brute Force Algorithms for Determining Metric Dimensions in Tree Graphs

Afifah Farhanah Akadji (UniveComputer Engineering Study Program, Faculty of Engineering, Universitas Negeri Gorontalo, Indonesiarsitas Negeri Gorontalo)
Abdul Gani F. S. H. Lihawa (Computer Engineering Study Program, Faculty of Engineering, Universitas Negeri Gorontalo, Indonesia)
Maharani Eka (Psychology Study Program, Faculty of Education, Universitas Negeri Gorontalo, Indonesia)
Karina A. Sasmito (Statistics Study Program, Faculty of Mathematics and Natural Sciences, Universitas Negeri Gorontalo, Indonesia)
Hendy Prasetyo (Computer Engineering Study Program, Faculty of Engineering, Universitas Negeri Gorontalo, Indonesia)
Andi Sitti Dwi Auliyani (Electrical Engineering Study Program, Faculty of Engineering, Universitas Negeri Gorontalo, Indonesia)



Article Info

Publish Date
25 May 2026

Abstract

Purpose – This study aims to overcome the computational inefficiency of the Brute Force method in determining the metric dimension of tree graphs by evaluating the performance of a Structural-Based Reduction Algorithm. The study addresses the high computational cost of exhaustive search approaches and proposes a more efficient structural alternative. Methods – This research applies a comparative computational experimental approach by implementing both the Brute Force method and the proposed reduction algorithm on non-isomorphic tree graphs obtained from the McKay dataset. The algorithm is based on Slater’s theorem regarding leaves and stem vertices in tree graphs. Instead of testing all possible vertex combinations, the algorithm utilizes structural relationships to determine the metric dimension more efficiently. The comparison focuses on result consistency and computational execution time. Findings – Experimental results show that the proposed reduction algorithm achieves 100% accuracy, producing metric dimension values identical to those generated by the Brute Force method for all tested graphs. In terms of efficiency, the proposed method performs significantly better. For a tree graph with 20 vertices, the Brute Force method requires approximately 79 seconds, while the reduction algorithm completes the computation in only 0.005 seconds. Research implications – The findings indicate that structural analysis can reduce computational complexity in determining metric dimensions of tree graphs. However, the current approach is limited to acyclic graph structures and may require modification for cyclic graphs. Originality – This study introduces a deterministic and scalable alternative for determining metric dimensions in tree graphs through structural reduction principles.

Copyrights © 2026






Journal Info

Abbrev

DTCS

Publisher

Subject

Computer Science & IT Decision Sciences, Operations Research & Management Electrical & Electronics Engineering Engineering

Description

Digital Technology and Socio-Technical Innovation, including the design, development, implementation, and evaluation of digital solutions, platforms, applications, and infrastructures that support modern socio-technical systems, digital transformation, and technology-enabled services. Computer ...