File: graph_traits_mpi_graph__id893185.html

package info (click to toggle)
boost1.42 1.42.0-4
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 277,864 kB
  • ctags: 401,076
  • sloc: cpp: 1,235,659; xml: 74,142; ansic: 41,313; python: 26,756; sh: 11,840; cs: 2,118; makefile: 655; perl: 494; yacc: 456; asm: 353; csh: 6
file content (78 lines) | stat: -rwxr-xr-x 7,709 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>Struct graph_traits&lt;mpi::graph_communicator&gt;</title>
<link rel="stylesheet" href="../boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
<link rel="home" href="../index.html" title="The Boost C++ Libraries BoostBook Documentation Subset">
<link rel="up" href="../mpi/reference.html#header.boost.mpi.graph_communicator_hpp" title="Header &lt;boost/mpi/graph_communicator.hpp&gt;">
<link rel="prev" href="mpi/get_id893845.html" title="Function get">
<link rel="next" href="mpi/group.html" title="Class group">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../boost.png"></td>
<td align="center"><a href="../../../index.html">Home</a></td>
<td align="center"><a href="../../../libs/libraries.htm">Libraries</a></td>
<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../more/index.htm">More</a></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="mpi/get_id893845.html"><img src="../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../mpi/reference.html#header.boost.mpi.graph_communicator_hpp"><img src="../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="mpi/group.html"><img src="../../../doc/html/images/next.png" alt="Next"></a>
</div>
<div class="refentry" title="Struct graph_traits&lt;mpi::graph_communicator&gt;">
<a name="boost.graph_traits_mpi_graph__id893185"></a><div class="titlepage"></div>
<div class="refnamediv">
<h2><span class="refentrytitle">Struct graph_traits&lt;mpi::graph_communicator&gt;</span></h2>
<p>boost::graph_traits&lt;mpi::graph_communicator&gt; &#8212; Traits structure that allows a communicator with graph topology to be view as a graph by the Boost Graph Library. </p>
</div>
<h2 xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv-title">Synopsis</h2>
<div xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv"><pre class="synopsis"><span class="emphasis"><em>// In header: &lt;<a class="link" href="../mpi/reference.html#header.boost.mpi.graph_communicator_hpp" title="Header &lt;boost/mpi/graph_communicator.hpp&gt;">boost/mpi/graph_communicator.hpp</a>&gt;

</em></span>
<span class="bold"><strong>struct</strong></span> <a class="link" href="graph_traits_mpi_graph__id893185.html" title="Struct graph_traits&lt;mpi::graph_communicator&gt;">graph_traits</a>&lt;mpi::graph_communicator&gt; {
  <span class="emphasis"><em>// types</em></span>
  <span class="bold"><strong>typedef</strong></span> <span class="bold"><strong>int</strong></span>                        <a name="boost.graph_traits_mpi_graph__id893185.vertex_descriptor"></a>vertex_descriptor;     
  <span class="bold"><strong>typedef</strong></span> std::pair&lt; <span class="bold"><strong>int</strong></span>, <span class="bold"><strong>int</strong></span> &gt;      <a name="boost.graph_traits_mpi_graph__id893185.edge_descriptor"></a>edge_descriptor;       
  <span class="bold"><strong>typedef</strong></span> directed_tag               <a name="boost.graph_traits_mpi_graph__id893185.directed_category"></a>directed_category;     
  <span class="bold"><strong>typedef</strong></span> disallow_parallel_edge_tag <a name="boost.graph_traits_mpi_graph__id893185.edge_parallel_category"></a>edge_parallel_category;
  <span class="bold"><strong>typedef</strong></span> <span class="emphasis"><em>unspecified</em></span>                <a name="boost.graph_traits_mpi_graph__id893185.out_edge_iterator"></a>out_edge_iterator;     
  <span class="bold"><strong>typedef</strong></span> <span class="bold"><strong>int</strong></span>                        <a name="boost.graph_traits_mpi_graph__id893185.degree_size_type"></a>degree_size_type;      
  <span class="bold"><strong>typedef</strong></span> <span class="emphasis"><em>unspecified</em></span>                <a name="boost.graph_traits_mpi_graph__id893185.adjacency_iterator"></a>adjacency_iterator;    
  <span class="bold"><strong>typedef</strong></span> counting_iterator&lt; <span class="bold"><strong>int</strong></span> &gt;   <a name="boost.graph_traits_mpi_graph__id893185.vertex_iterator"></a>vertex_iterator;       
  <span class="bold"><strong>typedef</strong></span> <span class="bold"><strong>int</strong></span>                        <a name="boost.graph_traits_mpi_graph__id893185.vertices_size_type"></a>vertices_size_type;    
  <span class="bold"><strong>typedef</strong></span> <span class="emphasis"><em>unspecified</em></span>                <a name="boost.graph_traits_mpi_graph__id893185.edge_iterator"></a>edge_iterator;         
  <span class="bold"><strong>typedef</strong></span> <span class="bold"><strong>int</strong></span>                        <a name="boost.graph_traits_mpi_graph__id893185.edges_size_type"></a>edges_size_type;       

  <span class="emphasis"><em>// <a class="link" href="graph_traits_mpi_graph__id893185.html#id893278-bb">public static functions</a></em></span>
  <span class="type"><span class="bold"><strong>static</strong></span> vertex_descriptor</span> <a class="link" href="graph_traits_mpi_graph__id893185.html#id893282-bb">null_vertex</a>() ;
};</pre></div>
<div class="refsect1" title="Description">
<a name="id1404038"></a><h2>Description</h2>
<p>The specialization of <code class="computeroutput">graph_traits</code> for an MPI communicator allows a communicator with graph topology to be viewed as a graph. An MPI communicator with graph topology meets the requirements of the Graph, Incidence Graph, Adjacency Graph, Vertex List Graph, and Edge List Graph concepts from the Boost Graph Library. </p>
<div class="refsect2" title="graph_traits public static functions">
<a name="id1404054"></a><h3>
<a name="id893278-bb"></a><code class="computeroutput">graph_traits</code> public static functions</h3>
<div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem">
<pre class="literallayout"><span class="type"><span class="bold"><strong>static</strong></span> vertex_descriptor</span> <a name="id893282-bb"></a>null_vertex() ;</pre>Returns a vertex descriptor that can never refer to any valid vertex. </li></ol></div>
</div>
</div>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2005-2007 Douglas Gregor,
      Matthias Troyer, Trustees of Indiana University<p>
        Distributed under the Boost Software License, Version 1.0. (See accompanying
        file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">
        http://www.boost.org/LICENSE_1_0.txt </a>)
      </p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="mpi/get_id893845.html"><img src="../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../mpi/reference.html#header.boost.mpi.graph_communicator_hpp"><img src="../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="mpi/group.html"><img src="../../../doc/html/images/next.png" alt="Next"></a>
</div>
</body>
</html>