trianglnqlty.html

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

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

<H1>triangle inequality</H1>
<P>
(definition)

<P>
<strong>Definition:</strong>
The property that a <a href="#complete"><em>complete</em></a> <a href="weightgraph.html" tppabs="http://hissa.nist.gov/dads/HTML/weightgraph.html"><em>weighted graph</em></a> satisfies  weight(u,v)  <img src="leq.gif" tppabs="http://hissa.nist.gov/dads/HTML/Images/leq.gif" border=0 height=7  width=14 alt="less than or equal to">  weight(u,w) + weight(w,v) for all <a href="vertex.html" tppabs="http://hissa.nist.gov/dads/HTML/vertex.html"><em>vertices</em></a> u, v, w.  Informally, the graph has no short cuts.
<P><em>Note:
This holds for any graph representing points in a metric space.  Many problems involving edge-weighted graphs have better approximation algorithms if the problem is restricted to weights satisfying the triangle inequality. From Algorithms and Theory of Computation Handbook, page 34-17, Copyright &copy; 1999 by CRC Press LLC.</em>
<P>Author: <a href="terms.html#authorCRC-A" tppabs="http://hissa.nist.gov/dads/terms.html#authorCRC-A">CRC-A</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 Jun 17 09:56:40 1999.<BR>
HTML page formatted Wed Dec 22 09:36:46 1999.

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

</BODY>
</HTML>

⌨️ 快捷键说明

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