Abstract
We consider a class of programs whose output is a sequence of "elementary actions" or "moves". We provide some transformation strategies for deriving efficient iterative programs which exhibit a "on-line behaviour", i.e. producing the output moves, one at the time, according to a given sequence ordering. Our methods also give an answer to a long standing challenge [Hay77] for deriving a very fast on-line program for the Towers of Hanoi (and similarly defined) problems.
This is a preview of subscription content, log in via an institution.
Preview
Unable to display preview. Download preview PDF.
References
Bird, R.S.: "The Promotion and Accumulation Strategies in Transformational Programming" ACM Transaction on Programming Languages and Systems Vol.6 No.4 October 1984, 487–504.
Burstall, R.M. and Darlington, J.: "A Transformation System for Developing Recursive Programs" J.A.C.M. Vol.24, 1 (1977) 44–67.
Buneman, P. and Levy, L.: "The Towers of Hanoi problem" Information Processing Letters 10,(1980), 243–244.
Er, M.C.: "An Iterative Solution of the Generalized Towers of Hanoi Problem" BIT 23 (1983), 295–302.
Ernst, G.W. and Goldstein, M.M.: "Mechanical Discovery of Classes of Problem-Solving Strategies" J.A.C.M. 29 (1) (1982), 1–23.
Hayes, P.J.: "A Note on The Towers of Hanoi Problem" Computer Journal 20, (1977), 282–302.
Kott, L.: "About Transformation System: A Theoretical Study" Proceed. 3ème Colloque International sur la Programmation. Dunod, Paris (1978), 232–247.
Pettorossi, A.: "A Powerful Strategy for Deriving Efficient Programs by Transformation" ACM Symposium on LISP and Functional Programming. Austin,Texas USA (1984), 273–281.
Pettorossi, A.: "Towers of Hanoi Problems: Deriving Iterative Solutions by Program Transformation" BIT Vol.25 (1985), 327–334
Walsh, T.R.: "Iteration Strikes Back at the Cyclic Towers of Hanoi" Information Processing Letters 16 (1983), 91–93.
Author information
Authors and Affiliations
Editor information
Rights and permissions
Copyright information
© 1986 Springer-Verlag
About this paper
Cite this paper
Pettorossi, A. (1986). Transformation strategies for deriving on line programs. In: Franchi-Zannettacci, P. (eds) CAAP '86. CAAP 1986. Lecture Notes in Computer Science, vol 214. Springer, Berlin, Heidelberg. https://doi.org/10.1007/BFb0022664
Download citation
DOI: https://doi.org/10.1007/BFb0022664
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-16443-2
Online ISBN: 978-3-540-39783-0
eBook Packages: Springer Book Archive