DocumentCode :
2430572
Title :
Evolving transformation sequences using genetic algorithms
Author :
Fatiregun, Deji ; Harman, Mark ; Hierons, Robert M.
Author_Institution :
Dept. of Inf. Syst. & Comput., Brunel Univ., Middlesex, UK
fYear :
2004
fDate :
15-16 Sept. 2004
Firstpage :
65
Lastpage :
74
Abstract :
Program transformation is useful in a number of applications including program comprehension, reverse engineering and compiler optimization. In all these applications, transformation algorithms are constructed by hand for each different transformation goal. Loosely speaking, a transformation algorithm defines a sequence of transformation steps to apply to a given program. It is notoriously hard to find good transformation sequences automatically, and so much (costly) human intervention is required. This work shows how search-based meta-heuristic algorithms can be used to automate, or partly automate the problem of finding good transformation sequences. In this case, the goal of transformation is to reduce program size, but the approach is sufficiently general that it can be used to optimize any source-code level metric. The search techniques used are random search (RS), hill climbing (HC) and genetic algorithms (GA). The paper reports the result of initial experiments on small synthetic program transformation problems. The results are encouraging. They indicate that the genetic algorithm performs significantly better than either hill climbing or random search.
Keywords :
genetic algorithms; program compilers; compiler optimization; genetic algorithms; hill climbing; program comprehension; random search; reverse engineering; search techniques; search-based meta-heuristic algorithms; source-code level metric; synthetic program transformation; transformation algorithms; transformation sequences; Amorphous materials; Genetic algorithms; Humans; Information systems; Optimizing compilers; Program processors; Reverse engineering; Software engineering; Software maintenance; Software testing;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Source Code Analysis and Manipulation, 2004. Fourth IEEE International Workshop on
Print_ISBN :
0-7695-2144-4
Type :
conf
DOI :
10.1109/SCAM.2004.11
Filename :
1386160
Link To Document :
بازگشت