1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677 |
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
- <title>GTL - Graph Template Library: edge_map.h Source File</title>
- <link href="doxygen.css" rel="stylesheet" type="text/css">
- </head>
- <body>
- <p class="links">
- <a href="../index.html">Home</a> |
- Documentation |
- <a href="../register.html">Download</a> |
- <a href="../platforms.html">Platforms</a> |
- <a href="../refer.html">Projects</a> |
- <a href="../lists.html">Mailing Lists</a> |
- <a href="../history.html">Version History</a>
- </p>
- <!-- Generated by Doxygen 1.5.3 -->
- <div class="tabs">
- <ul>
- <li><a href="index.html"><span>Main Page</span></a></li>
- <li><a href="classes.html"><span>Classes</span></a></li>
- <li class="current"><a href="files.html"><span>Files</span></a></li>
- <li><a href="pages.html"><span>Related Pages</span></a></li>
- </ul>
- </div>
- <h1>edge_map.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">//==========================================================================</span>
- <a name="l00002"></a>00002 <span class="comment">//</span>
- <a name="l00003"></a>00003 <span class="comment">// edge_map.h</span>
- <a name="l00004"></a>00004 <span class="comment">//</span>
- <a name="l00005"></a>00005 <span class="comment">//==========================================================================</span>
- <a name="l00006"></a>00006 <span class="comment">// $Id: edge_map.h,v 1.8 2005/06/14 12:22:12 raitner Exp $</span>
- <a name="l00007"></a>00007
- <a name="l00008"></a>00008 <span class="preprocessor">#ifndef GTL_EDGE_MAP_H</span>
- <a name="l00009"></a>00009 <span class="preprocessor"></span><span class="preprocessor">#define GTL_EDGE_MAP_H</span>
- <a name="l00010"></a>00010 <span class="preprocessor"></span>
- <a name="l00011"></a>00011 <span class="preprocessor">#include <GTL/GTL.h></span>
- <a name="l00012"></a>00012 <span class="preprocessor">#include <GTL/edge.h></span>
- <a name="l00013"></a>00013 <span class="preprocessor">#include <GTL/ne_map.h></span>
- <a name="l00014"></a>00014
- <a name="l00015"></a>00015 __GTL_BEGIN_NAMESPACE
- <a name="l00016"></a>00016
- <a name="l00017"></a>00017 <span class="keyword">class </span><a class="code" href="a00014.html" title="A directed or undirected graph.">graph</a>;
- <a name="l00018"></a>00018
- <a name="l00052"></a>00052 <span class="keyword">template</span> <<span class="keyword">class</span> T, <span class="keyword">class</span> Alloc = allocator<T> >
- <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><edge, T, graph, Alloc>
- <a name="l00054"></a>00054 {
- <a name="l00055"></a>00055 <span class="keyword">public</span>:
- <a name="l00056"></a>00056
- <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><<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>() {};
- <a name="l00064"></a>00064
- <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> &g, T t=T()) :
- <a name="l00072"></a>00072 <a class="code" href="a00019.html" title="Baseclass for node_map and edge_map.">ne_map</a><<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>(g,t) {};
- <a name="l00073"></a>00073 };
- <a name="l00074"></a>00074
- <a name="l00075"></a>00075 __GTL_END_NAMESPACE
- <a name="l00076"></a>00076
- <a name="l00077"></a>00077 <span class="preprocessor">#endif // GTL_EDGE_MAP_H</span>
- <a name="l00078"></a>00078 <span class="preprocessor"></span>
- <a name="l00079"></a>00079 <span class="comment">//--------------------------------------------------------------------------</span>
- <a name="l00080"></a>00080 <span class="comment">// end of file</span>
- <a name="l00081"></a>00081 <span class="comment">//--------------------------------------------------------------------------</span>
- </pre></div> <p class="links">
- <a href="http://www.uni-passau.de/">University of Passau</a>
- -
- <a href="http://www.fmi.uni-passau.de/">FMI</a>
- -
- <a href="http://www.fmi.uni-passau.de/fmi/lehrstuehle/brandenburg/">Theoretical
- Computer Science</a>
- </p>
- <div class="copyright">
- Design © 2002, 2003 <a href="mailto:raitner@fmi.uni-passau.de">Marcus Raitner</a>, University of Passau
- </div>
- </body>
- </html>
|