Révision 7 petri/doc/main/Network.html
Network.html | ||
---|---|---|
2 | 2 |
<!-- NewPage --> |
3 | 3 |
<html lang="fr"> |
4 | 4 |
<head> |
5 |
<!-- Generated by javadoc (11.0.8) on Fri Nov 13 10:59:17 CET 2020 -->
|
|
5 |
<!-- Generated by javadoc (11.0.8) on Fri Nov 13 11:20:05 CET 2020 -->
|
|
6 | 6 |
<title>Network</title> |
7 | 7 |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
8 | 8 |
<meta name="dc.created" content="2020-11-13"> |
... | ... | |
243 | 243 |
<a href="../element/Place.html" title="class in element">Place</a> place, |
244 | 244 |
int value, |
245 | 245 |
int identifier)</code></th> |
246 |
<td class="colLast"> </td> |
|
246 |
<td class="colLast"> |
|
247 |
<div class="block">create a new arc</div> |
|
248 |
</td> |
|
247 | 249 |
</tr> |
248 | 250 |
<tr id="i1" class="rowColor"> |
249 | 251 |
<td class="colFirst"><code>void</code></td> |
250 | 252 |
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#addPlace(int)">addPlace</a></span>​(int value)</code></th> |
251 |
<td class="colLast"> </td> |
|
253 |
<td class="colLast"> |
|
254 |
<div class="block">create a new place</div> |
|
255 |
</td> |
|
252 | 256 |
</tr> |
253 | 257 |
<tr id="i2" class="altColor"> |
254 | 258 |
<td class="colFirst"><code>void</code></td> |
255 | 259 |
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#addTransition()">addTransition</a></span>()</code></th> |
256 |
<td class="colLast"> </td> |
|
260 |
<td class="colLast"> |
|
261 |
<div class="block">create a new transition</div> |
|
262 |
</td> |
|
257 | 263 |
</tr> |
258 | 264 |
<tr id="i3" class="rowColor"> |
259 | 265 |
<td class="colFirst"><code>void</code></td> |
260 | 266 |
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#deleteArc(arcElement.Arc)">deleteArc</a></span>​(<a href="../arcElement/Arc.html" title="class in arcElement">Arc</a> a)</code></th> |
261 |
<td class="colLast"> </td> |
|
267 |
<td class="colLast"> |
|
268 |
<div class="block">delete an arc</div> |
|
269 |
</td> |
|
262 | 270 |
</tr> |
263 | 271 |
<tr id="i4" class="altColor"> |
264 | 272 |
<td class="colFirst"><code>void</code></td> |
265 | 273 |
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#deletePlace(element.Place)">deletePlace</a></span>​(<a href="../element/Place.html" title="class in element">Place</a> place)</code></th> |
266 |
<td class="colLast"> </td> |
|
274 |
<td class="colLast"> |
|
275 |
<div class="block">delete a place an the arcs link to it</div> |
|
276 |
</td> |
|
267 | 277 |
</tr> |
268 | 278 |
<tr id="i5" class="rowColor"> |
269 | 279 |
<td class="colFirst"><code>void</code></td> |
270 | 280 |
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#deleteTransition(element.Transition)">deleteTransition</a></span>​(<a href="../element/Transition.html" title="class in element">Transition</a> transition)</code></th> |
271 |
<td class="colLast"> </td> |
|
281 |
<td class="colLast"> |
|
282 |
<div class="block">delete a transition</div> |
|
283 |
</td> |
|
272 | 284 |
</tr> |
273 | 285 |
<tr id="i6" class="altColor"> |
274 | 286 |
<td class="colFirst"><code>void</code></td> |
275 | 287 |
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#fire(element.Transition)">fire</a></span>​(<a href="../element/Transition.html" title="class in element">Transition</a> transition)</code></th> |
276 |
<td class="colLast"> </td> |
|
288 |
<td class="colLast"> |
|
289 |
<div class="block">fire the transition selected</div> |
|
290 |
</td> |
|
277 | 291 |
</tr> |
278 | 292 |
<tr id="i7" class="rowColor"> |
279 | 293 |
<td class="colFirst"><code>java.util.List<<a href="../element/Transition.html" title="class in element">Transition</a>></code></td> |
... | ... | |
293 | 307 |
<tr id="i10" class="altColor"> |
294 | 308 |
<td class="colFirst"><code>java.lang.String</code></td> |
295 | 309 |
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#toString()">toString</a></span>()</code></th> |
296 |
<td class="colLast"> </td> |
|
310 |
<td class="colLast"> |
|
311 |
<div class="block">string representation of a network</div> |
|
312 |
</td> |
|
297 | 313 |
</tr> |
298 | 314 |
</table> |
299 | 315 |
<ul class="blockList"> |
... | ... | |
391 | 407 |
<li class="blockList"> |
392 | 408 |
<h4>addTransition</h4> |
393 | 409 |
<pre class="methodSignature">public void addTransition()</pre> |
410 |
<div class="block">create a new transition</div> |
|
394 | 411 |
</li> |
395 | 412 |
</ul> |
396 | 413 |
<a id="addPlace(int)"> |
... | ... | |
401 | 418 |
<h4>addPlace</h4> |
402 | 419 |
<pre class="methodSignature">public void addPlace​(int value) |
403 | 420 |
throws <a href="../element/Place.UndefinedToken.html" title="class in element">Place.UndefinedToken</a></pre> |
421 |
<div class="block">create a new place</div> |
|
404 | 422 |
<dl> |
405 | 423 |
<dt><span class="throwsLabel">Throws:</span></dt> |
406 | 424 |
<dd><code><a href="../element/Place.UndefinedToken.html" title="class in element">Place.UndefinedToken</a></code></dd> |
... | ... | |
418 | 436 |
int value, |
419 | 437 |
int identifier) |
420 | 438 |
throws <a href="Network.UndefinedIdentifier.html" title="class in main">Network.UndefinedIdentifier</a></pre> |
439 |
<div class="block">create a new arc</div> |
|
421 | 440 |
<dl> |
441 |
<dt><span class="paramLabel">Parameters:</span></dt> |
|
442 |
<dd><code>transtion</code> - the transition link to this arc</dd> |
|
443 |
<dd><code>place</code> - the place link to this arc</dd> |
|
444 |
<dd><code>the</code> - value of this arc</dd> |
|
445 |
<dd><code>identifier</code> - the integer that correspond to the type of arc (define as static)</dd> |
|
422 | 446 |
<dt><span class="throwsLabel">Throws:</span></dt> |
423 | 447 |
<dd><code><a href="Network.UndefinedIdentifier.html" title="class in main">Network.UndefinedIdentifier</a></code></dd> |
424 | 448 |
</dl> |
... | ... | |
431 | 455 |
<li class="blockList"> |
432 | 456 |
<h4>deleteArc</h4> |
433 | 457 |
<pre class="methodSignature">public void deleteArc​(<a href="../arcElement/Arc.html" title="class in arcElement">Arc</a> a)</pre> |
458 |
<div class="block">delete an arc</div> |
|
434 | 459 |
</li> |
435 | 460 |
</ul> |
436 | 461 |
<a id="deletePlace(element.Place)"> |
... | ... | |
440 | 465 |
<li class="blockList"> |
441 | 466 |
<h4>deletePlace</h4> |
442 | 467 |
<pre class="methodSignature">public void deletePlace​(<a href="../element/Place.html" title="class in element">Place</a> place)</pre> |
468 |
<div class="block">delete a place an the arcs link to it</div> |
|
443 | 469 |
</li> |
444 | 470 |
</ul> |
445 | 471 |
<a id="deleteTransition(element.Transition)"> |
... | ... | |
449 | 475 |
<li class="blockList"> |
450 | 476 |
<h4>deleteTransition</h4> |
451 | 477 |
<pre class="methodSignature">public void deleteTransition​(<a href="../element/Transition.html" title="class in element">Transition</a> transition)</pre> |
478 |
<div class="block">delete a transition</div> |
|
452 | 479 |
</li> |
453 | 480 |
</ul> |
454 | 481 |
<a id="fire(element.Transition)"> |
... | ... | |
458 | 485 |
<li class="blockList"> |
459 | 486 |
<h4>fire</h4> |
460 | 487 |
<pre class="methodSignature">public void fire​(<a href="../element/Transition.html" title="class in element">Transition</a> transition)</pre> |
488 |
<div class="block">fire the transition selected</div> |
|
461 | 489 |
</li> |
462 | 490 |
</ul> |
463 | 491 |
<a id="toString()"> |
... | ... | |
467 | 495 |
<li class="blockList"> |
468 | 496 |
<h4>toString</h4> |
469 | 497 |
<pre class="methodSignature">public java.lang.String toString()</pre> |
498 |
<div class="block">string representation of a network</div> |
|
470 | 499 |
<dl> |
471 | 500 |
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
472 | 501 |
<dd><code>toString</code> in class <code>java.lang.Object</code></dd> |
Formats disponibles : Unified diff