backtrack.html

来自「数据结构词典(英文)」· HTML 代码 · 共 46 行

HTML
46
字号
<!DOCTYPE HTML PUBLIC "-//IETF//DTD W3 HTML 2.0//EN">
<HTML lang="en-US">
<HEAD>
<TITLE>backtracking</TITLE>
<META name="description"
  content="Definition of backtracking,
	possibly with links to more information and implementations.">
<META name="keywords" content="backtracking">
</HEAD>
<BODY BGCOLOR="#FFFFFF">

<H1>backtracking</H1>
<P>
(algorithmic technique)

<P>
<strong>Definition:</strong>
An algorithmic technique to find solutions by trying one of several choices.  If the choice proves incorrect, computation <em>backtracks</em> or restarts at the point of choice and tries another choice.  It is often convenient to maintain choice points and alternate choices using <a href="recursion.html" tppabs="http://hissa.nist.gov/dads/HTML/recursion.html"><em>recursion</em></a>.
<P><em>Note:
Conceptually, the algorithm is a <a href="depthfirst.html" tppabs="http://hissa.nist.gov/dads/HTML/depthfirst.html"><em>depth first search</em></a> of a <a href="tree.html" tppabs="http://hissa.nist.gov/dads/HTML/tree.html"><em>tree</em></a> of possible (partial) solutions.  Each choice is a <a href="node.html" tppabs="http://hissa.nist.gov/dads/HTML/node.html"><em>node</em></a> in the tree.</em>
<P>Author: <a href="terms.html#authorPEB" tppabs="http://hissa.nist.gov/dads/terms.html#authorPEB">PEB</a>

<hr>

Go to the
<A HREF="terms.html" tppabs="http://hissa.nist.gov/dads/terms.html">Algorithms, Data Structures, and Problems</A>
home page.

<hr>

If you have suggestions, corrections, or comments, please get in touch
with
<a href="javascript:if(confirm('http://hissa.nist.gov/~black/black.html  \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address.  \n\nDo you want to open it from the server?'))window.location='http://hissa.nist.gov/~black/black.html'" tppabs="http://hissa.nist.gov/~black/black.html">Paul E. Black</a>
&nbsp;(<a href="mailto:paul.black@nist.gov">paul.black@nist.gov</a>).

<p>
Entry modified Thu Mar 25 11:02:49 1999.<BR>
HTML page formatted Wed Dec 22 09:34:45 1999.

<P>
This page's URL is
<A href="backtrack.html" tppabs="http://hissa.nist.gov/dads/HTML/backtrack.html">http://hissa.nist.gov/dads/HTML/backtrack.html</A>

</BODY>
</HTML>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?