You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

453 lines
21KB

  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
  2. "http://www.w3.org/TR/html4/loose.dtd">
  3. <!-- NewPage -->
  4. <html lang="de">
  5. <head>
  6. <!-- Generated by javadoc (1.8.0_242-release) on Sun Nov 15 16:26:40 CET 2020 -->
  7. <title>VehicleTimeRecord</title>
  8. <meta content="2020-11-15" name="date">
  9. <link href="../../../stylesheet.css" rel="stylesheet" title="Style" type="text/css">
  10. <script src="../../../script.js" type="text/javascript"></script>
  11. </head>
  12. <body>
  13. <script type="text/javascript"><!--
  14. try {
  15. if (location.href.indexOf('is-external=true') == -1) {
  16. parent.document.title="VehicleTimeRecord";
  17. }
  18. }
  19. catch(err) {
  20. }
  21. //-->
  22. var methods = {"i0":10,"i1":10,"i2":10};
  23. var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
  24. var altColor = "altColor";
  25. var rowColor = "rowColor";
  26. var tableTab = "tableTab";
  27. var activeTableTab = "activeTableTab";
  28. </script>
  29. <noscript>
  30. <div>JavaScript is disabled on your browser.</div>
  31. </noscript>
  32. <!-- ========= START OF TOP NAVBAR ======= -->
  33. <div class="topNav"><a name="navbar.top">
  34. <!-- -->
  35. </a>
  36. <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation
  37. links</a></div>
  38. <a name="navbar.top.firstrow">
  39. <!-- -->
  40. </a>
  41. <ul class="navList" title="Navigation">
  42. <li><a href="../../../de/hems/trafficsim/package-summary.html">Package</a></li>
  43. <li class="navBarCell1Rev">Class</li>
  44. <li><a href="package-tree.html">Tree</a></li>
  45. <li><a href="../../../deprecated-list.html">Deprecated</a></li>
  46. <li><a href="../../../index-files/index-1.html">Index</a></li>
  47. <li><a href="../../../help-doc.html">Help</a></li>
  48. </ul>
  49. </div>
  50. <div class="subNav">
  51. <ul class="navList">
  52. <li><a href="../../../de/hems/trafficsim/Vehicle.html"
  53. title="class in de.hems.trafficsim"><span class="typeNameLink">Prev&nbsp;Class</span></a>
  54. </li>
  55. <li><a href="../../../de/hems/trafficsim/Worker.html"
  56. title="class in de.hems.trafficsim"><span class="typeNameLink">Next&nbsp;Class</span></a>
  57. </li>
  58. </ul>
  59. <ul class="navList">
  60. <li><a href="../../../index.html?de/hems/trafficsim/VehicleTimeRecord.html" target="_top">Frames</a>
  61. </li>
  62. <li><a href="VehicleTimeRecord.html" target="_top">No&nbsp;Frames</a></li>
  63. </ul>
  64. <ul class="navList" id="allclasses_navbar_top">
  65. <li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
  66. </ul>
  67. <div>
  68. <script type="text/javascript"><!--
  69. allClassesLink = document.getElementById("allclasses_navbar_top");
  70. if(window==top) {
  71. allClassesLink.style.display = "block";
  72. }
  73. else {
  74. allClassesLink.style.display = "none";
  75. }
  76. //-->
  77. </script>
  78. </div>
  79. <div>
  80. <ul class="subNavList">
  81. <li>Summary:&nbsp;</li>
  82. <li>Nested&nbsp;|&nbsp;</li>
  83. <li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
  84. <li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
  85. <li><a href="#method.summary">Method</a></li>
  86. </ul>
  87. <ul class="subNavList">
  88. <li>Detail:&nbsp;</li>
  89. <li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
  90. <li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
  91. <li><a href="#method.detail">Method</a></li>
  92. </ul>
  93. </div>
  94. <a name="skip.navbar.top">
  95. <!-- -->
  96. </a></div>
  97. <!-- ========= END OF TOP NAVBAR ========= -->
  98. <!-- ======== START OF CLASS DATA ======== -->
  99. <div class="header">
  100. <div class="subTitle">de.hems.trafficsim</div>
  101. <h2 class="title" title="Class VehicleTimeRecord">Class VehicleTimeRecord</h2>
  102. </div>
  103. <div class="contentContainer">
  104. <ul class="inheritance">
  105. <li>java.lang.Object</li>
  106. <li>
  107. <ul class="inheritance">
  108. <li>de.hems.trafficsim.VehicleTimeRecord</li>
  109. </ul>
  110. </li>
  111. </ul>
  112. <div class="description">
  113. <ul class="blockList">
  114. <li class="blockList">
  115. <hr>
  116. <br>
  117. <pre>public class <span class="typeNameLabel">VehicleTimeRecord</span>
  118. extends java.lang.Object</pre>
  119. <div class="block">Model class which keeps the previous simulation data for
  120. analysis.
  121. </div>
  122. </li>
  123. </ul>
  124. </div>
  125. <div class="summary">
  126. <ul class="blockList">
  127. <li class="blockList">
  128. <!-- =========== FIELD SUMMARY =========== -->
  129. <ul class="blockList">
  130. <li class="blockList"><a name="field.summary">
  131. <!-- -->
  132. </a>
  133. <h3>Field Summary</h3>
  134. <table border="0" cellpadding="3" cellspacing="0" class="memberSummary"
  135. summary="Field Summary table, listing fields, and an explanation">
  136. <caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
  137. <tr>
  138. <th class="colFirst" scope="col">Modifier and Type</th>
  139. <th class="colLast" scope="col">Field and Description</th>
  140. </tr>
  141. <tr class="altColor">
  142. <td class="colFirst"><code>protected int</code></td>
  143. <td class="colLast"><code><span class="memberNameLink"><a
  144. href="../../../de/hems/trafficsim/VehicleTimeRecord.html#id">id</a></span></code>
  145. <div class="block">the id of the vehicle it belongs to</div>
  146. </td>
  147. </tr>
  148. <tr class="rowColor">
  149. <td class="colFirst"><code>protected float</code></td>
  150. <td class="colLast"><code><span class="memberNameLink"><a
  151. href="../../../de/hems/trafficsim/VehicleTimeRecord.html#maxVelocity">maxVelocity</a></span></code>
  152. <div class="block">the maximum velocity of the vehicle</div>
  153. </td>
  154. </tr>
  155. <tr class="altColor">
  156. <td class="colFirst"><code>protected float</code></td>
  157. <td class="colLast"><code><span class="memberNameLink"><a
  158. href="../../../de/hems/trafficsim/VehicleTimeRecord.html#position">position</a></span></code>
  159. <div class="block">the position of the vehicle after the last
  160. simulation step
  161. </div>
  162. </td>
  163. </tr>
  164. <tr class="rowColor">
  165. <td class="colFirst"><code>protected float</code></td>
  166. <td class="colLast"><code><span class="memberNameLink"><a
  167. href="../../../de/hems/trafficsim/VehicleTimeRecord.html#velocity">velocity</a></span></code>
  168. <div class="block">the velocity of the vehicle during the last
  169. simulation step
  170. </div>
  171. </td>
  172. </tr>
  173. </table>
  174. </li>
  175. </ul>
  176. <!-- ======== CONSTRUCTOR SUMMARY ======== -->
  177. <ul class="blockList">
  178. <li class="blockList"><a name="constructor.summary">
  179. <!-- -->
  180. </a>
  181. <h3>Constructor Summary</h3>
  182. <table border="0" cellpadding="3" cellspacing="0" class="memberSummary"
  183. summary="Constructor Summary table, listing constructors, and an explanation">
  184. <caption><span>Constructors</span><span class="tabEnd">&nbsp;</span>
  185. </caption>
  186. <tr>
  187. <th class="colOne" scope="col">Constructor and Description</th>
  188. </tr>
  189. <tr class="altColor">
  190. <td class="colOne"><code><span class="memberNameLink"><a
  191. href="../../../de/hems/trafficsim/VehicleTimeRecord.html#VehicleTimeRecord-int-float-float-float-">VehicleTimeRecord</a></span>(int&nbsp;id,
  192. float&nbsp;position,
  193. float&nbsp;velocity,
  194. float&nbsp;maxVelocity)</code>
  195. <div class="block">Construct a new VehicleTimeRecord.</div>
  196. </td>
  197. </tr>
  198. </table>
  199. </li>
  200. </ul>
  201. <!-- ========== METHOD SUMMARY =========== -->
  202. <ul class="blockList">
  203. <li class="blockList"><a name="method.summary">
  204. <!-- -->
  205. </a>
  206. <h3>Method Summary</h3>
  207. <table border="0" cellpadding="3" cellspacing="0" class="memberSummary"
  208. summary="Method Summary table, listing methods, and an explanation">
  209. <caption><span class="activeTableTab"
  210. id="t0"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span
  211. class="tableTab" id="t2"><span><a href="javascript:show(2);">Instance Methods</a></span><span
  212. class="tabEnd">&nbsp;</span></span><span class="tableTab"
  213. id="t4"><span><a
  214. href="javascript:show(8);">Concrete Methods</a></span><span
  215. class="tabEnd">&nbsp;</span></span></caption>
  216. <tr>
  217. <th class="colFirst" scope="col">Modifier and Type</th>
  218. <th class="colLast" scope="col">Method and Description</th>
  219. </tr>
  220. <tr class="altColor" id="i0">
  221. <td class="colFirst"><code>float</code></td>
  222. <td class="colLast"><code><span class="memberNameLink"><a
  223. href="../../../de/hems/trafficsim/VehicleTimeRecord.html#getMaxVelocity--">getMaxVelocity</a></span>()</code>&nbsp;
  224. </td>
  225. </tr>
  226. <tr class="rowColor" id="i1">
  227. <td class="colFirst"><code>float</code></td>
  228. <td class="colLast"><code><span class="memberNameLink"><a
  229. href="../../../de/hems/trafficsim/VehicleTimeRecord.html#getPosition--">getPosition</a></span>()</code>&nbsp;
  230. </td>
  231. </tr>
  232. <tr class="altColor" id="i2">
  233. <td class="colFirst"><code>float</code></td>
  234. <td class="colLast"><code><span class="memberNameLink"><a
  235. href="../../../de/hems/trafficsim/VehicleTimeRecord.html#getVelocity--">getVelocity</a></span>()</code>&nbsp;
  236. </td>
  237. </tr>
  238. </table>
  239. <ul class="blockList">
  240. <li class="blockList"><a
  241. name="methods.inherited.from.class.java.lang.Object">
  242. <!-- -->
  243. </a>
  244. <h3>Methods inherited from class&nbsp;java.lang.Object</h3>
  245. <code>clone, equals, finalize, getClass, hashCode, notify,
  246. notifyAll, toString, wait, wait, wait</code></li>
  247. </ul>
  248. </li>
  249. </ul>
  250. </li>
  251. </ul>
  252. </div>
  253. <div class="details">
  254. <ul class="blockList">
  255. <li class="blockList">
  256. <!-- ============ FIELD DETAIL =========== -->
  257. <ul class="blockList">
  258. <li class="blockList"><a name="field.detail">
  259. <!-- -->
  260. </a>
  261. <h3>Field Detail</h3>
  262. <a name="id">
  263. <!-- -->
  264. </a>
  265. <ul class="blockList">
  266. <li class="blockList">
  267. <h4>id</h4>
  268. <pre>protected&nbsp;int id</pre>
  269. <div class="block">the id of the vehicle it belongs to</div>
  270. </li>
  271. </ul>
  272. <a name="position">
  273. <!-- -->
  274. </a>
  275. <ul class="blockList">
  276. <li class="blockList">
  277. <h4>position</h4>
  278. <pre>protected&nbsp;float position</pre>
  279. <div class="block">the position of the vehicle after the last
  280. simulation step
  281. </div>
  282. </li>
  283. </ul>
  284. <a name="velocity">
  285. <!-- -->
  286. </a>
  287. <ul class="blockList">
  288. <li class="blockList">
  289. <h4>velocity</h4>
  290. <pre>protected&nbsp;float velocity</pre>
  291. <div class="block">the velocity of the vehicle during the last
  292. simulation step
  293. </div>
  294. </li>
  295. </ul>
  296. <a name="maxVelocity">
  297. <!-- -->
  298. </a>
  299. <ul class="blockListLast">
  300. <li class="blockList">
  301. <h4>maxVelocity</h4>
  302. <pre>protected&nbsp;float maxVelocity</pre>
  303. <div class="block">the maximum velocity of the vehicle</div>
  304. </li>
  305. </ul>
  306. </li>
  307. </ul>
  308. <!-- ========= CONSTRUCTOR DETAIL ======== -->
  309. <ul class="blockList">
  310. <li class="blockList"><a name="constructor.detail">
  311. <!-- -->
  312. </a>
  313. <h3>Constructor Detail</h3>
  314. <a name="VehicleTimeRecord-int-float-float-float-">
  315. <!-- -->
  316. </a>
  317. <ul class="blockListLast">
  318. <li class="blockList">
  319. <h4>VehicleTimeRecord</h4>
  320. <pre>public&nbsp;VehicleTimeRecord(int&nbsp;id,
  321. float&nbsp;position,
  322. float&nbsp;velocity,
  323. float&nbsp;maxVelocity)</pre>
  324. <div class="block">Construct a new VehicleTimeRecord.</div>
  325. <dl>
  326. <dt><span class="paramLabel">Parameters:</span></dt>
  327. <dd><code>id</code> - the id of the vehicle it belongs to</dd>
  328. <dd><code>position</code> - the position of the vehicle after
  329. the last simulation step
  330. </dd>
  331. <dd><code>velocity</code> - the velocity of the vehicle during
  332. the last simulation step
  333. </dd>
  334. <dd><code>maxVelocity</code> - the maximum velocity of the
  335. vehicle
  336. </dd>
  337. </dl>
  338. </li>
  339. </ul>
  340. </li>
  341. </ul>
  342. <!-- ============ METHOD DETAIL ========== -->
  343. <ul class="blockList">
  344. <li class="blockList"><a name="method.detail">
  345. <!-- -->
  346. </a>
  347. <h3>Method Detail</h3>
  348. <a name="getMaxVelocity--">
  349. <!-- -->
  350. </a>
  351. <ul class="blockList">
  352. <li class="blockList">
  353. <h4>getMaxVelocity</h4>
  354. <pre>public&nbsp;float&nbsp;getMaxVelocity()</pre>
  355. </li>
  356. </ul>
  357. <a name="getPosition--">
  358. <!-- -->
  359. </a>
  360. <ul class="blockList">
  361. <li class="blockList">
  362. <h4>getPosition</h4>
  363. <pre>public&nbsp;float&nbsp;getPosition()</pre>
  364. </li>
  365. </ul>
  366. <a name="getVelocity--">
  367. <!-- -->
  368. </a>
  369. <ul class="blockListLast">
  370. <li class="blockList">
  371. <h4>getVelocity</h4>
  372. <pre>public&nbsp;float&nbsp;getVelocity()</pre>
  373. </li>
  374. </ul>
  375. </li>
  376. </ul>
  377. </li>
  378. </ul>
  379. </div>
  380. </div>
  381. <!-- ========= END OF CLASS DATA ========= -->
  382. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  383. <div class="bottomNav"><a name="navbar.bottom">
  384. <!-- -->
  385. </a>
  386. <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation
  387. links</a></div>
  388. <a name="navbar.bottom.firstrow">
  389. <!-- -->
  390. </a>
  391. <ul class="navList" title="Navigation">
  392. <li><a href="../../../de/hems/trafficsim/package-summary.html">Package</a></li>
  393. <li class="navBarCell1Rev">Class</li>
  394. <li><a href="package-tree.html">Tree</a></li>
  395. <li><a href="../../../deprecated-list.html">Deprecated</a></li>
  396. <li><a href="../../../index-files/index-1.html">Index</a></li>
  397. <li><a href="../../../help-doc.html">Help</a></li>
  398. </ul>
  399. </div>
  400. <div class="subNav">
  401. <ul class="navList">
  402. <li><a href="../../../de/hems/trafficsim/Vehicle.html"
  403. title="class in de.hems.trafficsim"><span class="typeNameLink">Prev&nbsp;Class</span></a>
  404. </li>
  405. <li><a href="../../../de/hems/trafficsim/Worker.html"
  406. title="class in de.hems.trafficsim"><span class="typeNameLink">Next&nbsp;Class</span></a>
  407. </li>
  408. </ul>
  409. <ul class="navList">
  410. <li><a href="../../../index.html?de/hems/trafficsim/VehicleTimeRecord.html" target="_top">Frames</a>
  411. </li>
  412. <li><a href="VehicleTimeRecord.html" target="_top">No&nbsp;Frames</a></li>
  413. </ul>
  414. <ul class="navList" id="allclasses_navbar_bottom">
  415. <li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
  416. </ul>
  417. <div>
  418. <script type="text/javascript"><!--
  419. allClassesLink = document.getElementById("allclasses_navbar_bottom");
  420. if(window==top) {
  421. allClassesLink.style.display = "block";
  422. }
  423. else {
  424. allClassesLink.style.display = "none";
  425. }
  426. //-->
  427. </script>
  428. </div>
  429. <div>
  430. <ul class="subNavList">
  431. <li>Summary:&nbsp;</li>
  432. <li>Nested&nbsp;|&nbsp;</li>
  433. <li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
  434. <li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
  435. <li><a href="#method.summary">Method</a></li>
  436. </ul>
  437. <ul class="subNavList">
  438. <li>Detail:&nbsp;</li>
  439. <li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
  440. <li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
  441. <li><a href="#method.detail">Method</a></li>
  442. </ul>
  443. </div>
  444. <a name="skip.navbar.bottom">
  445. <!-- -->
  446. </a></div>
  447. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  448. </body>
  449. </html>