Math 2.0

Computer science Models of computation Concept

Decision tree model

Summary

The decision tree model measures the cost of a computation by the number of queries it makes to the input, and ignores all other work. An algorithm is a rooted tree. Each inner node asks one question about the input, the answer chooses the branch, and each leaf gives the output. The cost is the depth of the tree, the number of questions in the worst case. The model gives simple lower bounds, such as the bound log⁡2(n!)\log_2(n!) on the number of comparisons needed to sort nn items.

Where this leads

2 pages build on this one.

Further reading

  1. Web https://en.wikipedia.org/wiki/Decision_tree_model
About this page
Tag8ZVN9X9WEC
URIm2://8ZVN9X9WEC
Kindconcept
WritingW0 stub
MSC68Q17, 68Q25, 68Q04
SpecializesModel of computation
Same as
Changed3 November 2026

Markdown · JSON · Edit on GitHub

What this page needs for W1

  • an inventory row: the row of the inventory that the node accounts for (0 of 1)
  • a source with a locator (0 of 1)

The writing levels say how complete the text of a page is. They do not measure its truth.

What links here

Used by

Definitions