Nothing Special   »   [go: up one dir, main page]

skip to main content
article
Free access

Designing efficient algorithms for APL: A case study of a hydraulic-network solver

Published: 30 May 1979 Publication History

Abstract

The interpretation time of APL instructions significantly influences the total execution time and therefore must be considered during the development of APL programs. As an example of the trade off between interpretation and execution time, the redesign process of a hydraulic network solver originally intended for implementation in FORTRAN is described. Efficiency is gained both by designing algorithms which have a more parallel nature and by extensive use of precomputations. It is shown that evaluating an algorithm using the classical method of counting the number of “basic steps” is insufficient in an APL context.

References

[1]
Brailovsky, M. and Rodeh, M., "An Improved Hydraulic Network Solver", TR-65, IBM Israel Scientific Center (1978).
[2]
Eckstein, D.H. and Alton, D.A., "Parallel Graph Processing Using Depth-First Search", Proc. of the Conference on Theoretical Computer Science, Waterloo, 21-29 (1977).
[3]
Even, S., Itai, A. and Shamir A., "On the Complexity of Timetable and Multicommodity Flow Problems", SIAM J. on Computing, Vol.5, 691-703 (1976).
[4]
Epp, R. and Fowler, A.G., "Efficient Code for Steady-State Flows in Networks", Journal of the Hydraulic Division, ASCE, Vol.96, No.HY 1, 43-56 (January 1970).
[5]
Gofman, E. and Rodeh, M., "An Interactive Aid for Constructing Irrigation Time Tables", TR-69, IBM Israel Scientific Center (1978).
[6]
Harary, F., Graph Theory, Addison Wesley (1969).
[7]
Liu, C.L., Introduction to Combinatorial Mathematics, McGraw-Hill (1968).
[8]
Selfridge,R.G., "Splines and Graphs", APL Quote Quad, Vol. 8, No.4, 29-33 (June 1978).
[9]
Shamir,U., "Water Distribution Systems Analysis", IBM T. J. Watson Research Center, TR-RC-4389 (June 1973).

Recommendations

Comments

Please enable JavaScript to view thecomments powered by Disqus.

Information & Contributors

Information

Published In

cover image ACM SIGAPL APL Quote Quad
ACM SIGAPL APL Quote Quad  Volume 9, Issue 4-P1
Part 1
June 1979
403 pages
ISSN:0163-6006
DOI:10.1145/390009
Issue’s Table of Contents
  • cover image ACM Conferences
    APL '79: Proceedings of the international conference on APL: part 1
    May 1979
    403 pages
    ISBN:9781450374408
    DOI:10.1145/800136
Permission to make digital or hard copies of part or all of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for third-party components of this work must be honored. For all other uses, contact the Owner/Author.

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 30 May 1979
Published in SIGAPL Volume 9, Issue 4-P1

Check for updates

Qualifiers

  • Article

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • 0
    Total Citations
  • 333
    Total Downloads
  • Downloads (Last 12 months)71
  • Downloads (Last 6 weeks)11
Reflects downloads up to 18 Nov 2024

Other Metrics

Citations

View Options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Login options

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media