Enhancing DFA Construction Efficiency via Simulated Annealing

P. Meerabai, J. Vanitha, C. Mallika, A. Hema

2025

Abstract

Deterministic Finite Automaton (DFA) creation is an essential phase in the lexical analysis segment of a compiler, which is tasked with converting regular expressions or grammars into finite state machines. Although DFA creation is usually effective, it can become computationally demanding and require significant memory for extensive or intricate languages, particularly when facing state explosion during the conversion process. Conventional techniques such as the subset construction algorithm (which is employed to transform Non-deterministic Finite Automata, NFA, into DFA) may result in large, inefficient DFAs that include unnecessary states and transitions. This document introduces a fresh method to enhance DFA construction by applying the Simulated Annealing (SA) algorithm, a stochastic optimization method, to reduce the number of states and transitions, thereby enhancing the performance of the developed DFA. We assess the effectiveness of this method and illustrate how simulated annealing can be applied to strike a balance between exploration and exploitation throughout the state minimization procedure, considerably decreasing the DFA's size and optimizing its efficacy.

Download


Paper Citation


in Harvard Style

Meerabai P., Vanitha J., Mallika C. and Hema A. (2025). Enhancing DFA Construction Efficiency via Simulated Annealing. In Proceedings of the 1st International Conference on Research and Development in Information, Communication, and Computing Technologies - ICRDICCT`25; ISBN 978-989-758-777-1, SciTePress, pages 552-556. DOI: 10.5220/0013901700004919


in Bibtex Style

@conference{icrdicct`2525,
author={P. Meerabai and J. Vanitha and C. Mallika and A. Hema},
title={Enhancing DFA Construction Efficiency via Simulated Annealing},
booktitle={Proceedings of the 1st International Conference on Research and Development in Information, Communication, and Computing Technologies - ICRDICCT`25},
year={2025},
pages={552-556},
publisher={SciTePress},
organization={INSTICC},
doi={10.5220/0013901700004919},
isbn={978-989-758-777-1},
}


in EndNote Style

TY - CONF

JO - Proceedings of the 1st International Conference on Research and Development in Information, Communication, and Computing Technologies - ICRDICCT`25
TI - Enhancing DFA Construction Efficiency via Simulated Annealing
SN - 978-989-758-777-1
AU - Meerabai P.
AU - Vanitha J.
AU - Mallika C.
AU - Hema A.
PY - 2025
SP - 552
EP - 556
DO - 10.5220/0013901700004919
PB - SciTePress