A Computational Framework for Determining the Locating-Chromatic Number of Generalized Petersen Graphs
The locating-chromatic number is a graph invariant that combines proper vertex coloring and vertex identification through distance-based color codes. Determining this parameter is computationally challenging because a valid coloring must satisfy both coloring and vertex-distinguishing requirements. This paper presents a computational framework for determining the locating-chromatic number of generalized Petersen graphs . The framework is implemented in Python and employs exhaustive generation of candidate colorings, verification of the locating-coloring conditions, and computation of vertex color codes. Computational experiments were conducted on sixteen admissible generalized Petersen graph instances from the families , , , and . For each instance, we obtained the locating-chromatic number, a locating coloring, the corresponding color partition, and vertex color codes. The results indicate that all investigated instances in the families , , and have locatingchromatic number 4, while has locating-chromatic number 5. In addition, the computed values for and are 4, providing computational evidence that the previously reported characterization of may require further investigation. The framework provides computational data, locating colorings, and vertex color codes that may support future studies on generalized Petersen graphs.
Authors
- Asmiati Asmiati (ORCID: https://orcid.org/0000-0002-6716-0346)
- Agus Irawan (ORCID: https://orcid.org/0000-0002-4316-5337)
- Hidayatuloh Hidayatuloh
Institutions
- Sumatera Institute of Technology (ID)
- Universitas Muhammadiyah Pringsewu (ID)
Publication Details
- Journal
- Mathematics and Statistics
- Published
- 2026-12-01
- DOI
- https://doi.org/10.13189/ms.2026.140604
- Primary Topic
- Graph Labeling and Dimension Problems
- Type
- article
- Field-Weighted Citation Impact
- 0.00