📄 bellmanford.html
字号:
<!DOCTYPE HTML PUBLIC "-//IETF//DTD W3 HTML 2.0//EN">
<HTML lang="en-US">
<HEAD>
<TITLE>Bellman-Ford algorithm</TITLE>
<META name="description"
content="Definition of Bellman-Ford algorithm,
possibly with links to more information and implementations.">
<META name="keywords" content="Bellman-Ford algorithm">
</HEAD>
<BODY BGCOLOR="#FFFFFF">
<H1>Bellman-Ford algorithm</H1>
<P>
(algorithm)
<P>
<strong>Definition:</strong>
An efficient algorithm to find the <a href="shortestpath.html" tppabs="http://hissa.nist.gov/dads/HTML/shortestpath.html"><em>shortest paths</em></a> from a single <a href="source.html" tppabs="http://hissa.nist.gov/dads/HTML/source.html"><em>source</em></a> <a href="vertex.html" tppabs="http://hissa.nist.gov/dads/HTML/vertex.html"><em>vertex</em></a> to all other vertices in a <a href="weightdigraf.html" tppabs="http://hissa.nist.gov/dads/HTML/weightdigraf.html"><em>weighted, directed graph</em></a>. Weights may be negative.
<P><strong>See also</strong>
<a href="dijkstraalgo.html" tppabs="http://hissa.nist.gov/dads/HTML/dijkstraalgo.html"><em>Dijkstra's algorithm</em></a>, <a href="allpairsshrt.html" tppabs="http://hissa.nist.gov/dads/HTML/allpairsshrt.html"><em>all pairs shortest path</em></a>.
<P><em>Note:
After [CLR, page 532]</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>
(<a href="mailto:paul.black@nist.gov">paul.black@nist.gov</a>).
<p>
Entry modified Wed Jun 2 16:03:49 1999.<BR>
HTML page formatted Wed Dec 22 09:34:46 1999.
<P>
This page's URL is
<A href="bellmanford.html" tppabs="http://hissa.nist.gov/dads/HTML/bellmanford.html">http://hissa.nist.gov/dads/HTML/bellmanford.html</A>
</BODY>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -