a00022.html 27 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522
  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: planar_embedding Class Reference</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 class="current"><a href="classes.html"><span>Classes</span></a></li>
  23. <li><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. <div class="tabs">
  28. <ul>
  29. <li><a href="classes.html"><span>Alphabetical&nbsp;List</span></a></li>
  30. <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
  31. <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
  32. <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
  33. </ul>
  34. </div>
  35. <h1>planar_embedding Class Reference</h1><!-- doxytag: class="planar_embedding" -->Ordered adjacency lists as a result of <a class="el" href="a00023.html" title="Tests if a graph can be drawn on a plane without any edge crossings.">planarity</a> testing.
  36. <a href="#_details">More...</a>
  37. <p>
  38. <div class="dynheader">
  39. Collaboration diagram for planar_embedding:</div>
  40. <div class="dynsection">
  41. <p><center><img src="a00185.gif" border="0" usemap="#a00186" alt="Collaboration graph"></center>
  42. <map name="a00186">
  43. <area shape="rect" href="a00014.html" title="A directed or undirected graph." alt="" coords="44,7,100,31"><area shape="rect" title="G" alt="" coords="68,28,76,36"><area shape="rect" title="G" alt="" coords="68,93,76,101"></map>
  44. <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>
  45. <p>
  46. <a href="a00187.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
  47. <tr><td></td></tr>
  48. <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
  49. <tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00022.html#8c4e3b2bf05b82ffafa00932849dbd70">planar_embedding</a> (const <a class="el" href="a00022.html">planar_embedding</a> &amp;em)</td></tr>
  50. <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00022.html#e5605eb5f21346f3f8194dd2db9de117">~planar_embedding</a> ()</td></tr>
  51. <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="a00022.html">planar_embedding</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00022.html#01b3315f9d6fbb819e6125b029ad84ac">operator=</a> (const <a class="el" href="a00022.html">planar_embedding</a> &amp;em)</td></tr>
  52. <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="a00027.html">adj_list</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00022.html#151a1e7cf6cfbbd0a09c467ec8bc61d1">adjacency</a> (<a class="el" href="a00020.html">node</a> n)</td></tr>
  53. <tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="el" href="a00027.html">adj_list</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00022.html#cff04f2f8fdd718697ac4c92bab4aea0">adjacency</a> (<a class="el" href="a00020.html">node</a> n) const </td></tr>
  54. <tr><td class="memItemLeft" nowrap align="right" valign="top">iterator&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00022.html#c0b41dd43adb80ed898b597e791230d8">adj_edges_begin</a> (<a class="el" href="a00020.html">node</a> n)</td></tr>
  55. <tr><td class="memItemLeft" nowrap align="right" valign="top">iterator&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00022.html#1345ee93995019d81cc78fb2806acc88">adj_edges_end</a> (<a class="el" href="a00020.html">node</a> n)</td></tr>
  56. <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="a00010.html">edge</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00022.html#4498733be831e1468044db038452efa4">cyclic_next</a> (<a class="el" href="a00020.html">node</a> n, <a class="el" href="a00010.html">edge</a> e)</td></tr>
  57. <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="a00010.html">edge</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00022.html#e4d5e8226c1088c17e15ee6447133383">cyclic_prev</a> (<a class="el" href="a00020.html">node</a> n, <a class="el" href="a00010.html">edge</a> e)</td></tr>
  58. <tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00022.html#b2870ca51d0df44f8006ab69c3ee74d4">write_st</a> (ostream &amp;os, <a class="el" href="a00026.html">st_number</a> &amp;st)</td></tr>
  59. <tr><td class="memItemLeft" nowrap align="right" valign="top">list&lt; <a class="el" href="a00010.html">edge</a> &gt; &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00022.html#b04859be18352bc53a120b0676a499ba">selfloops</a> ()</td></tr>
  60. <tr><td class="memItemLeft" nowrap align="right" valign="top">const list&lt; <a class="el" href="a00010.html">edge</a> &gt; &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00022.html#5bda41957054aed983245e28044f7eac">selfloops</a> () const </td></tr>
  61. <tr><td class="memItemLeft" nowrap align="right" valign="top">list&lt; <a class="el" href="a00010.html">edge</a> &gt; &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00022.html#fb50ef8f3b5b2c6690b9d364db21f36f">multiple_edges</a> ()</td></tr>
  62. <tr><td class="memItemLeft" nowrap align="right" valign="top">const list&lt; <a class="el" href="a00010.html">edge</a> &gt; &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00022.html#47dedbda766cf0769f98e6ae63ef3152">multiple_edges</a> () const </td></tr>
  63. <tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00022.html#6462d40327bf7c4c91523b888bb45cb3">check</a> ()</td></tr>
  64. <tr><td colspan="2"><br><h2>Friends</h2></td></tr>
  65. <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b6a02224dbc06343d95919289aec77c8"></a><!-- doxytag: member="planar_embedding::planarity" ref="b6a02224dbc06343d95919289aec77c8" args="" -->
  66. class&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00022.html#b6a02224dbc06343d95919289aec77c8">planarity</a></td></tr>
  67. <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0a5be4bb438c891059fae98f607f2a9c"></a><!-- doxytag: member="planar_embedding::pq_tree" ref="0a5be4bb438c891059fae98f607f2a9c" args="" -->
  68. class&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00022.html#0a5be4bb438c891059fae98f607f2a9c">pq_tree</a></td></tr>
  69. </table>
  70. <hr><a name="_details"></a><h2>Detailed Description</h2>
  71. Ordered adjacency lists as a result of <a class="el" href="a00023.html" title="Tests if a graph can be drawn on a plane without any edge crossings.">planarity</a> testing.
  72. <p>
  73. It is known that if a <a class="el" href="a00014.html" title="A directed or undirected graph.">graph</a> is planar the adjacency list of every <a class="el" href="a00020.html" title="A node in a graph.">node</a> can be ordered in such a way that it reflects the order the adjacent edges will have in a planar drawing around the <a class="el" href="a00020.html" title="A node in a graph.">node</a>. Although the tested <a class="el" href="a00014.html" title="A directed or undirected graph.">graph</a> might have been directed the planar embedding one gets will always correspond to the underlying undirected <a class="el" href="a00014.html" title="A directed or undirected graph.">graph</a>, i.e. an <a class="el" href="a00010.html" title="An edge in a graph.">edge</a> from <code>n1</code> to <code>n2</code> will occurr in both adjacency lists. <hr><h2>Constructor &amp; Destructor Documentation</h2>
  74. <a class="anchor" name="8c4e3b2bf05b82ffafa00932849dbd70"></a><!-- doxytag: member="planar_embedding::planar_embedding" ref="8c4e3b2bf05b82ffafa00932849dbd70" args="(const planar_embedding &amp;em)" -->
  75. <div class="memitem">
  76. <div class="memproto">
  77. <table class="memname">
  78. <tr>
  79. <td class="memname">planar_embedding::planar_embedding </td>
  80. <td>(</td>
  81. <td class="paramtype">const <a class="el" href="a00022.html">planar_embedding</a> &amp;&nbsp;</td>
  82. <td class="paramname"> <em>em</em> </td>
  83. <td>&nbsp;)&nbsp;</td>
  84. <td width="100%"></td>
  85. </tr>
  86. </table>
  87. </div>
  88. <div class="memdoc">
  89. <p>
  90. Make this object a copy of <code>em</code>.<p>
  91. <dl compact><dt><b>Parameters:</b></dt><dd>
  92. <table border="0" cellspacing="2" cellpadding="0">
  93. <tr><td valign="top"></td><td valign="top"><em>em</em>&nbsp;</td><td>planar embedding </td></tr>
  94. </table>
  95. </dl>
  96. </div>
  97. </div><p>
  98. <a class="anchor" name="e5605eb5f21346f3f8194dd2db9de117"></a><!-- doxytag: member="planar_embedding::~planar_embedding" ref="e5605eb5f21346f3f8194dd2db9de117" args="()" -->
  99. <div class="memitem">
  100. <div class="memproto">
  101. <table class="memname">
  102. <tr>
  103. <td class="memname">virtual planar_embedding::~planar_embedding </td>
  104. <td>(</td>
  105. <td class="paramname"> </td>
  106. <td>&nbsp;)&nbsp;</td>
  107. <td width="100%"><code> [inline, virtual]</code></td>
  108. </tr>
  109. </table>
  110. </div>
  111. <div class="memdoc">
  112. <p>
  113. Destructor.
  114. </div>
  115. </div><p>
  116. <hr><h2>Member Function Documentation</h2>
  117. <a class="anchor" name="01b3315f9d6fbb819e6125b029ad84ac"></a><!-- doxytag: member="planar_embedding::operator=" ref="01b3315f9d6fbb819e6125b029ad84ac" args="(const planar_embedding &amp;em)" -->
  118. <div class="memitem">
  119. <div class="memproto">
  120. <table class="memname">
  121. <tr>
  122. <td class="memname"><a class="el" href="a00022.html">planar_embedding</a>&amp; planar_embedding::operator= </td>
  123. <td>(</td>
  124. <td class="paramtype">const <a class="el" href="a00022.html">planar_embedding</a> &amp;&nbsp;</td>
  125. <td class="paramname"> <em>em</em> </td>
  126. <td>&nbsp;)&nbsp;</td>
  127. <td width="100%"></td>
  128. </tr>
  129. </table>
  130. </div>
  131. <div class="memdoc">
  132. <p>
  133. Assigns <code>em</code> to this object. All former information in this object will be deleted.<p>
  134. <dl compact><dt><b>Parameters:</b></dt><dd>
  135. <table border="0" cellspacing="2" cellpadding="0">
  136. <tr><td valign="top"></td><td valign="top"><em>em</em>&nbsp;</td><td></td></tr>
  137. </table>
  138. </dl>
  139. <dl class="return" compact><dt><b>Returns:</b></dt><dd>reference to this object </dd></dl>
  140. </div>
  141. </div><p>
  142. <a class="anchor" name="151a1e7cf6cfbbd0a09c467ec8bc61d1"></a><!-- doxytag: member="planar_embedding::adjacency" ref="151a1e7cf6cfbbd0a09c467ec8bc61d1" args="(node n)" -->
  143. <div class="memitem">
  144. <div class="memproto">
  145. <table class="memname">
  146. <tr>
  147. <td class="memname"><a class="el" href="a00027.html">adj_list</a>&amp; planar_embedding::adjacency </td>
  148. <td>(</td>
  149. <td class="paramtype"><a class="el" href="a00020.html">node</a>&nbsp;</td>
  150. <td class="paramname"> <em>n</em> </td>
  151. <td>&nbsp;)&nbsp;</td>
  152. <td width="100%"><code> [inline]</code></td>
  153. </tr>
  154. </table>
  155. </div>
  156. <div class="memdoc">
  157. <p>
  158. Returns reference to ordered adjacency list of <a class="el" href="a00020.html" title="A node in a graph.">node</a> <code>n</code>.<p>
  159. <dl compact><dt><b>Parameters:</b></dt><dd>
  160. <table border="0" cellspacing="2" cellpadding="0">
  161. <tr><td valign="top"></td><td valign="top"><em>n</em>&nbsp;</td><td><a class="el" href="a00020.html" title="A node in a graph.">node</a></td></tr>
  162. </table>
  163. </dl>
  164. <dl class="return" compact><dt><b>Returns:</b></dt><dd>ordered adjacency list </dd></dl>
  165. </div>
  166. </div><p>
  167. <a class="anchor" name="cff04f2f8fdd718697ac4c92bab4aea0"></a><!-- doxytag: member="planar_embedding::adjacency" ref="cff04f2f8fdd718697ac4c92bab4aea0" args="(node n) const " -->
  168. <div class="memitem">
  169. <div class="memproto">
  170. <table class="memname">
  171. <tr>
  172. <td class="memname">const <a class="el" href="a00027.html">adj_list</a>&amp; planar_embedding::adjacency </td>
  173. <td>(</td>
  174. <td class="paramtype"><a class="el" href="a00020.html">node</a>&nbsp;</td>
  175. <td class="paramname"> <em>n</em> </td>
  176. <td>&nbsp;)&nbsp;</td>
  177. <td width="100%"> const<code> [inline]</code></td>
  178. </tr>
  179. </table>
  180. </div>
  181. <div class="memdoc">
  182. <p>
  183. Returns reference to ordered adjacency list of <a class="el" href="a00020.html" title="A node in a graph.">node</a> <code>n</code>.<p>
  184. <dl compact><dt><b>Parameters:</b></dt><dd>
  185. <table border="0" cellspacing="2" cellpadding="0">
  186. <tr><td valign="top"></td><td valign="top"><em>n</em>&nbsp;</td><td><a class="el" href="a00020.html" title="A node in a graph.">node</a></td></tr>
  187. </table>
  188. </dl>
  189. <dl class="return" compact><dt><b>Returns:</b></dt><dd>ordered adjacency list </dd></dl>
  190. </div>
  191. </div><p>
  192. <a class="anchor" name="c0b41dd43adb80ed898b597e791230d8"></a><!-- doxytag: member="planar_embedding::adj_edges_begin" ref="c0b41dd43adb80ed898b597e791230d8" args="(node n)" -->
  193. <div class="memitem">
  194. <div class="memproto">
  195. <table class="memname">
  196. <tr>
  197. <td class="memname">iterator planar_embedding::adj_edges_begin </td>
  198. <td>(</td>
  199. <td class="paramtype"><a class="el" href="a00020.html">node</a>&nbsp;</td>
  200. <td class="paramname"> <em>n</em> </td>
  201. <td>&nbsp;)&nbsp;</td>
  202. <td width="100%"><code> [inline]</code></td>
  203. </tr>
  204. </table>
  205. </div>
  206. <div class="memdoc">
  207. <p>
  208. Start iteration through adjacency list of <a class="el" href="a00020.html" title="A node in a graph.">node</a> <code>n</code>.<p>
  209. <dl compact><dt><b>Parameters:</b></dt><dd>
  210. <table border="0" cellspacing="2" cellpadding="0">
  211. <tr><td valign="top"></td><td valign="top"><em>n</em>&nbsp;</td><td><a class="el" href="a00020.html" title="A node in a graph.">node</a></td></tr>
  212. </table>
  213. </dl>
  214. <dl class="return" compact><dt><b>Returns:</b></dt><dd>start iterator </dd></dl>
  215. </div>
  216. </div><p>
  217. <a class="anchor" name="1345ee93995019d81cc78fb2806acc88"></a><!-- doxytag: member="planar_embedding::adj_edges_end" ref="1345ee93995019d81cc78fb2806acc88" args="(node n)" -->
  218. <div class="memitem">
  219. <div class="memproto">
  220. <table class="memname">
  221. <tr>
  222. <td class="memname">iterator planar_embedding::adj_edges_end </td>
  223. <td>(</td>
  224. <td class="paramtype"><a class="el" href="a00020.html">node</a>&nbsp;</td>
  225. <td class="paramname"> <em>n</em> </td>
  226. <td>&nbsp;)&nbsp;</td>
  227. <td width="100%"><code> [inline]</code></td>
  228. </tr>
  229. </table>
  230. </div>
  231. <div class="memdoc">
  232. <p>
  233. End of iteration through adjacency list of <a class="el" href="a00020.html" title="A node in a graph.">node</a> <code>n</code>.<p>
  234. <dl compact><dt><b>Parameters:</b></dt><dd>
  235. <table border="0" cellspacing="2" cellpadding="0">
  236. <tr><td valign="top"></td><td valign="top"><em>@p</em>&nbsp;</td><td>n <a class="el" href="a00020.html" title="A node in a graph.">node</a></td></tr>
  237. </table>
  238. </dl>
  239. <dl class="return" compact><dt><b>Returns:</b></dt><dd>one-past the end iterator </dd></dl>
  240. </div>
  241. </div><p>
  242. <a class="anchor" name="4498733be831e1468044db038452efa4"></a><!-- doxytag: member="planar_embedding::cyclic_next" ref="4498733be831e1468044db038452efa4" args="(node n, edge e)" -->
  243. <div class="memitem">
  244. <div class="memproto">
  245. <table class="memname">
  246. <tr>
  247. <td class="memname"><a class="el" href="a00010.html">edge</a> planar_embedding::cyclic_next </td>
  248. <td>(</td>
  249. <td class="paramtype"><a class="el" href="a00020.html">node</a>&nbsp;</td>
  250. <td class="paramname"> <em>n</em>, </td>
  251. </tr>
  252. <tr>
  253. <td class="paramkey"></td>
  254. <td></td>
  255. <td class="paramtype"><a class="el" href="a00010.html">edge</a>&nbsp;</td>
  256. <td class="paramname"> <em>e</em></td><td>&nbsp;</td>
  257. </tr>
  258. <tr>
  259. <td></td>
  260. <td>)</td>
  261. <td></td><td></td><td width="100%"></td>
  262. </tr>
  263. </table>
  264. </div>
  265. <div class="memdoc">
  266. <p>
  267. Returns the cyclic successor of <a class="el" href="a00010.html" title="An edge in a graph.">edge</a> <code>e</code> in the adjacency list of <a class="el" href="a00020.html" title="A node in a graph.">node</a> <code>n</code>.<p>
  268. <dl compact><dt><b>Parameters:</b></dt><dd>
  269. <table border="0" cellspacing="2" cellpadding="0">
  270. <tr><td valign="top"></td><td valign="top"><em>n</em>&nbsp;</td><td><a class="el" href="a00020.html" title="A node in a graph.">node</a> </td></tr>
  271. <tr><td valign="top"></td><td valign="top"><em>e</em>&nbsp;</td><td><a class="el" href="a00010.html" title="An edge in a graph.">edge</a> adjacent to <code>n</code> </td></tr>
  272. </table>
  273. </dl>
  274. <dl class="return" compact><dt><b>Returns:</b></dt><dd><a class="el" href="a00010.html" title="An edge in a graph.">edge</a> following <code>e</code> in adjacency of <code>n</code> </dd></dl>
  275. </div>
  276. </div><p>
  277. <a class="anchor" name="e4d5e8226c1088c17e15ee6447133383"></a><!-- doxytag: member="planar_embedding::cyclic_prev" ref="e4d5e8226c1088c17e15ee6447133383" args="(node n, edge e)" -->
  278. <div class="memitem">
  279. <div class="memproto">
  280. <table class="memname">
  281. <tr>
  282. <td class="memname"><a class="el" href="a00010.html">edge</a> planar_embedding::cyclic_prev </td>
  283. <td>(</td>
  284. <td class="paramtype"><a class="el" href="a00020.html">node</a>&nbsp;</td>
  285. <td class="paramname"> <em>n</em>, </td>
  286. </tr>
  287. <tr>
  288. <td class="paramkey"></td>
  289. <td></td>
  290. <td class="paramtype"><a class="el" href="a00010.html">edge</a>&nbsp;</td>
  291. <td class="paramname"> <em>e</em></td><td>&nbsp;</td>
  292. </tr>
  293. <tr>
  294. <td></td>
  295. <td>)</td>
  296. <td></td><td></td><td width="100%"></td>
  297. </tr>
  298. </table>
  299. </div>
  300. <div class="memdoc">
  301. <p>
  302. Returns the cyclic predecessor of <a class="el" href="a00010.html" title="An edge in a graph.">edge</a> <code>e</code> in the adjacency list of <a class="el" href="a00020.html" title="A node in a graph.">node</a> <code>n</code>.<p>
  303. <dl compact><dt><b>Parameters:</b></dt><dd>
  304. <table border="0" cellspacing="2" cellpadding="0">
  305. <tr><td valign="top"></td><td valign="top"><em>n</em>&nbsp;</td><td><a class="el" href="a00020.html" title="A node in a graph.">node</a> </td></tr>
  306. <tr><td valign="top"></td><td valign="top"><em>e</em>&nbsp;</td><td><a class="el" href="a00010.html" title="An edge in a graph.">edge</a> adjacent to <code>n</code> </td></tr>
  307. </table>
  308. </dl>
  309. <dl class="return" compact><dt><b>Returns:</b></dt><dd><a class="el" href="a00010.html" title="An edge in a graph.">edge</a> preceding <code>e</code> in adjacency of <code>n</code> </dd></dl>
  310. </div>
  311. </div><p>
  312. <a class="anchor" name="b2870ca51d0df44f8006ab69c3ee74d4"></a><!-- doxytag: member="planar_embedding::write_st" ref="b2870ca51d0df44f8006ab69c3ee74d4" args="(ostream &amp;os, st_number &amp;st)" -->
  313. <div class="memitem">
  314. <div class="memproto">
  315. <table class="memname">
  316. <tr>
  317. <td class="memname">void planar_embedding::write_st </td>
  318. <td>(</td>
  319. <td class="paramtype">ostream &amp;&nbsp;</td>
  320. <td class="paramname"> <em>os</em>, </td>
  321. </tr>
  322. <tr>
  323. <td class="paramkey"></td>
  324. <td></td>
  325. <td class="paramtype"><a class="el" href="a00026.html">st_number</a> &amp;&nbsp;</td>
  326. <td class="paramname"> <em>st</em></td><td>&nbsp;</td>
  327. </tr>
  328. <tr>
  329. <td></td>
  330. <td>)</td>
  331. <td></td><td></td><td width="100%"></td>
  332. </tr>
  333. </table>
  334. </div>
  335. <div class="memdoc">
  336. <p>
  337. Writes embedding with st-numbers as given by <code>st</code> to <code>os</code>.<p>
  338. <dl compact><dt><b>Parameters:</b></dt><dd>
  339. <table border="0" cellspacing="2" cellpadding="0">
  340. <tr><td valign="top"></td><td valign="top"><em>os</em>&nbsp;</td><td>output stream</td></tr>
  341. <tr><td valign="top"></td><td valign="top"><em>st</em>&nbsp;</td><td>st-numbers </td></tr>
  342. </table>
  343. </dl>
  344. </div>
  345. </div><p>
  346. <a class="anchor" name="b04859be18352bc53a120b0676a499ba"></a><!-- doxytag: member="planar_embedding::selfloops" ref="b04859be18352bc53a120b0676a499ba" args="()" -->
  347. <div class="memitem">
  348. <div class="memproto">
  349. <table class="memname">
  350. <tr>
  351. <td class="memname">list&lt;<a class="el" href="a00010.html">edge</a>&gt;&amp; planar_embedding::selfloops </td>
  352. <td>(</td>
  353. <td class="paramname"> </td>
  354. <td>&nbsp;)&nbsp;</td>
  355. <td width="100%"><code> [inline]</code></td>
  356. </tr>
  357. </table>
  358. </div>
  359. <div class="memdoc">
  360. <p>
  361. Returns list of selfloops contained in the <a class="el" href="a00014.html" title="A directed or undirected graph.">graph</a>. These will not occur in the adjacency lists.<p>
  362. <dl compact><dt><b>Return values:</b></dt><dd>
  363. <table border="0" cellspacing="2" cellpadding="0">
  364. <tr><td valign="top"></td><td valign="top"><em>list</em>&nbsp;</td><td>of selfloops </td></tr>
  365. </table>
  366. </dl>
  367. </div>
  368. </div><p>
  369. <a class="anchor" name="5bda41957054aed983245e28044f7eac"></a><!-- doxytag: member="planar_embedding::selfloops" ref="5bda41957054aed983245e28044f7eac" args="() const " -->
  370. <div class="memitem">
  371. <div class="memproto">
  372. <table class="memname">
  373. <tr>
  374. <td class="memname">const list&lt;<a class="el" href="a00010.html">edge</a>&gt;&amp; planar_embedding::selfloops </td>
  375. <td>(</td>
  376. <td class="paramname"> </td>
  377. <td>&nbsp;)&nbsp;</td>
  378. <td width="100%"> const<code> [inline]</code></td>
  379. </tr>
  380. </table>
  381. </div>
  382. <div class="memdoc">
  383. <p>
  384. Returns list of selfloops contained in the <a class="el" href="a00014.html" title="A directed or undirected graph.">graph</a>. These will not occur in the adjacency lists.<p>
  385. <dl compact><dt><b>Return values:</b></dt><dd>
  386. <table border="0" cellspacing="2" cellpadding="0">
  387. <tr><td valign="top"></td><td valign="top"><em>list</em>&nbsp;</td><td>of selfloops </td></tr>
  388. </table>
  389. </dl>
  390. </div>
  391. </div><p>
  392. <a class="anchor" name="fb50ef8f3b5b2c6690b9d364db21f36f"></a><!-- doxytag: member="planar_embedding::multiple_edges" ref="fb50ef8f3b5b2c6690b9d364db21f36f" args="()" -->
  393. <div class="memitem">
  394. <div class="memproto">
  395. <table class="memname">
  396. <tr>
  397. <td class="memname">list&lt;<a class="el" href="a00010.html">edge</a>&gt;&amp; planar_embedding::multiple_edges </td>
  398. <td>(</td>
  399. <td class="paramname"> </td>
  400. <td>&nbsp;)&nbsp;</td>
  401. <td width="100%"><code> [inline]</code></td>
  402. </tr>
  403. </table>
  404. </div>
  405. <div class="memdoc">
  406. <p>
  407. Returns list of multiple edges contained in the <a class="el" href="a00014.html" title="A directed or undirected graph.">graph</a>. These are edges for which there is already another <a class="el" href="a00010.html" title="An edge in a graph.">edge</a> connecting the same endpoints is contained in the adjacency lists. Please note that the notion "connecting" is meant in an undirected sense. These edges will not occur it the adjacency lists.<p>
  408. <dl compact><dt><b>Return values:</b></dt><dd>
  409. <table border="0" cellspacing="2" cellpadding="0">
  410. <tr><td valign="top"></td><td valign="top"><em>list</em>&nbsp;</td><td>of multiple edges </td></tr>
  411. </table>
  412. </dl>
  413. </div>
  414. </div><p>
  415. <a class="anchor" name="47dedbda766cf0769f98e6ae63ef3152"></a><!-- doxytag: member="planar_embedding::multiple_edges" ref="47dedbda766cf0769f98e6ae63ef3152" args="() const " -->
  416. <div class="memitem">
  417. <div class="memproto">
  418. <table class="memname">
  419. <tr>
  420. <td class="memname">const list&lt;<a class="el" href="a00010.html">edge</a>&gt;&amp; planar_embedding::multiple_edges </td>
  421. <td>(</td>
  422. <td class="paramname"> </td>
  423. <td>&nbsp;)&nbsp;</td>
  424. <td width="100%"> const<code> [inline]</code></td>
  425. </tr>
  426. </table>
  427. </div>
  428. <div class="memdoc">
  429. <p>
  430. Returns list of multiple edges contained in the <a class="el" href="a00014.html" title="A directed or undirected graph.">graph</a>. These are edges for which there is already another <a class="el" href="a00010.html" title="An edge in a graph.">edge</a> connecting the same endpoints is contained in the adjacency lists. Please note that the notion "connecting" is meant in an undirected sense. These edges will not occur it the adjacency lists.<p>
  431. <dl compact><dt><b>Return values:</b></dt><dd>
  432. <table border="0" cellspacing="2" cellpadding="0">
  433. <tr><td valign="top"></td><td valign="top"><em>list</em>&nbsp;</td><td>of multiple edges </td></tr>
  434. </table>
  435. </dl>
  436. </div>
  437. </div><p>
  438. <a class="anchor" name="6462d40327bf7c4c91523b888bb45cb3"></a><!-- doxytag: member="planar_embedding::check" ref="6462d40327bf7c4c91523b888bb45cb3" args="()" -->
  439. <div class="memitem">
  440. <div class="memproto">
  441. <table class="memname">
  442. <tr>
  443. <td class="memname">bool planar_embedding::check </td>
  444. <td>(</td>
  445. <td class="paramname"> </td>
  446. <td>&nbsp;)&nbsp;</td>
  447. <td width="100%"></td>
  448. </tr>
  449. </table>
  450. </div>
  451. <div class="memdoc">
  452. <p>
  453. Used for debugging only. Checks whether this is a correct planar embedding by checking the faces of the <a class="el" href="a00014.html" title="A directed or undirected graph.">graph</a>, i.e. at any <a class="el" href="a00020.html" title="A node in a graph.">node</a> starting with an arbitrary adjacent <a class="el" href="a00010.html" title="An edge in a graph.">edge</a> and advancing along <code>cyclic_next</code> the start <a class="el" href="a00020.html" title="A node in a graph.">node</a> must be met through the <a class="el" href="a00010.html" title="An edge in a graph.">edge</a> given by <code>cyclic_prev</code> of the <a class="el" href="a00010.html" title="An edge in a graph.">edge</a> we started with.<p>
  454. <dl compact><dt><b>Return values:</b></dt><dd>
  455. <table border="0" cellspacing="2" cellpadding="0">
  456. <tr><td valign="top"></td><td valign="top"><em>true</em>&nbsp;</td><td>iff embedding is correct </td></tr>
  457. </table>
  458. </dl>
  459. </div>
  460. </div><p>
  461. <p class="links">
  462. <a href="http://www.uni-passau.de/">University of Passau</a>
  463. &nbsp;-&nbsp;
  464. <a href="http://www.fmi.uni-passau.de/">FMI</a>
  465. &nbsp;-&nbsp;
  466. <a href="http://www.fmi.uni-passau.de/fmi/lehrstuehle/brandenburg/">Theoretical
  467. Computer Science</a>
  468. </p>
  469. <div class="copyright">
  470. Design &copy; 2002, 2003 <a href="mailto:raitner@fmi.uni-passau.de">Marcus Raitner</a>, University of Passau
  471. </div>
  472. </body>
  473. </html>