Cursors

  • Vincent Le Maout
Conference paper
Part of the Lecture Notes in Computer Science book series (LNCS, volume 2088)

Abstract

The iterator concept is becoming the fundamental abstraction of reusable software and the key to modularity and clean code especially in object-oriented languages like C++ and Java. They serve as accessors to a sequence hiding the implementation details from the algorithm and their encapsulation power allows true generic programming. The Standard Template Library defines clearly their behavior on simple sequences like linked lists or vectors. In this paper, we define the concept of cursor which can be seen as a generalization of the iterator concept to more complex data structures than sequences, in this case acyclic automata. We show how elegant and efficient they can be on applications written in C++ and based on the Automaton Standard Template Library.

Keywords

Regular Expression Editing Distance Deterministic Finite Automaton Complex Data Structure Algorithm Stage 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. [ASU86]
    A.V. Aho, R. Sethi, J.D. Ullman. Compilers-Principles, Techniques and Tools. Addison-Wesley, 1986, pp 157–165.Google Scholar
  2. [DR92]
    D. Revuz. Dictionnaires et Lexiques-Méthodes et Algorithmes. PhD. Thesis, universityé Paris VII, 1992, pp. 66–70.Google Scholar
  3. [HU79]
    J.E. Hopcroft, J.D. Ullman. Introduction to automata, languages and computation. Addison-Wesley, 1979.Google Scholar
  4. [MS89]
    D.R. Musser, A. Stepanov. Generic Programming. Lecture Notes in Computer Science 358, Springer-Verlag, 1989.Google Scholar
  5. [SGI99]
    Standard Template Library Programmer’s Guide Silicon Graphics Computer Systems, http://www.sgi.com/Technology/STL/, 1999
  6. [SL95]
    A. Stepanov, M. Lee. The Standard Template Library. Hewlett-Packard laboratories, 1995.Google Scholar
  7. [VLM98]
    Vincent Le Maout. Tools to Implement Automata, a first step: ASTL. Lecture Note in Computer Science 1436, Springer-Verlag, 1998, pp 104–108.Google Scholar

Copyright information

© Springer-Verlag Berlin Heidelberg 2001

Authors and Affiliations

  • Vincent Le Maout
    • 1
  1. 1.Institut Gaspard MongeUniversité de Marne La ValléeChamps-sur-MarneFrance

Personalised recommendations