⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 breadthfirst.html

📁 数据结构词典(英文)
💻 HTML
字号:
<!DOCTYPE HTML PUBLIC "-//IETF//DTD W3 HTML 2.0//EN">
<HTML lang="en-US">
<HEAD>
<TITLE>breadth first search</TITLE>
<META name="description"
  content="Definition of breadth first search,
	possibly with links to more information and implementations.">
<META name="keywords" content="breadth first search">
</HEAD>
<BODY BGCOLOR="#FFFFFF">

<H1>breadth first search</H1>
<P>
(algorithm)

<P>
<strong>Definition:</strong>
A search algorithm which considers neighbors of a <a href="vertex.html" tppabs="http://hissa.nist.gov/dads/HTML/vertex.html"><em>vertex</em></a>, that is, outgoing <a href="edge.html" tppabs="http://hissa.nist.gov/dads/HTML/edge.html"><em>edges</em></a> of the vertex's predecessor in the search, before any outgoing edges of the vertex.  Extremes are searched last.  This is typically implemented with a <a href="queue.html" tppabs="http://hissa.nist.gov/dads/HTML/queue.html"><em>queue</em></a>.
<P><strong>See also</strong>
<a href="depthfirst.html" tppabs="http://hissa.nist.gov/dads/HTML/depthfirst.html"><em>depth first search</em></a>, <a href="bestfirst.html" tppabs="http://hissa.nist.gov/dads/HTML/bestfirst.html"><em>best first search</em></a>.
<P>Author: <a href="terms.html#authorPEB" tppabs="http://hissa.nist.gov/dads/terms.html#authorPEB">PEB</a>
<H2>Implementation</H2>
<A HREF="javascript:if(confirm('http://www.nist.gov/cgi-bin/exit_nist.cgi?url=http://yoda.cis.temple.edu:8080/UGAIWWW/books/knight/bfs.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://www.nist.gov/cgi-bin/exit_nist.cgi?url=http://yoda.cis.temple.edu:8080/UGAIWWW/books/knight/bfs.html'" tppabs="http://www.nist.gov/cgi-bin/exit_nist.cgi?url=http://yoda.cis.temple.edu:8080/UGAIWWW/books/knight/bfs.html">(Lisp)</A>, <A HREF="javascript:if(confirm('http://www.nist.gov/cgi-bin/exit_nist.cgi?url=http://yoda.cis.temple.edu:8080/UGAIWWW/books/shoham/chapter2/section2.5.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://www.nist.gov/cgi-bin/exit_nist.cgi?url=http://yoda.cis.temple.edu:8080/UGAIWWW/books/shoham/chapter2/section2.5.html'" tppabs="http://www.nist.gov/cgi-bin/exit_nist.cgi?url=http://yoda.cis.temple.edu:8080/UGAIWWW/books/shoham/chapter2/section2.5.html">(Prolog)</A>, <A HREF="javascript:if(confirm('http://www.nist.gov/cgi-bin/exit_nist.cgi?url=http://www.markwatson.com/opencontent/aisearch/BreadthFirstSearch.java  \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://www.nist.gov/cgi-bin/exit_nist.cgi?url=http://www.markwatson.com/opencontent/aisearch/BreadthFirstSearch.java'" tppabs="http://www.nist.gov/cgi-bin/exit_nist.cgi?url=http://www.markwatson.com/opencontent/aisearch/BreadthFirstSearch.java">(Java)</A>, <A HREF="javascript:if(confirm('http://www.nist.gov/cgi-bin/exit_nist.cgi?url=http://www.moorpark.cc.ca.us/%7Ecsalazar/cs20/nonlin.txt  \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://www.nist.gov/cgi-bin/exit_nist.cgi?url=http://www.moorpark.cc.ca.us/%7Ecsalazar/cs20/nonlin.txt'" tppabs="http://www.nist.gov/cgi-bin/exit_nist.cgi?url=http://www.moorpark.cc.ca.us/%7Ecsalazar/cs20/nonlin.txt">(C++)</A>
<H2>More information</H2>
<A HREF="javascript:if(confirm('http://www.nist.gov/cgi-bin/exit_nist.cgi?url=http://yoda.cis.temple.edu:8080/UGAIWWW/resources/search-resources.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://www.nist.gov/cgi-bin/exit_nist.cgi?url=http://yoda.cis.temple.edu:8080/UGAIWWW/resources/search-resources.html'" tppabs="http://www.nist.gov/cgi-bin/exit_nist.cgi?url=http://yoda.cis.temple.edu:8080/UGAIWWW/resources/search-resources.html">Laboratory Resources on Search and Game Playing</A>, Lecture notes on <A HREF="javascript:if(confirm('http://www.nist.gov/cgi-bin/exit_nist.cgi?url=http://www.cs.utoronto.ca/%7Emitchell/ai-course/s1.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://www.nist.gov/cgi-bin/exit_nist.cgi?url=http://www.cs.utoronto.ca/%7Emitchell/ai-course/s1.html'" tppabs="http://www.nist.gov/cgi-bin/exit_nist.cgi?url=http://www.cs.utoronto.ca/%7Emitchell/ai-course/s1.html">Uninformed Search</A>, Lecture notes from Design and Analysis of Algorithms on <A HREF="javascript:if(confirm('http://www.nist.gov/cgi-bin/exit_nist.cgi?url=http://www.ics.uci.edu/%7Eeppstein/161/960215.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://www.nist.gov/cgi-bin/exit_nist.cgi?url=http://www.ics.uci.edu/%7Eeppstein/161/960215.html'" tppabs="http://www.nist.gov/cgi-bin/exit_nist.cgi?url=http://www.ics.uci.edu/%7Eeppstein/161/960215.html">Breadth first search and depth first search</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 Apr 29 08:45:16 1999.<BR>
HTML page formatted Wed Dec 22 09:34:52 1999.

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

</BODY>
</HTML>

⌨️ 快捷键说明

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