| 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 <typename Graph> |
|---|
| 22 | typename graph_traits<Graph>::vertices_size_type |
|---|
| 23 | profile(const Graph& g) |
|---|
| 24 | |
|---|
| 25 | (2) |
|---|
| 26 | template <typename Graph, typename VertexIndexMap> |
|---|
| 27 | typename graph_traits<Graph>::vertices_size_type |
|---|
| 28 | profile(const Graph& 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>i</i>.</p> |
|---|
| 32 | <p><BR> |
|---|
| 33 | <I>B(G) = max { |index[u] - index[v]| | (u,v) in E }</I><BR> |
|---|
| 34 | </p> |
|---|
| 35 | <H3>Defined in</H3> |
|---|
| 36 | <A |
|---|
| 37 | href="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> |
|---|