skip to main content
article
Free Access

The synthetic approach to decision table conversion

Published:01 June 1976Publication History
Skip Abstract Section

Abstract

Previous approaches to the problem of automatically converting decision tables to computer programs have been based on decomposition. At any stage, one condition is selected for testing, and two smaller problems (decision tables with one less condition) are created. An optimal program (with respect to average execution time or storage space, for example) is located only through implicit enumeration of all possible decision trees using a technique such as branch-and-bound. The new approach described in this paper uses dynamic programming to synthesize an optimal decision tree from which a program can be created. Using this approach, the efficiency of creating an optimal program is increased substantially, permitting generation of optimal programs for decision tables with as many as ten to twelve conditions.

References

  1. 1 Humby, E. Programs From Decision Tables. American Elsevier, New York, 1973.Google ScholarGoogle Scholar
  2. 2 Pooch, U.W. Translation of decision tables. Computing Surveys 6, 2 (June 1974), 125-51. Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. 3 Woods, C.J., and Hawes, M.K. Optimized code generation from extended-entry decision tables. SIGPLAN Notices (ACM Newsletter) 6, 8 (Sep. 1971), 74-80. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. 4 Muthukrishnan, C.R., and Rajaraman, V. On the conversion of decision tables to computer programs. Comm. ACM 13, 6 (June 1970), 347-51. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. 5 Schurnacher, H. The synthesis of optimal decision trees from decision tables. M.Sc. Th., Rep. CSRG-46, Computer Systems Research Group, U. of Toronto, Dec. 1974.Google ScholarGoogle Scholar
  6. 6 Kirk, G.W. Use of decision tables in computer programming. Comm. ACM 8, 1 (Jan. 1965), 41-43. Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. 7 King, P.J.H. Conversion of decision tables to computer programs by the rule mask technique. Comm. ACM 9, 11 (Nov. 1966), 796-801. Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. 8 Pollack, S.L. Conversion of limited-entry decision tables to computer programs. Comm. ACM 8, 11 (Nov. 1965), 677-82. Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. 9 Rabin, J. Conversion of limited-entry decision tables into optimal decision trees: fundamental concepts. SIGPLAN Notices (ACM Newsletter) 6, (Sep. 1971), 68-71. Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. 10 Shwayder, K. Conversion of limited-entry decision tables to computer programs-a proposed modification to Pollack's algorithm. Comm. ACM 14, 2 (Eeb. 1971), 69-73. Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. 11 Shwayder, K. Extending the information theory approach to converting limited-entry decision tables to computer programs. Comm. ACM 17, 9 (Sep. 1974), 532-37. Google ScholarGoogle ScholarDigital LibraryDigital Library
  12. 12 Ganapathy, S., and Rajaraman, V. Information theory applied to the conversion of decision tables to computer programs. Comm. ACM 16, 9 (Sep. 1973), 532-39. Google ScholarGoogle ScholarDigital LibraryDigital Library
  13. 13 Reinwald, L.T., and Soland, R.M. Conversion of limited-entry decision tables to optimal computer programs-I: Minimum average processing time. d. ACM 13, 3 (July 1966), 339-58. Google ScholarGoogle ScholarDigital LibraryDigital Library
  14. 14 Reinwald, L.T., and Soland, R.M. Conversion of limited-entry decision tables to optimal computer programs-II: Minimum storage requirement. J. ACM 14, 4 (Oct. 1967), 742-55. Google ScholarGoogle ScholarDigital LibraryDigital Library
  15. 15 Yasui, T. Conversion of decision tables into decision trees. Ph.D. thesis, Rep. 501, U. of Illinois, Feb. 1972. Google ScholarGoogle ScholarDigital LibraryDigital Library
  16. 16 Myers, H.J. Compiling optimized code from decision tables. IBM Y. Res. andDev. 16, 5 (Sep. 1972), 489-503.Google ScholarGoogle Scholar
  17. 17 Jarvis, J.M. An analysis of programming via decision table compilers. SIGPLAN Notices (ACM Newsletter) 6, 8 (Sep. 1971), 20-32. Google ScholarGoogle ScholarDigital LibraryDigital Library
  18. 18 Verhelst, M. The conversion of limited-entry decision tables to optimal and near-optimal flowcharts: two new algorithms. Comm. ACM 15, 11 (Nov. 1972), 974-80. Google ScholarGoogle ScholarDigital LibraryDigital Library
  19. 19 Bayes, A.J. A Dynamic programming algorithm to optimise decision table code. Australian Computer J. 5, 2(May 1973), 77-79.Google ScholarGoogle Scholar

Recommendations

Comments

Login options

Check if you have access through your login credentials or your institution to get full access on this article.

Sign in

Full Access

  • Published in

    cover image Communications of the ACM
    Communications of the ACM  Volume 19, Issue 6
    June 1976
    49 pages
    ISSN:0001-0782
    EISSN:1557-7317
    DOI:10.1145/360238
    Issue’s Table of Contents

    Copyright © 1976 ACM

    Permission to make digital or hard copies of all or part 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 components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

    Publisher

    Association for Computing Machinery

    New York, NY, United States

    Publication History

    • Published: 1 June 1976

    Permissions

    Request permissions about this article.

    Request Permissions

    Check for updates

    Qualifiers

    • article

PDF Format

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader