Dichotomic search

Dichotomic search

In computer science, a dichotomic search is a search algorithm that operates by selecting between two distinct alternatives (dichotomies) at each step. It is a specific type of divide and conquer algorithm. A well-known example is binary search.

Abstractly, a dichotomic search can be viewed as following edges of an implicit binary tree structure until it reaches a leaf (a goal or final state). This creates a theoretical tradeoff between the number of possible states and the running time: given k comparisons, the algorithm can only reach O(2k) possible states and/or possible goals.

Some dichotomic searches only have results at the leaves of the tree, such as the Huffman tree used in Huffman compression, or the implicit classification tree used in Twenty Questions. Other dichotomic searches also have results in at least some internal nodes of the tree, such as a dichotomic search table for Morse code. There is thus some looseness in the definition. Though there may indeed be only two paths from any node, there are thus three possibilities at each step: choose one onwards path or the other, or stop at this node.

A graphical representation of the dichotomic search table for Morse code. Shifting to the left represents a Dit (.), and a shift to the right represents a Dah (-). Where one lands indicates the letter for the code.

Dichotomic searches are often used in repair manuals, sometimes graphically illustrated with a flowchart similar to a fault tree.

References


Wikimedia Foundation. 2010.

Игры ⚽ Поможем написать курсовую

Look at other dictionaries:

  • dichotomic — adjective a) Choosing between two antithetical choices. Classification based upon two opposites.[ …   Wiktionary

  • Morse code — Chart of the Morse code letters and numerals Morse code is a method of transmitting textual information as a series of on off tones, lights, or clicks that can …   Wikipedia

  • List of terms relating to algorithms and data structures — The [http://www.nist.gov/dads/ NIST Dictionary of Algorithms and Data Structures] is a reference work maintained by the U.S. National Institute of Standards and Technology. It defines a large number of terms relating to algorithms and data… …   Wikipedia

  • Список терминов, относящихся к алгоритмам и структурам данных —   Это служебный список статей, созданный для координации работ по развитию темы.   Данное предупреждение не устанавливается на информационные списки и глоссарии …   Википедия

  • Список терминов — Список терминов, относящихся к алгоритмам и структурам данных   Это сл …   Википедия

  • дихотомический поиск — — [http://www.iks media.ru/glossary/index.html?glossid=2400324] дихотомический поиск 1. В численных методах оптимизации поиск оптимума путем последовательного деления пополам (дихотомии) пространства решений и проверки каждой половины на… …   Справочник технического переводчика

  • Дихотомический поиск — [dichotomic search] 1. (В численных методах оптимизации) поиск оптимума путем последовательного деления пополам (дихотомии) пространства решений и проверки каждой половины на наличие в ней экстремальной точки. Оптимум отыскивается таким путем за… …   Экономико-математический словарь

  • Alexis de Tocqueville — Tocqueville redirects here. For other uses, see Tocqueville (disambiguation). Alexis Charles Henri Clérel de Tocqueville Full name Alexis Charles Henri Clérel de Tocqueville Born 29 July 1805(1805 07 29) …   Wikipedia

  • Voluntary sector — Economic sectors Three sector hypothesis Primary sector: raw materials Secondary sector: manuf …   Wikipedia

  • Don't Think About White Monkeys — Don‘t Think About White Monkeys Poster Directed by Yuri Mamin Produced by Lyudmila Samokhval …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”