SubNet.html 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  2. <!-- NewPage -->
  3. <html lang="de">
  4. <head>
  5. <!-- Generated by javadoc (1.8.0_74) on Tue Sep 27 12:48:17 CEST 2016 -->
  6. <title>Uses of Class classes.SubNet</title>
  7. <meta name="date" content="2016-09-27">
  8. <link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style">
  9. <script type="text/javascript" src="../../script.js"></script>
  10. </head>
  11. <body>
  12. <script type="text/javascript"><!--
  13. try {
  14. if (location.href.indexOf('is-external=true') == -1) {
  15. parent.document.title="Uses of Class classes.SubNet";
  16. }
  17. }
  18. catch(err) {
  19. }
  20. //-->
  21. </script>
  22. <noscript>
  23. <div>JavaScript is disabled on your browser.</div>
  24. </noscript>
  25. <!-- ========= START OF TOP NAVBAR ======= -->
  26. <div class="topNav"><a name="navbar.top">
  27. <!-- -->
  28. </a>
  29. <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
  30. <a name="navbar.top.firstrow">
  31. <!-- -->
  32. </a>
  33. <ul class="navList" title="Navigation">
  34. <li><a href="../../overview-summary.html">Overview</a></li>
  35. <li><a href="../package-summary.html">Package</a></li>
  36. <li><a href="../../classes/SubNet.html" title="class in classes">Class</a></li>
  37. <li class="navBarCell1Rev">Use</li>
  38. <li><a href="../package-tree.html">Tree</a></li>
  39. <li><a href="../../deprecated-list.html">Deprecated</a></li>
  40. <li><a href="../../index-files/index-1.html">Index</a></li>
  41. <li><a href="../../help-doc.html">Help</a></li>
  42. </ul>
  43. </div>
  44. <div class="subNav">
  45. <ul class="navList">
  46. <li>Prev</li>
  47. <li>Next</li>
  48. </ul>
  49. <ul class="navList">
  50. <li><a href="../../index.html?classes/class-use/SubNet.html" target="_top">Frames</a></li>
  51. <li><a href="SubNet.html" target="_top">No&nbsp;Frames</a></li>
  52. </ul>
  53. <ul class="navList" id="allclasses_navbar_top">
  54. <li><a href="../../allclasses-noframe.html">All&nbsp;Classes</a></li>
  55. </ul>
  56. <div>
  57. <script type="text/javascript"><!--
  58. allClassesLink = document.getElementById("allclasses_navbar_top");
  59. if(window==top) {
  60. allClassesLink.style.display = "block";
  61. }
  62. else {
  63. allClassesLink.style.display = "none";
  64. }
  65. //-->
  66. </script>
  67. </div>
  68. <a name="skip.navbar.top">
  69. <!-- -->
  70. </a></div>
  71. <!-- ========= END OF TOP NAVBAR ========= -->
  72. <div class="header">
  73. <h2 title="Uses of Class classes.SubNet" class="title">Uses of Class<br>classes.SubNet</h2>
  74. </div>
  75. <div class="classUseContainer">
  76. <ul class="blockList">
  77. <li class="blockList">
  78. <table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing packages, and an explanation">
  79. <caption><span>Packages that use <a href="../../classes/SubNet.html" title="class in classes">SubNet</a></span><span class="tabEnd">&nbsp;</span></caption>
  80. <tr>
  81. <th class="colFirst" scope="col">Package</th>
  82. <th class="colLast" scope="col">Description</th>
  83. </tr>
  84. <tbody>
  85. <tr class="altColor">
  86. <td class="colFirst"><a href="#api">api</a></td>
  87. <td class="colLast">&nbsp;</td>
  88. </tr>
  89. <tr class="rowColor">
  90. <td class="colFirst"><a href="#ui.controller">ui.controller</a></td>
  91. <td class="colLast">&nbsp;</td>
  92. </tr>
  93. </tbody>
  94. </table>
  95. </li>
  96. <li class="blockList">
  97. <ul class="blockList">
  98. <li class="blockList"><a name="api">
  99. <!-- -->
  100. </a>
  101. <h3>Uses of <a href="../../classes/SubNet.html" title="class in classes">SubNet</a> in <a href="../../api/package-summary.html">api</a></h3>
  102. <table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
  103. <caption><span>Methods in <a href="../../api/package-summary.html">api</a> that return types with arguments of type <a href="../../classes/SubNet.html" title="class in classes">SubNet</a></span><span class="tabEnd">&nbsp;</span></caption>
  104. <tr>
  105. <th class="colFirst" scope="col">Modifier and Type</th>
  106. <th class="colLast" scope="col">Method and Description</th>
  107. </tr>
  108. <tbody>
  109. <tr class="altColor">
  110. <td class="colFirst"><code>java.util.ArrayList&lt;<a href="../../classes/SubNet.html" title="class in classes">SubNet</a>&gt;</code></td>
  111. <td class="colLast"><span class="typeNameLabel">CpsAPI.</span><code><span class="memberNameLink"><a href="../../api/CpsAPI.html#getSubNets--">getSubNets</a></span>()</code>
  112. <div class="block">a SubNet contains all Components.</div>
  113. </td>
  114. </tr>
  115. </tbody>
  116. </table>
  117. </li>
  118. <li class="blockList"><a name="ui.controller">
  119. <!-- -->
  120. </a>
  121. <h3>Uses of <a href="../../classes/SubNet.html" title="class in classes">SubNet</a> in <a href="../../ui/controller/package-summary.html">ui.controller</a></h3>
  122. <table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
  123. <caption><span>Methods in <a href="../../ui/controller/package-summary.html">ui.controller</a> that return <a href="../../classes/SubNet.html" title="class in classes">SubNet</a></span><span class="tabEnd">&nbsp;</span></caption>
  124. <tr>
  125. <th class="colFirst" scope="col">Modifier and Type</th>
  126. <th class="colLast" scope="col">Method and Description</th>
  127. </tr>
  128. <tbody>
  129. <tr class="altColor">
  130. <td class="colFirst"><code><a href="../../classes/SubNet.html" title="class in classes">SubNet</a></code></td>
  131. <td class="colLast"><span class="typeNameLabel">SimulationManager.</span><code><span class="memberNameLink"><a href="../../ui/controller/SimulationManager.html#buildSubNet-classes.AbstractCpsObject-java.util.ArrayList-classes.SubNet-">buildSubNet</a></span>(<a href="../../classes/AbstractCpsObject.html" title="class in classes">AbstractCpsObject</a>&nbsp;cps,
  132. java.util.ArrayList&lt;java.lang.Integer&gt;&nbsp;visited,
  133. <a href="../../classes/SubNet.html" title="class in classes">SubNet</a>&nbsp;sN)</code>
  134. <div class="block">recursivly generates a subnet of all objects, that one specific object is
  135. connected to.</div>
  136. </td>
  137. </tr>
  138. </tbody>
  139. </table>
  140. <table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
  141. <caption><span>Methods in <a href="../../ui/controller/package-summary.html">ui.controller</a> that return types with arguments of type <a href="../../classes/SubNet.html" title="class in classes">SubNet</a></span><span class="tabEnd">&nbsp;</span></caption>
  142. <tr>
  143. <th class="colFirst" scope="col">Modifier and Type</th>
  144. <th class="colLast" scope="col">Method and Description</th>
  145. </tr>
  146. <tbody>
  147. <tr class="altColor">
  148. <td class="colFirst"><code>java.util.ArrayList&lt;<a href="../../classes/SubNet.html" title="class in classes">SubNet</a>&gt;</code></td>
  149. <td class="colLast"><span class="typeNameLabel">SimulationManager.</span><code><span class="memberNameLink"><a href="../../ui/controller/SimulationManager.html#getSubNets--">getSubNets</a></span>()</code>
  150. <div class="block">Get all Subnets.</div>
  151. </td>
  152. </tr>
  153. </tbody>
  154. </table>
  155. <table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
  156. <caption><span>Methods in <a href="../../ui/controller/package-summary.html">ui.controller</a> with parameters of type <a href="../../classes/SubNet.html" title="class in classes">SubNet</a></span><span class="tabEnd">&nbsp;</span></caption>
  157. <tr>
  158. <th class="colFirst" scope="col">Modifier and Type</th>
  159. <th class="colLast" scope="col">Method and Description</th>
  160. </tr>
  161. <tbody>
  162. <tr class="altColor">
  163. <td class="colFirst"><code><a href="../../classes/SubNet.html" title="class in classes">SubNet</a></code></td>
  164. <td class="colLast"><span class="typeNameLabel">SimulationManager.</span><code><span class="memberNameLink"><a href="../../ui/controller/SimulationManager.html#buildSubNet-classes.AbstractCpsObject-java.util.ArrayList-classes.SubNet-">buildSubNet</a></span>(<a href="../../classes/AbstractCpsObject.html" title="class in classes">AbstractCpsObject</a>&nbsp;cps,
  165. java.util.ArrayList&lt;java.lang.Integer&gt;&nbsp;visited,
  166. <a href="../../classes/SubNet.html" title="class in classes">SubNet</a>&nbsp;sN)</code>
  167. <div class="block">recursivly generates a subnet of all objects, that one specific object is
  168. connected to.</div>
  169. </td>
  170. </tr>
  171. <tr class="rowColor">
  172. <td class="colFirst"><code>float</code></td>
  173. <td class="colLast"><span class="typeNameLabel">SimulationManager.</span><code><span class="memberNameLink"><a href="../../ui/controller/SimulationManager.html#calculateEnergy-java.lang.String-classes.SubNet-int-">calculateEnergy</a></span>(java.lang.String&nbsp;type,
  174. <a href="../../classes/SubNet.html" title="class in classes">SubNet</a>&nbsp;sN,
  175. int&nbsp;x)</code>
  176. <div class="block">calculates the energy of either all producers or consumers.</div>
  177. </td>
  178. </tr>
  179. <tr class="altColor">
  180. <td class="colFirst"><code>float</code></td>
  181. <td class="colLast"><span class="typeNameLabel">SimulationManager.</span><code><span class="memberNameLink"><a href="../../ui/controller/SimulationManager.html#calculateMinimumEnergy-classes.SubNet-int-">calculateMinimumEnergy</a></span>(<a href="../../classes/SubNet.html" title="class in classes">SubNet</a>&nbsp;sN,
  182. int&nbsp;x)</code>
  183. <div class="block">Calculate the Minimum Energy.</div>
  184. </td>
  185. </tr>
  186. <tr class="rowColor">
  187. <td class="colFirst"><code>void</code></td>
  188. <td class="colLast"><span class="typeNameLabel">SimulationManager.</span><code><span class="memberNameLink"><a href="../../ui/controller/SimulationManager.html#setFlow-classes.SubNet-boolean-">setFlow</a></span>(<a href="../../classes/SubNet.html" title="class in classes">SubNet</a>&nbsp;sN,
  189. boolean&nbsp;simulation)</code>
  190. <div class="block">Sets the Flow.</div>
  191. </td>
  192. </tr>
  193. <tr class="altColor">
  194. <td class="colFirst"><code>void</code></td>
  195. <td class="colLast"><span class="typeNameLabel">SimulationManager.</span><code><span class="memberNameLink"><a href="../../ui/controller/SimulationManager.html#setFlowModelation-classes.SubNet-">setFlowModelation</a></span>(<a href="../../classes/SubNet.html" title="class in classes">SubNet</a>&nbsp;sN)</code>
  196. <div class="block">set the Flow Modelation.</div>
  197. </td>
  198. </tr>
  199. <tr class="rowColor">
  200. <td class="colFirst"><code>void</code></td>
  201. <td class="colLast"><span class="typeNameLabel">SimulationManager.</span><code><span class="memberNameLink"><a href="../../ui/controller/SimulationManager.html#setFlowSimulation-classes.SubNet-">setFlowSimulation</a></span>(<a href="../../classes/SubNet.html" title="class in classes">SubNet</a>&nbsp;sN)</code>
  202. <div class="block">Set Flow Simulation.</div>
  203. </td>
  204. </tr>
  205. </tbody>
  206. </table>
  207. </li>
  208. </ul>
  209. </li>
  210. </ul>
  211. </div>
  212. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  213. <div class="bottomNav"><a name="navbar.bottom">
  214. <!-- -->
  215. </a>
  216. <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
  217. <a name="navbar.bottom.firstrow">
  218. <!-- -->
  219. </a>
  220. <ul class="navList" title="Navigation">
  221. <li><a href="../../overview-summary.html">Overview</a></li>
  222. <li><a href="../package-summary.html">Package</a></li>
  223. <li><a href="../../classes/SubNet.html" title="class in classes">Class</a></li>
  224. <li class="navBarCell1Rev">Use</li>
  225. <li><a href="../package-tree.html">Tree</a></li>
  226. <li><a href="../../deprecated-list.html">Deprecated</a></li>
  227. <li><a href="../../index-files/index-1.html">Index</a></li>
  228. <li><a href="../../help-doc.html">Help</a></li>
  229. </ul>
  230. </div>
  231. <div class="subNav">
  232. <ul class="navList">
  233. <li>Prev</li>
  234. <li>Next</li>
  235. </ul>
  236. <ul class="navList">
  237. <li><a href="../../index.html?classes/class-use/SubNet.html" target="_top">Frames</a></li>
  238. <li><a href="SubNet.html" target="_top">No&nbsp;Frames</a></li>
  239. </ul>
  240. <ul class="navList" id="allclasses_navbar_bottom">
  241. <li><a href="../../allclasses-noframe.html">All&nbsp;Classes</a></li>
  242. </ul>
  243. <div>
  244. <script type="text/javascript"><!--
  245. allClassesLink = document.getElementById("allclasses_navbar_bottom");
  246. if(window==top) {
  247. allClassesLink.style.display = "block";
  248. }
  249. else {
  250. allClassesLink.style.display = "none";
  251. }
  252. //-->
  253. </script>
  254. </div>
  255. <a name="skip.navbar.bottom">
  256. <!-- -->
  257. </a></div>
  258. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  259. </body>
  260. </html>