Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: downloads/boost_1_33_1/libs/graph/doc/profile.htm @ 14

Last change on this file since 14 was 12, checked in by landauf, 17 years ago

added boost

  • Property svn:executable set to *
File size: 2.0 KB
Line 
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2<!-- saved from url=(0050)http://www.boost.org/libs/graph/doc/bandwidth.html -->
3<HTML><HEAD><TITLE>Boost Graph Library: Bandwidth</TITLE>
4<META http-equiv=Content-Type content="text/html; charset=windows-1252"><!--
5  -- Copyright (c) Jeremy Siek 2000
6  --
7  -- Permission to use, copy, modify, distribute and sell this software
8  -- and its documentation for any purpose is hereby granted without fee,
9  -- provided that the above copyright notice appears in all copies and
10  -- that both that copyright notice and this permission notice appear
11  -- in supporting documentation.  Silicon Graphics makes no
12  -- representations about the suitability of this software for any
13  -- purpose.  It is provided "as is" without express or implied warranty.
14  -->
15<META content="MSHTML 6.00.2715.400" name=GENERATOR></HEAD>
16<BODY text=#000000 vLink=#551a8b aLink=#ff0000 link=#0000ee bgColor=#ffffff>
17<IMG SRC="../../../boost.png" 
18     ALT="C++ Boost" width="277" height="86"> <BR>
19<H1><A name=sec:bandwidth></a><tt>profile</tt> </H1>
20<PRE>  (1)
21  template &lt;typename Graph&gt;
22  typename graph_traits&lt;Graph&gt;::vertices_size_type
23  profile(const Graph&amp; g)
24
25  (2)
26  template &lt;typename Graph, typename VertexIndexMap&gt;
27  typename graph_traits&lt;Graph&gt;::vertices_size_type
28  profile(const Graph&amp; g, VertexIndexMap index_map)
29</PRE>
30<p>The<b> profile</b> is the sum of all the maximum distances between the <i>i-th</i> 
31  vertex and any of its neighbors with an index <i>j&gt;i</i>.</p>
32<p><BR>
33  <I>B(G) = max { |index[u] - index[v]|&nbsp;&nbsp;| (u,v) in E }</I><BR>
34</p>
35<H3>Defined in</H3>
36<A 
37href="http://www.boost.org/boost/graph/bandwidth.hpp"><TT>boost/graph/profile.hpp</TT></A> 
38<BR>
39<HR>
40
41<TABLE width="677">
42  <TBODY> 
43  <TR vAlign=top>
44    <TD noWrap>Copyright © 2001-2002</TD>
45    <TD>Marc Wintermantel, ETH Zurich (<A 
46      href="mailto:wintermantel@imes.mavt.ethz.ch">wintermantel@imes.mavt.ethz.ch</a>)
47    </TD>
48  </TR></TBODY></TABLE></BODY></HTML>
Note: See TracBrowser for help on using the repository browser.