The Community for Technology Leaders
Green Image
<p>A system called partial metrics (PM) which utilizes chunking as a model for acquiring knowledge about program implementation is described. The chunking paradigm has three phases. The first phase partitions the object to be chunked into relatively independent parts called aggregates. The objects to be chunked in PM are code modules. Modules are separated into a collection of aggregates based on a model of stepwise refinement. A heuristic that generates a hierarchically structured collection of refinement steps describing how the program could have been developed as a set of independent refinement decisions (object-oriented stepwise implementation) is given. The second phase encodes (abstracts) each of the aggregates. Various techniques for symbolic learning can be applied to produce a frame-based encoding of information present in the code. This abstraction contains information about the aggregate's role in the refinement process as well as the code's functionality. The third phase inserts the chunked aggregate into a hierarchically structured library of cases based on the contents of its frame description. The storage of an aggregate enables its future use in problem-solving activities. An example of how this approach can be used to acquire knowledge from a sort module is described.</p>
knowledge acquisition; PM; partial metrics; chunking; aggregates; code modules; stepwise refinement; heuristic; hierarchically structured collection; object-oriented stepwise implementation; symbolic learning; frame-based encoding; library; problem-solving activities; sort module; knowledge acquisition; object-oriented programming; software engineering

R. Reynolds, J. Maletic and S. Porvin, "PM: A System to Support the Automatic Acquisition of Programming Knowledge," in IEEE Transactions on Knowledge & Data Engineering, vol. 2, no. , pp. 273-282, 1990.
88 ms
(Ver 3.3 (11022016))