a00079.html 5.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
  2. <html>
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
  5. <title>GTL - Graph Template Library: edge_map.h Source File</title>
  6. <link href="doxygen.css" rel="stylesheet" type="text/css">
  7. </head>
  8. <body>
  9. <p class="links">
  10. <a href="../index.html">Home</a> |
  11. Documentation |
  12. <a href="../register.html">Download</a> |
  13. <a href="../platforms.html">Platforms</a> |
  14. <a href="../refer.html">Projects</a> |
  15. <a href="../lists.html">Mailing Lists</a> |
  16. <a href="../history.html">Version History</a>
  17. </p>
  18. <!-- Generated by Doxygen 1.5.3 -->
  19. <div class="tabs">
  20. <ul>
  21. <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
  22. <li><a href="classes.html"><span>Classes</span></a></li>
  23. <li class="current"><a href="files.html"><span>Files</span></a></li>
  24. <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
  25. </ul>
  26. </div>
  27. <h1>edge_map.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">//==========================================================================</span>
  28. <a name="l00002"></a>00002 <span class="comment">//</span>
  29. <a name="l00003"></a>00003 <span class="comment">// edge_map.h</span>
  30. <a name="l00004"></a>00004 <span class="comment">//</span>
  31. <a name="l00005"></a>00005 <span class="comment">//==========================================================================</span>
  32. <a name="l00006"></a>00006 <span class="comment">// $Id: edge_map.h,v 1.8 2005/06/14 12:22:12 raitner Exp $</span>
  33. <a name="l00007"></a>00007
  34. <a name="l00008"></a>00008 <span class="preprocessor">#ifndef GTL_EDGE_MAP_H</span>
  35. <a name="l00009"></a>00009 <span class="preprocessor"></span><span class="preprocessor">#define GTL_EDGE_MAP_H</span>
  36. <a name="l00010"></a>00010 <span class="preprocessor"></span>
  37. <a name="l00011"></a>00011 <span class="preprocessor">#include &lt;GTL/GTL.h&gt;</span>
  38. <a name="l00012"></a>00012 <span class="preprocessor">#include &lt;GTL/edge.h&gt;</span>
  39. <a name="l00013"></a>00013 <span class="preprocessor">#include &lt;GTL/ne_map.h&gt;</span>
  40. <a name="l00014"></a>00014
  41. <a name="l00015"></a>00015 __GTL_BEGIN_NAMESPACE
  42. <a name="l00016"></a>00016
  43. <a name="l00017"></a>00017 <span class="keyword">class </span><a class="code" href="a00014.html" title="A directed or undirected graph.">graph</a>;
  44. <a name="l00018"></a>00018
  45. <a name="l00052"></a>00052 <span class="keyword">template</span> &lt;<span class="keyword">class</span> T, <span class="keyword">class</span> Alloc = allocator&lt;T&gt; &gt;
  46. <a name="l00053"></a><a class="code" href="a00011.html">00053</a> <span class="keyword">class </span><a class="code" href="a00011.html" title="A specialized map with edges as keys.">edge_map</a> : <span class="keyword">public</span> <a class="code" href="a00019.html" title="Baseclass for node_map and edge_map.">ne_map</a>&lt;edge, T, graph, Alloc&gt;
  47. <a name="l00054"></a>00054 {
  48. <a name="l00055"></a>00055 <span class="keyword">public</span>:
  49. <a name="l00056"></a>00056
  50. <a name="l00063"></a><a class="code" href="a00011.html#947fa280ba03fd11b1813d484572e6df">00063</a> <a class="code" href="a00011.html#947fa280ba03fd11b1813d484572e6df">edge_map</a>() : <a class="code" href="a00019.html" title="Baseclass for node_map and edge_map.">ne_map</a>&lt;<a class="code" href="a00010.html" title="An edge in a graph.">edge</a>, T, <a class="code" href="a00014.html" title="A directed or undirected graph.">graph</a>, Alloc&gt;() {};
  51. <a name="l00064"></a>00064
  52. <a name="l00071"></a><a class="code" href="a00011.html#30bd07fe13081b22071b721f66bb6796">00071</a> <span class="keyword">explicit</span> <a class="code" href="a00011.html#947fa280ba03fd11b1813d484572e6df">edge_map</a>(<span class="keyword">const</span> <a class="code" href="a00014.html" title="A directed or undirected graph.">graph</a> &amp;g, T t=T()) :
  53. <a name="l00072"></a>00072 <a class="code" href="a00019.html" title="Baseclass for node_map and edge_map.">ne_map</a>&lt;<a class="code" href="a00010.html" title="An edge in a graph.">edge</a>, T, <a class="code" href="a00014.html" title="A directed or undirected graph.">graph</a>, Alloc&gt;(g,t) {};
  54. <a name="l00073"></a>00073 };
  55. <a name="l00074"></a>00074
  56. <a name="l00075"></a>00075 __GTL_END_NAMESPACE
  57. <a name="l00076"></a>00076
  58. <a name="l00077"></a>00077 <span class="preprocessor">#endif // GTL_EDGE_MAP_H</span>
  59. <a name="l00078"></a>00078 <span class="preprocessor"></span>
  60. <a name="l00079"></a>00079 <span class="comment">//--------------------------------------------------------------------------</span>
  61. <a name="l00080"></a>00080 <span class="comment">// end of file</span>
  62. <a name="l00081"></a>00081 <span class="comment">//--------------------------------------------------------------------------</span>
  63. </pre></div> <p class="links">
  64. <a href="http://www.uni-passau.de/">University of Passau</a>
  65. &nbsp;-&nbsp;
  66. <a href="http://www.fmi.uni-passau.de/">FMI</a>
  67. &nbsp;-&nbsp;
  68. <a href="http://www.fmi.uni-passau.de/fmi/lehrstuehle/brandenburg/">Theoretical
  69. Computer Science</a>
  70. </p>
  71. <div class="copyright">
  72. Design &copy; 2002, 2003 <a href="mailto:raitner@fmi.uni-passau.de">Marcus Raitner</a>, University of Passau
  73. </div>
  74. </body>
  75. </html>