a00026.html 27 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440
  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: st_number 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>st_number Class Reference</h1><!-- doxytag: class="st_number" --><!-- doxytag: inherits="algorithm" -->ST-number <a class="el" href="a00001.html" title="Abstract baseclass for all algoritm-classes.">algorithm</a>.
  36. <a href="#_details">More...</a>
  37. <p>
  38. <div class="dynheader">
  39. Inheritance diagram for st_number:</div>
  40. <div class="dynsection">
  41. <p><center><img src="a00199.gif" border="0" usemap="#a00200" alt="Inheritance graph"></center>
  42. <map name="a00200">
  43. <area shape="rect" href="a00001.html" title="Abstract baseclass for all algoritm&#45;classes." alt="" coords="9,7,87,31"></map>
  44. <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>
  45. <div class="dynheader">
  46. Collaboration diagram for st_number:</div>
  47. <div class="dynsection">
  48. <p><center><img src="a00201.gif" border="0" usemap="#a00202" alt="Collaboration graph"></center>
  49. <map name="a00202">
  50. <area shape="rect" href="a00001.html" title="Abstract baseclass for all algoritm&#45;classes." alt="" coords="5,84,83,108"><area shape="rect" href="a00020.html" title="A node in a graph." alt="" coords="107,84,157,108"><area shape="rect" title="s" alt="" coords="141,105,149,113"><area shape="rect" title="s" alt="" coords="209,171,217,179"><area shape="rect" title="int_node" alt="" coords="147,80,155,88"><area shape="rect" title="int_node" alt="" coords="152,105,160,113"><area shape="rect" href="a00021.html" title="node_map\&lt; int \&gt;" alt="" coords="257,84,380,108"><area shape="rect" title="st_num" alt="" coords="301,105,309,113"><area shape="rect" title="st_num" alt="" coords="233,171,241,179"><area shape="rect" href="a00019.html" title="ne_map\&lt; node, int, graph, allocator\&lt; int \&gt; \&gt;" alt="" coords="177,7,460,31"><area shape="rect" href="a00010.html" title="An edge in a graph." alt="" coords="404,84,455,108"><area shape="rect" title="st" alt="" coords="404,105,412,113"><area shape="rect" title="st" alt="" coords="263,171,271,179"></map>
  51. <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>
  52. <p>
  53. <a href="a00203.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
  54. <tr><td></td></tr>
  55. <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
  56. <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="07532323fbcc643dfc419809385b64a7"></a><!-- doxytag: member="st_number::st_number" ref="07532323fbcc643dfc419809385b64a7" args="()" -->
  57. &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00026.html#07532323fbcc643dfc419809385b64a7">st_number</a> ()</td></tr>
  58. <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Default constructor. Creates st-number object. Please note that there are no reasonable default settings for the parameters, i.e. the <a class="el" href="a00010.html" title="An edge in a graph.">edge</a> st connecting the lowest with highest numbers <a class="el" href="a00020.html" title="A node in a graph.">node</a> and which of its endpoints should get number 1 (= <a class="el" href="a00020.html" title="A node in a graph.">node</a> <em>s</em>) has to be specified always. <br></td></tr>
  59. <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="4f3a2a6ceab39d106c920ee3546c259d"></a><!-- doxytag: member="st_number::~st_number" ref="4f3a2a6ceab39d106c920ee3546c259d" args="()" -->
  60. virtual&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00026.html#4f3a2a6ceab39d106c920ee3546c259d">~st_number</a> ()</td></tr>
  61. <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Destructor. <br></td></tr>
  62. <tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00026.html#1564af6f603160105643f22bf2f6955b">st_edge</a> (<a class="el" href="a00010.html">edge</a> e)</td></tr>
  63. <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets <a class="el" href="a00010.html" title="An edge in a graph.">edge</a> <em>st</em> for the next run. <a href="#1564af6f603160105643f22bf2f6955b"></a><br></td></tr>
  64. <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="a00026.html#58fc3b24be01d7b06fd4b6f94340e1c3">st_edge</a> () const </td></tr>
  65. <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get <a class="el" href="a00010.html" title="An edge in a graph.">edge</a> <em>st</em>. <a href="#58fc3b24be01d7b06fd4b6f94340e1c3"></a><br></td></tr>
  66. <tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00026.html#a607c9aaa5a4d9c45e5854ce672f0fda">s_node</a> (<a class="el" href="a00020.html">node</a> n)</td></tr>
  67. <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets <a class="el" href="a00020.html" title="A node in a graph.">node</a> <em>s</em> for next run. <a href="#a607c9aaa5a4d9c45e5854ce672f0fda"></a><br></td></tr>
  68. <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="a00020.html">node</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00026.html#48e4837ebed88445c1f594024d8753dc">s_node</a> () const </td></tr>
  69. <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get <a class="el" href="a00020.html" title="A node in a graph.">node</a> <em>s</em>. <a href="#48e4837ebed88445c1f594024d8753dc"></a><br></td></tr>
  70. <tr><td class="memItemLeft" nowrap align="right" valign="top">int &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00026.html#969162a10da5daba4219419d45c4be51">operator[]</a> (const <a class="el" href="a00020.html">node</a> &amp;n)</td></tr>
  71. <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns st-number of <a class="el" href="a00020.html" title="A node in a graph.">node</a> <code>n</code> as determined in the last run. <a href="#969162a10da5daba4219419d45c4be51"></a><br></td></tr>
  72. <tr><td class="memItemLeft" nowrap align="right" valign="top">iterator&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00026.html#1eddb2577b16109d22cde98a8ffde057">begin</a> ()</td></tr>
  73. <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Iteration through the nodes of <a class="el" href="a00014.html" title="A directed or undirected graph.">graph</a> st-numbered in last run in st-number order, i.e. from 1 to highest st-number. <a href="#1eddb2577b16109d22cde98a8ffde057"></a><br></td></tr>
  74. <tr><td class="memItemLeft" nowrap align="right" valign="top">iterator&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00026.html#3912b83a8cbddcb1fc804d20be528d52">end</a> ()</td></tr>
  75. <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Iteration through nodes of <a class="el" href="a00014.html" title="A directed or undirected graph.">graph</a> in st-number order. <a href="#3912b83a8cbddcb1fc804d20be528d52"></a><br></td></tr>
  76. <tr><td class="memItemLeft" nowrap align="right" valign="top">reverse_iterator&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00026.html#56f2c67e9b49362947fe0c99278f6d31">rbegin</a> ()</td></tr>
  77. <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Iteration through the nodes of <a class="el" href="a00014.html" title="A directed or undirected graph.">graph</a> st-numbered in last run in reverse st-number order, i.e. from highest st-number down to 1. <a href="#56f2c67e9b49362947fe0c99278f6d31"></a><br></td></tr>
  78. <tr><td class="memItemLeft" nowrap align="right" valign="top">reverse_iterator&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00026.html#4c5fdce6ab2be7ee9ddbb09e8d5c8560">rend</a> ()</td></tr>
  79. <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">End of iteration through nodes of <a class="el" href="a00014.html" title="A directed or undirected graph.">graph</a> in reverse st-number order. <a href="#4c5fdce6ab2be7ee9ddbb09e8d5c8560"></a><br></td></tr>
  80. <tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00026.html#2aad4550b821c52d6998bff35fd8648f">check</a> (<a class="el" href="a00014.html">graph</a> &amp;G)</td></tr>
  81. <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Checks whether st-number <a class="el" href="a00001.html" title="Abstract baseclass for all algoritm-classes.">algorithm</a> can be applied to <code>G</code>. <a href="#2aad4550b821c52d6998bff35fd8648f"></a><br></td></tr>
  82. <tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00026.html#f902a0c05d07d47b587e8f7a6b7beaa1">run</a> (<a class="el" href="a00014.html">graph</a> &amp;G)</td></tr>
  83. <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Runs st-number <a class="el" href="a00001.html" title="Abstract baseclass for all algoritm-classes.">algorithm</a> on <a class="el" href="a00014.html" title="A directed or undirected graph.">graph</a> <code>G</code>. <a href="#f902a0c05d07d47b587e8f7a6b7beaa1"></a><br></td></tr>
  84. <tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00026.html#e6f86706b8ae3495d3794b8c684fff0f">reset</a> ()</td></tr>
  85. <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Resets <a class="el" href="a00001.html" title="Abstract baseclass for all algoritm-classes.">algorithm</a> in order to be applied to the next <a class="el" href="a00014.html" title="A directed or undirected graph.">graph</a>. <a href="#e6f86706b8ae3495d3794b8c684fff0f"></a><br></td></tr>
  86. </table>
  87. <hr><a name="_details"></a><h2>Detailed Description</h2>
  88. ST-number <a class="el" href="a00001.html" title="Abstract baseclass for all algoritm-classes.">algorithm</a>.
  89. <p>
  90. Encapsulates the st-number <a class="el" href="a00001.html" title="Abstract baseclass for all algoritm-classes.">algorithm</a> together with all the data produced by it. <p>
  91. Assigns an integer <code>st[n]</code> to each <a class="el" href="a00020.html" title="A node in a graph.">node</a> <code>n</code> of a undirected, biconnected <a class="el" href="a00014.html" title="A directed or undirected graph.">graph</a>, such that each <a class="el" href="a00020.html" title="A node in a graph.">node</a> is connected with at least one <a class="el" href="a00020.html" title="A node in a graph.">node</a> having a smaller and with at least one having a larger number than itself. The only exception to this rule are the endpoints of <a class="el" href="a00010.html" title="An edge in a graph.">edge</a> <em>st</em> connecting nodes <em>s</em> (st-number 1) and <code>t</code> (highest st-number). <p>
  92. The following options are supported:<ul>
  93. <li><a class="el" href="a00026.html#1564af6f603160105643f22bf2f6955b" title="Sets edge st for the next run.">st_edge</a> sets/retrieves the <a class="el" href="a00010.html" title="An edge in a graph.">edge</a> that connects the <a class="el" href="a00020.html" title="A node in a graph.">node</a> with the lowest number to that with the highest.</li><li><a class="el" href="a00026.html#a607c9aaa5a4d9c45e5854ce672f0fda" title="Sets node s for next run.">s_node</a> sets/retrieves that endpoints of the <em>st_edge</em>, which gets number 1. </li></ul>
  94. <hr><h2>Member Function Documentation</h2>
  95. <a class="anchor" name="1564af6f603160105643f22bf2f6955b"></a><!-- doxytag: member="st_number::st_edge" ref="1564af6f603160105643f22bf2f6955b" args="(edge e)" -->
  96. <div class="memitem">
  97. <div class="memproto">
  98. <table class="memname">
  99. <tr>
  100. <td class="memname">void st_number::st_edge </td>
  101. <td>(</td>
  102. <td class="paramtype"><a class="el" href="a00010.html">edge</a>&nbsp;</td>
  103. <td class="paramname"> <em>e</em> </td>
  104. <td>&nbsp;)&nbsp;</td>
  105. <td width="100%"><code> [inline]</code></td>
  106. </tr>
  107. </table>
  108. </div>
  109. <div class="memdoc">
  110. <p>
  111. Sets <a class="el" href="a00010.html" title="An edge in a graph.">edge</a> <em>st</em> for the next run.
  112. <p>
  113. <dl compact><dt><b>Parameters:</b></dt><dd>
  114. <table border="0" cellspacing="2" cellpadding="0">
  115. <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> <em>st</em> </td></tr>
  116. </table>
  117. </dl>
  118. </div>
  119. </div><p>
  120. <a class="anchor" name="58fc3b24be01d7b06fd4b6f94340e1c3"></a><!-- doxytag: member="st_number::st_edge" ref="58fc3b24be01d7b06fd4b6f94340e1c3" args="() const " -->
  121. <div class="memitem">
  122. <div class="memproto">
  123. <table class="memname">
  124. <tr>
  125. <td class="memname"><a class="el" href="a00010.html">edge</a> st_number::st_edge </td>
  126. <td>(</td>
  127. <td class="paramname"> </td>
  128. <td>&nbsp;)&nbsp;</td>
  129. <td width="100%"> const<code> [inline]</code></td>
  130. </tr>
  131. </table>
  132. </div>
  133. <div class="memdoc">
  134. <p>
  135. Get <a class="el" href="a00010.html" title="An edge in a graph.">edge</a> <em>st</em>.
  136. <p>
  137. <dl compact><dt><b>Return values:</b></dt><dd>
  138. <table border="0" cellspacing="2" cellpadding="0">
  139. <tr><td valign="top"></td><td valign="top"><em><a class="el" href="a00010.html" title="An edge in a graph.">edge</a></em>&nbsp;</td><td><em>st</em> </td></tr>
  140. </table>
  141. </dl>
  142. </div>
  143. </div><p>
  144. <a class="anchor" name="a607c9aaa5a4d9c45e5854ce672f0fda"></a><!-- doxytag: member="st_number::s_node" ref="a607c9aaa5a4d9c45e5854ce672f0fda" args="(node n)" -->
  145. <div class="memitem">
  146. <div class="memproto">
  147. <table class="memname">
  148. <tr>
  149. <td class="memname">void st_number::s_node </td>
  150. <td>(</td>
  151. <td class="paramtype"><a class="el" href="a00020.html">node</a>&nbsp;</td>
  152. <td class="paramname"> <em>n</em> </td>
  153. <td>&nbsp;)&nbsp;</td>
  154. <td width="100%"><code> [inline]</code></td>
  155. </tr>
  156. </table>
  157. </div>
  158. <div class="memdoc">
  159. <p>
  160. Sets <a class="el" href="a00020.html" title="A node in a graph.">node</a> <em>s</em> for next run.
  161. <p>
  162. This must be one of the endpoints of <a class="el" href="a00010.html" title="An edge in a graph.">edge</a> <em>st</em>. This <a class="el" href="a00020.html" title="A node in a graph.">node</a> will get st-number 1 and thus the other endpoint will get the highest st-number.<p>
  163. <dl compact><dt><b>Parameters:</b></dt><dd>
  164. <table border="0" cellspacing="2" cellpadding="0">
  165. <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> <em>s</em> </td></tr>
  166. </table>
  167. </dl>
  168. </div>
  169. </div><p>
  170. <a class="anchor" name="48e4837ebed88445c1f594024d8753dc"></a><!-- doxytag: member="st_number::s_node" ref="48e4837ebed88445c1f594024d8753dc" args="() const " -->
  171. <div class="memitem">
  172. <div class="memproto">
  173. <table class="memname">
  174. <tr>
  175. <td class="memname"><a class="el" href="a00020.html">node</a> st_number::s_node </td>
  176. <td>(</td>
  177. <td class="paramname"> </td>
  178. <td>&nbsp;)&nbsp;</td>
  179. <td width="100%"> const<code> [inline]</code></td>
  180. </tr>
  181. </table>
  182. </div>
  183. <div class="memdoc">
  184. <p>
  185. Get <a class="el" href="a00020.html" title="A node in a graph.">node</a> <em>s</em>.
  186. <p>
  187. <dl compact><dt><b>Return values:</b></dt><dd>
  188. <table border="0" cellspacing="2" cellpadding="0">
  189. <tr><td valign="top"></td><td valign="top"><em><a class="el" href="a00020.html" title="A node in a graph.">node</a></em>&nbsp;</td><td><em>s</em> </td></tr>
  190. </table>
  191. </dl>
  192. </div>
  193. </div><p>
  194. <a class="anchor" name="969162a10da5daba4219419d45c4be51"></a><!-- doxytag: member="st_number::operator[]" ref="969162a10da5daba4219419d45c4be51" args="(const node &amp;n)" -->
  195. <div class="memitem">
  196. <div class="memproto">
  197. <table class="memname">
  198. <tr>
  199. <td class="memname">int&amp; st_number::operator[] </td>
  200. <td>(</td>
  201. <td class="paramtype">const <a class="el" href="a00020.html">node</a> &amp;&nbsp;</td>
  202. <td class="paramname"> <em>n</em> </td>
  203. <td>&nbsp;)&nbsp;</td>
  204. <td width="100%"><code> [inline]</code></td>
  205. </tr>
  206. </table>
  207. </div>
  208. <div class="memdoc">
  209. <p>
  210. Returns st-number of <a class="el" href="a00020.html" title="A node in a graph.">node</a> <code>n</code> as determined in the last run.
  211. <p>
  212. <dl compact><dt><b>Parameters:</b></dt><dd>
  213. <table border="0" cellspacing="2" cellpadding="0">
  214. <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>
  215. </table>
  216. </dl>
  217. <dl class="return" compact><dt><b>Returns:</b></dt><dd>st-number of <code>n</code> </dd></dl>
  218. </div>
  219. </div><p>
  220. <a class="anchor" name="1eddb2577b16109d22cde98a8ffde057"></a><!-- doxytag: member="st_number::begin" ref="1eddb2577b16109d22cde98a8ffde057" args="()" -->
  221. <div class="memitem">
  222. <div class="memproto">
  223. <table class="memname">
  224. <tr>
  225. <td class="memname">iterator st_number::begin </td>
  226. <td>(</td>
  227. <td class="paramname"> </td>
  228. <td>&nbsp;)&nbsp;</td>
  229. <td width="100%"><code> [inline]</code></td>
  230. </tr>
  231. </table>
  232. </div>
  233. <div class="memdoc">
  234. <p>
  235. Iteration through the nodes of <a class="el" href="a00014.html" title="A directed or undirected graph.">graph</a> st-numbered in last run in st-number order, i.e. from 1 to highest st-number.
  236. <p>
  237. <dl class="return" compact><dt><b>Returns:</b></dt><dd>start of iteration through nodes in st-number order </dd></dl>
  238. </div>
  239. </div><p>
  240. <a class="anchor" name="3912b83a8cbddcb1fc804d20be528d52"></a><!-- doxytag: member="st_number::end" ref="3912b83a8cbddcb1fc804d20be528d52" args="()" -->
  241. <div class="memitem">
  242. <div class="memproto">
  243. <table class="memname">
  244. <tr>
  245. <td class="memname">iterator st_number::end </td>
  246. <td>(</td>
  247. <td class="paramname"> </td>
  248. <td>&nbsp;)&nbsp;</td>
  249. <td width="100%"><code> [inline]</code></td>
  250. </tr>
  251. </table>
  252. </div>
  253. <div class="memdoc">
  254. <p>
  255. Iteration through nodes of <a class="el" href="a00014.html" title="A directed or undirected graph.">graph</a> in st-number order.
  256. <p>
  257. <dl class="return" compact><dt><b>Returns:</b></dt><dd>end of iteration through nodes of <a class="el" href="a00014.html" title="A directed or undirected graph.">graph</a> in st-number order </dd></dl>
  258. </div>
  259. </div><p>
  260. <a class="anchor" name="56f2c67e9b49362947fe0c99278f6d31"></a><!-- doxytag: member="st_number::rbegin" ref="56f2c67e9b49362947fe0c99278f6d31" args="()" -->
  261. <div class="memitem">
  262. <div class="memproto">
  263. <table class="memname">
  264. <tr>
  265. <td class="memname">reverse_iterator st_number::rbegin </td>
  266. <td>(</td>
  267. <td class="paramname"> </td>
  268. <td>&nbsp;)&nbsp;</td>
  269. <td width="100%"><code> [inline]</code></td>
  270. </tr>
  271. </table>
  272. </div>
  273. <div class="memdoc">
  274. <p>
  275. Iteration through the nodes of <a class="el" href="a00014.html" title="A directed or undirected graph.">graph</a> st-numbered in last run in reverse st-number order, i.e. from highest st-number down to 1.
  276. <p>
  277. <dl class="return" compact><dt><b>Returns:</b></dt><dd>start of iteration through nodes in reverse st-number order </dd></dl>
  278. </div>
  279. </div><p>
  280. <a class="anchor" name="4c5fdce6ab2be7ee9ddbb09e8d5c8560"></a><!-- doxytag: member="st_number::rend" ref="4c5fdce6ab2be7ee9ddbb09e8d5c8560" args="()" -->
  281. <div class="memitem">
  282. <div class="memproto">
  283. <table class="memname">
  284. <tr>
  285. <td class="memname">reverse_iterator st_number::rend </td>
  286. <td>(</td>
  287. <td class="paramname"> </td>
  288. <td>&nbsp;)&nbsp;</td>
  289. <td width="100%"><code> [inline]</code></td>
  290. </tr>
  291. </table>
  292. </div>
  293. <div class="memdoc">
  294. <p>
  295. End of iteration through nodes of <a class="el" href="a00014.html" title="A directed or undirected graph.">graph</a> in reverse st-number order.
  296. <p>
  297. <dl class="return" compact><dt><b>Returns:</b></dt><dd>end of iteration through nodes in reverse st-number order </dd></dl>
  298. </div>
  299. </div><p>
  300. <a class="anchor" name="2aad4550b821c52d6998bff35fd8648f"></a><!-- doxytag: member="st_number::check" ref="2aad4550b821c52d6998bff35fd8648f" args="(graph &amp;G)" -->
  301. <div class="memitem">
  302. <div class="memproto">
  303. <table class="memname">
  304. <tr>
  305. <td class="memname">int st_number::check </td>
  306. <td>(</td>
  307. <td class="paramtype"><a class="el" href="a00014.html">graph</a> &amp;&nbsp;</td>
  308. <td class="paramname"> <em>G</em> </td>
  309. <td>&nbsp;)&nbsp;</td>
  310. <td width="100%"><code> [virtual]</code></td>
  311. </tr>
  312. </table>
  313. </div>
  314. <div class="memdoc">
  315. <p>
  316. Checks whether st-number <a class="el" href="a00001.html" title="Abstract baseclass for all algoritm-classes.">algorithm</a> can be applied to <code>G</code>.
  317. <p>
  318. Besides from the trivial preconditions that <a class="el" href="a00010.html" title="An edge in a graph.">edge</a> <em>st</em> and <a class="el" href="a00020.html" title="A node in a graph.">node</a> <em>s</em> lie in <code>G</code> and <em>s</em> is really an endpoint of <em>st</em> (which isn't checked), <code>G</code> must be undirected and biconnected. <dl class="note" compact><dt><b>Note:</b></dt><dd>As for all algorithms in GTL, <a class="el" href="a00026.html#2aad4550b821c52d6998bff35fd8648f" title="Checks whether st-number algorithm can be applied to G.">check</a> must be called, because it might do some initialization.</dd></dl>
  319. <dl compact><dt><b>Parameters:</b></dt><dd>
  320. <table border="0" cellspacing="2" cellpadding="0">
  321. <tr><td valign="top"></td><td valign="top"><em>G</em>&nbsp;</td><td><a class="el" href="a00014.html" title="A directed or undirected graph.">graph</a></td></tr>
  322. </table>
  323. </dl>
  324. <dl compact><dt><b>Return values:</b></dt><dd>
  325. <table border="0" cellspacing="2" cellpadding="0">
  326. <tr><td valign="top"></td><td valign="top"><em><a class="el" href="a00001.html#f1a0078e153aa99c24f9bdf0d97f67105114c20e4a96a76b5de9f28bf15e282b">algorithm::GTL_OK</a></em>&nbsp;</td><td>iff st-number <a class="el" href="a00001.html" title="Abstract baseclass for all algoritm-classes.">algorithm</a> may be applied</td></tr>
  327. </table>
  328. </dl>
  329. <dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="a00001.html#76361fb03ad1cf643affc51821e43bed" title="Checks whether all preconditions are satisfied.">algorithm::check</a> </dd></dl>
  330. <p>Implements <a class="el" href="a00001.html#76361fb03ad1cf643affc51821e43bed">algorithm</a>.</p>
  331. </div>
  332. </div><p>
  333. <a class="anchor" name="f902a0c05d07d47b587e8f7a6b7beaa1"></a><!-- doxytag: member="st_number::run" ref="f902a0c05d07d47b587e8f7a6b7beaa1" args="(graph &amp;G)" -->
  334. <div class="memitem">
  335. <div class="memproto">
  336. <table class="memname">
  337. <tr>
  338. <td class="memname">int st_number::run </td>
  339. <td>(</td>
  340. <td class="paramtype"><a class="el" href="a00014.html">graph</a> &amp;&nbsp;</td>
  341. <td class="paramname"> <em>G</em> </td>
  342. <td>&nbsp;)&nbsp;</td>
  343. <td width="100%"><code> [virtual]</code></td>
  344. </tr>
  345. </table>
  346. </div>
  347. <div class="memdoc">
  348. <p>
  349. Runs st-number <a class="el" href="a00001.html" title="Abstract baseclass for all algoritm-classes.">algorithm</a> on <a class="el" href="a00014.html" title="A directed or undirected graph.">graph</a> <code>G</code>.
  350. <p>
  351. It is assumed that <a class="el" href="a00026.html#2aad4550b821c52d6998bff35fd8648f" title="Checks whether st-number algorithm can be applied to G.">check</a> was called previously and returned <a class="el" href="a00001.html#f1a0078e153aa99c24f9bdf0d97f67105114c20e4a96a76b5de9f28bf15e282b">algorithm::GTL_OK</a>.<p>
  352. <dl compact><dt><b>Parameters:</b></dt><dd>
  353. <table border="0" cellspacing="2" cellpadding="0">
  354. <tr><td valign="top"></td><td valign="top"><em>G</em>&nbsp;</td><td><a class="el" href="a00014.html" title="A directed or undirected graph.">graph</a></td></tr>
  355. </table>
  356. </dl>
  357. <dl class="return" compact><dt><b>Returns:</b></dt><dd><a class="el" href="a00001.html#f1a0078e153aa99c24f9bdf0d97f67105114c20e4a96a76b5de9f28bf15e282b">algorithm::GTL_OK</a> iff <code>G</code> could be correctly st-numbered</dd></dl>
  358. <dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="a00001.html#734b189509a8d6b56b65f8ff772d43ca" title="Applies algorithm to graph g.">algorithm::run</a> </dd></dl>
  359. <p>Implements <a class="el" href="a00001.html#734b189509a8d6b56b65f8ff772d43ca">algorithm</a>.</p>
  360. </div>
  361. </div><p>
  362. <a class="anchor" name="e6f86706b8ae3495d3794b8c684fff0f"></a><!-- doxytag: member="st_number::reset" ref="e6f86706b8ae3495d3794b8c684fff0f" args="()" -->
  363. <div class="memitem">
  364. <div class="memproto">
  365. <table class="memname">
  366. <tr>
  367. <td class="memname">void st_number::reset </td>
  368. <td>(</td>
  369. <td class="paramname"> </td>
  370. <td>&nbsp;)&nbsp;</td>
  371. <td width="100%"><code> [inline, virtual]</code></td>
  372. </tr>
  373. </table>
  374. </div>
  375. <div class="memdoc">
  376. <p>
  377. Resets <a class="el" href="a00001.html" title="Abstract baseclass for all algoritm-classes.">algorithm</a> in order to be applied to the next <a class="el" href="a00014.html" title="A directed or undirected graph.">graph</a>.
  378. <p>
  379. This will delete most of the information obtained in the last run.<p>
  380. <dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="a00001.html#21aba63d066ae7897de6ca7d8425c408" title="Resets algorithm.">algorithm::reset</a> </dd></dl>
  381. <p>Implements <a class="el" href="a00001.html#21aba63d066ae7897de6ca7d8425c408">algorithm</a>.</p>
  382. </div>
  383. </div><p>
  384. <p class="links">
  385. <a href="http://www.uni-passau.de/">University of Passau</a>
  386. &nbsp;-&nbsp;
  387. <a href="http://www.fmi.uni-passau.de/">FMI</a>
  388. &nbsp;-&nbsp;
  389. <a href="http://www.fmi.uni-passau.de/fmi/lehrstuehle/brandenburg/">Theoretical
  390. Computer Science</a>
  391. </p>
  392. <div class="copyright">
  393. Design &copy; 2002, 2003 <a href="mailto:raitner@fmi.uni-passau.de">Marcus Raitner</a>, University of Passau
  394. </div>
  395. </body>
  396. </html>