Trial and error
Encyclopedia : T : TR : TRI : Trial and error
- ''This article is about the trial and error method. For the book see Trial and error (book) and for the film see Trial and Error (film).
In some versions of trial and error, the option that is a priori viewed as the most likely one should be tried first, followed by the next most likely, and so on until a solution is found, or all the options are exhausted. In other versions, options are simply tried at random.
Trial and error has a number of features:
- solution-oriented: trial and error makes no attempt to discover why a solution works, merely that it is a solution.
- problem-specific: trial and error makes no attempt to generalise a solution to other problems.
- non-optimal: trial and error is an attempt to find a solution, not all solutions, and not the best solution.
- needs little knowledge: trial and error can proceed where there is little or no knowledge of the subject.
The scientific method can be regarded as containing an element of trial and error in its formulation and testing of hypotheses. Also compare genetic algorithms, simulated annealing and reinforcement learning - all varieties of search which apply the basic idea of trial and error.
Biological Evolution is also a form of trial and error. Random mutations and sexual genetic variations can be viewed as trials and poor reproductive fitness as the error. Thus after a long time 'knowledge' of well-adapted genomes accumulates simply by virtue of them being able to reproduce.
Bogosort can be viewed as a trial and error approach to sorting a list.
In mathematics the method of trial and error can be used to solve formulae - it is a slower, less precise method than algebra, but is easier to understand.
See also
From Wikipedia, the Free Encyclopedia. Original article here. Support Wikipedia by contributing or donating.
All text is available under the terms of the GNU Free Documentation License See Wikipedia Copyrights for details.
