Recasting algorithms to encourage reuse
- 1 September 1994
- journal article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Software
- Vol. 11 (5) , 80-88
- https://doi.org/10.1109/52.311066
Abstract
Instead of viewing algorithms as single large operations, the authors use a machine-oriented view to show how they can be viewed as collections of smaller objects and operations. Their approach promises more flexibility especially in making performance trade-offs, and encourages black-box reuse. They recommend black-box reuse because the real value of reused code lies in its properties, such as correctness with respect to an abstract specification. If you make even small structural or environmental changes, the confidence in these properties tends to evaporate, and with it most of the component's value. They show how to design an entire category of more flexible black-box reusable software components by applying a general design technique that recasts algorithms as objects. To illustrate the technique, they recast a sorting algorithm and a spanning-forest algorithm into objects.Keywords
This publication has 5 references indexed in Scilit:
- Design and specification of iterators using the swapping paradigmIEEE Transactions on Software Engineering, 1994
- Monster Matrices: Their Eigenvalues and EigenvectorsComputers in Physics, 1993
- ON SPECIFICATION OF REUSABLE SOFTWARE COMPONENTSInternational Journal of Software Engineering and Knowledge Engineering, 1993
- Reusable Software ComponentsPublished by Elsevier ,1991
- On the criteria to be used in decomposing systems into modulesCommunications of the ACM, 1972