Skip to main content
Log in

Optimum decision trees — an optimal variable theorem and its related applications

  • Published:
Acta Informatica Aims and scope Submit manuscript

Summary

The problem of translation of a decision table into an optimal sequential testing procedure (STP) under two cost criteria is considered. We formulate the STP as a decision tree and introduce its description and execution costs. As usual, optimal STPs are defined as minimum cost decision trees. We call a variable optimal when it is tested first in an optimal STP. In other words an optimal variable is one which is placed (and hence to be tested) at the root of an optimum decision tree. We introduce a notion of quasi-decisive variables and prove that under the strong equivalence assumption on quasi-decisive variables (SEA), they are optimal, and conversely, only the quasi-decisive variables are optimal whenever they exist in both costs (the optimal variable theorem). SEA holds in the general description cost and in the uniform execution cost. We show that SEA in the theorem can not be weakened in case of the general execution cost.

We describe an algorithm for the construction of an optimum decision tree which requires O(N log3 log N) comparison operations, where N is the size of the input table. Then we show that we can speed-up this algorithm by applying the optimal variable theorem in description cost case. In fact the number of executions of the inner-most loop of the algorithm is reduced greatly under fairly reasonable assumptions on the test data tables, resulting in a considerable reduction in the total execution time of the algorithm.

As a related topic we discuss optimization problems of quasi-decisive chains under execution cost. Our optimization algorithm requires O(N log N) operations.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Similar content being viewed by others

References

  1. Hanani, M.Z.: An optimal evaluation of boolean expressions in an online query system. Commun. ACM 20, 344–347 (May 1977)

    Google Scholar 

  2. Hyafil, L., Rivest, R.L.: Constructing optimal binary decision trees is NP-complete. Commun. ACM 5, 15–17 (May 1976)

    Google Scholar 

  3. Knuth, D.E.: The art of computer programming, vol. 1 (2nd ed.). Reading, MA: Addison Wesley 1973

    Google Scholar 

  4. Knuth, D.E.: The art of computer programming, vol. 3 (2nd ed.). Reading, MA: Addison Wesley 1973

    Google Scholar 

  5. Miyakawa, M., Sabelfeld, V.K.: On minimizations of size of logical schemes (in Russian). In: Theoretical basis of compiling (A.P. Ershov, ed.), pp. 49–58. Novosibirsk: Novosibirsk State University 1980

    Google Scholar 

  6. Miyakawa, M.: Transforming nondeterministic programs into optimal sequential programs — The optimal variable theorem and optimal ordering of arguments in unification procedures (in Japanese). Proceedings of the logic programming Conference '83, Tokyo, 1983

  7. Miyakawa, M.: Optimum decision trees, I — On the optimal variable theorems (in Japanese). TGEC IECE Japan1, EC83-6, May 1983

  8. Miyakawa, M.: Optimization problems of semi-decisive chains (in Japanese). 1984 Nat. Conv. Rec. of IECE Japan2, 1502, April 1984

  9. Miyakawa, M.: A nonoptimal variable theorem in decision tables — An extension of the optimal variable theorem (in Japanese). 1985 Nat. Conv. Rec. of IECE Japan, 1510, March 1985

  10. Miyakawa, M., Morioka, T.: On efficiency of decision tree optimization (in Japanese). 1983 Nat. Conv. Rec. IECE Japan2, 1335, 1983

  11. Miyakawa, M., Otsu, N.: On variable selection criteria in the minimum decision tree construction problems (in Japanese). 1982 Nat. Conv. Rec. of IECE Japan, 1249, 1982

  12. Miyakawa, M., Otsu, N.: Algorithms constructing near-minimum total nodes decision trees from expanded decision tables (in Japanese). TGEC IECE Japan, EC82-83, July 1983

  13. Miyakawa, M., Otsu, N.: Adequacy of the variable selection criteria in constructing nearoptimum decision trees (in Japanese). 1983 Nat. Conf. Rec. 3 on information science and technology, IECE Japan, S 4–8, September 1983

  14. Moret, B.M.E., Thomason, M.G., Gonzalez, R.C.: The activity of a variable and its relation to decision table. ACM Trans. Program. Lang. Syst. 2, 580–595 (October 1980)

    Google Scholar 

  15. Moret, B.M.E.: Decision trees and diagrams. Comput. Surv. 14, 593–623 (December 1982)

    Google Scholar 

  16. Reinwald, L.T., Soland, R.M.: Conversion of limited-entry decision tables to optimal computer programs, I: Minimum average processing time. J. ACM 13, 339–358 (July 1966)

    Google Scholar 

  17. Reinwald, L.T., Soland, R.M.: Conversion of limited-entry decision tables to optimal computer programs, II: Minimum storage requirement. J. ACM 14, 742–755 (October 1967)

    Google Scholar 

  18. Schumacher, H., Sevcik, K.: The synthetic approach to decision table conversion. Commun. ACM 19, 343–351 (June 1976)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

About this article

Cite this article

Miyakawa, M. Optimum decision trees — an optimal variable theorem and its related applications. Acta Informatica 22, 475–498 (1985). https://doi.org/10.1007/BF00267042

Download citation

  • Received:

  • Issue Date:

  • DOI: https://doi.org/10.1007/BF00267042

Keywords

Navigation