Título: Object-oriented algorithm analysis and design with Java
Autores: Rajsbaum, S
Viso Gurovich, Elisa
Fecha: 2011-01-22
2011-01-22
2005
Publicador: Facultad de Ciencias - UNAM
Fuente:
Tipo: Article
Tema: Computer Science, Software Engineering
algorithms
inheritance
polymorphism
teaching Java
sorting
graph algorithms
string matching
network flow
Descripción: This paper presents a new approach to algorithm design and analysis that benefits from the OO characteristics of Java. It consists of first defining the inheritance structure of a collection of algorithms, at different levels of abstraction. Then, correctness proofs and complexity measures are designed for the various levels of abstraction. The goal is to prove as many properties as possible at each abstract level, assuming the implementations of the methods called upon will be correct. Thus, when a more specialized algorithm is derived from a more abstract one, proofs and complexity analysis can be reused, and simply need to be completed by proving that the properties assumed for the concrete methods indeed hold. The approach is illustrated with several inheritance trees: for sorting, graph algorithms, string matching, and network flow. Each tree, at the bottom of the hierarchy, yields well-known algorithms in the respective area. Instead of using pseudo-code to describe these trees, Java is used to make the process more precise and useful, encouraging the design and analysis of algorithms, and also experimentation with new variants. The implementation presented in this paper takes advantage of Java's organization to build the inheritance trees for the classes, and Java's interfaces, collections, comparators, and iterators. (C) 2004 Elsevier B.V. All rights reserved.
Idioma: Inglés

Artículos similares:

Relative bioavailability of rifampicin in a three-drug fixed-dose combination formulation por Milan-Segovia, RC,Dominguez-Ramirez, AM,Jung-Cook, H,Magana-Aquino, M,Romero-Mendez, MC,Medellin-Garibay, SE,Vigna-Perez, M,Romano-Moreno, S
Synthesis of the steroidal glycoside (25R)-3 beta,16 beta-diacetoxy-12,22-dioxo-5 alpha-cholestan-26-yl beta-D-glucopyranoside and its anti-cancer properties on cervicouterine HeLa, CaSki, and ViBo cells por Fernandez-Herrera, MA,Mohan, S,Perez-Cervantes, E,Regla, I,Pinto, BM,Sandoval-Ramirez, J,Hernández-Vazquez, JMV,Escobar-Sánchez, ML,Sánchez-Sánchez, L,López-Muñoz, H
Structural and Electronic Properties of Cubic CeO2: Unpaired Electrons in CeO2 por Quintanar, C,Caballero, R,Barreto, J,Chavira, E,Marinero, EE
Historical Development of Origins Research por Lazcano Araujo Reyes, Antonio Eusebio
10 
Early seed fall and seedling emergence: precursors to tropical restoration por Howe, HF,Urincho-Pantaleon, Y,de la Pena-Domene, M,Martínez-Garza, C