Backtracking is a class of algorithms for finding solutions to some computational problems, notably constraint satisfaction or enumeration problems, that incrementally builds candidates to the solutions and abandons a candidate as soon as it determines that the candidate cannot possibly be completed to a valid solution. The classic textbook example is the eight queens puzzle, which asks for all arrangements of eight chess queens on a standard chessboard so that no queen attacks any other; the partial candidates are arrangements of k queens in the first k rows, and any partial solution that contains two mutually attacking queens can be abandoned. Backtracking can be applied only to problems that admit the concept of a partial candidate solution. Algorithms recorded in this atlas are grouped here when their design technique is backtracking.
Facts
Core PrincipleFind a solution by trying one of several choices, and if the choice proves incorrect, return to the point of choice and try another. 1 Connections
In Field
Technique Used By
Source DPLL algorithm (Wikipedia)
Sources
1. NIST DADS: backtracking
DefinitionQuote, Definition
Find a solution by trying one of several choices. If the choice proves incorrect, computation backtracks or restarts at the point of choice and tries another choice.
View the Source Wikipedia: Backtracking
Wikipedia, lead section
Backtracking is a class of algorithms for finding solutions to some computational problems, notably constraint satisfaction or enumeration problems
In Group: Algorithm Design Strategies, Lead
Backtracking is a class of algorithms for finding solutions to some computational problems, notably constraint satisfaction or enumeration problems, that incrementally builds candidates to the solutions, and abandons a candidate ("backtracks") as soon as it determines that the candidate cannot possibly be completed to a valid solution.
View the SourceDPLL algorithm (Wikipedia)
Technique Used By: DPLL algorithm, Lead paragraphQuote, Technique Used By: DPLL algorithm, Lead paragraph
is a complete, backtracking-based search algorithm
View the Source Reader Challenges (0)
No disputes yet. Spotted an error or a better source? Open the first one.
Sign in to dispute this or suggest a correction.