halting problem


Get Babylon's Translation Software! Free Download Now!

Wikipedia English The Free EncyclopediaDownload this dictionary

Halting problem
In computability theory the halting problem is a decision problem which can be stated as follows:Given a description of a program and a finite input, decide whether the program finishes running or will run forever, given that input.Alan Turing proved in 1936 that a general algorithm to solve the halting problem for all possible program-input pairs cannot exist. We say that the halting problem is undecidable over Turing machines. (See with respect to attribution of the halting problem to Turing.)
See more at Wikipedia.org...

This article uses material from Wikipedia® and is licensed under the GNU Free Documentation License


FOLDOC DictionaryDownload this dictionary
halting problem
The problem of determining in advance whether a particular program or algorithm will terminate or run forever. The halting problem is the canonical example of a provably unsolvable problem. Obviously any attempt to answer the question by actually executing the algorithm or simulating each step of its execution will only give an answer if the algorithm under consideration does terminate, otherwise the algorithm attempting to answer the question will itself run forever.
Some special cases of the halting problem are partially solvable given sufficient resources. For example, if it is possible to record the complete state of the execution of the algorithm at each step and the current state is ever identical to some previous state then the algorithm is in a loop. This might require an arbitrary amount of storage however. Alternatively, if there are at most N possible different states then the algorithm can run for at most N steps without looping.
A program analysis called termination analysis attempts to answer this question for limited kinds of input algorithm.
(1994-10-20)


(c) Copyright 1993 by Denis Howe

Define halting problem

Translate halting problem




halting problem in Chinese | | halting problem in French | halting problem in Spanish | halting problem in Dutch | halting problem in German | halting problem in Russian | halting problem in Japanese | halting problem in Korean | halting problem in Hebrew | halting problem in Serbian