World Scientific
Skip main navigation

Cookies Notification

We use cookies on this site to enhance your user experience. By continuing to browse the site, you consent to the use of our cookies. Learn More
×

System Upgrade on Tue, May 28th, 2024 at 2am (EDT)

Existing users will be able to log into the site and access content. However, E-commerce and registration of new users may not be available for up to 12 hours.
For online purchase, please visit us again. Contact us at customercare@wspc.com for any enquiries.

AN EVOLUTION-BASED APPROACH TO PROGRAM UNDERSTANDING USING CULTURAL ALGORITHMS

    https://doi.org/10.1142/S0218194095000125Cited by:5 (Source: Crossref)

    Program understanding plays a very important role in the software engineering field as an essential part of the widely accepted reuse process. Unfortunately, the lack of general tools for this purpose often prevents users from effectively retrieving software modules for reuse. The primary difficulty is in determining which of the already-available modules performs the desired function. This paper explores the task of extracting functional knowledge from a program object (i.e., coded module) using an evolutionary-learning technique, cultural algorithms, to automatically learn classification rules for a reuse library. The modules are stored in a reuse library in the PM system using a faceted classification scheme. Therefore, the goal is to learn a set of rules to characterize the semantics of code modules based on their syntactic structure. The most difficult part of the process is to identify those parts of the program that provide specific evidence of the presence of a concept. Here, evolutionary-learning techniques are employed to interactively identify lines in a module that are "believed" to provide evidence for the presence of a facet value (concept) in the code by a user. A prototype is used to learn concepts relating to the "list" and "stack" programming concepts.