|
9 | 9 | <font color="#000000" face="helvetica, arial"><strong>pypml.ParkingMonitor</strong> = <a name="pypml.ParkingMonitor">class ParkingMonitor</a>(<a href="traci.html#StepListener">traci.StepListener</a>)</font></td></tr> |
10 | 10 |
|
11 | 11 | <tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> |
12 | | -<td colspan=2><tt>SUMO StepListener class for the parking monitoring.<br> </tt></td></tr> |
| 12 | +<td colspan=2><tt>pypml.ParkingMonitor(traci_handler, options)<br> |
| 13 | + <br> |
| 14 | +SUMO StepListener class for the parking monitoring.<br> </tt></td></tr> |
13 | 15 | <tr><td> </td> |
14 | 16 | <td width="100%"><dl><dt>Method resolution order:</dt> |
15 | 17 | <dd><a href="pypml.pypml.html#ParkingMonitor">ParkingMonitor</a></dd> |
|
18 | 20 | </dl> |
19 | 21 | <hr> |
20 | 22 | Methods defined here:<br> |
21 | | -<dl><dt><a name="ParkingMonitor-__init__"><strong>__init__</strong></a>(self, traci_handler, options, time=0.0)</dt><dd><tt>Initialize the knowlegde base for the parking monitor.<br> |
| 23 | +<dl><dt><a name="ParkingMonitor-__init__"><strong>__init__</strong></a>(self, traci_handler, options)</dt><dd><tt>Initialize the knowlegde base for the parking monitor.<br> |
22 | 24 | <br> |
23 | 25 | traci_handler: already initialized TraCI socket that is going to be used by PyPML<br> |
24 | 26 | options: in order to reduce the number of parameters and increase the flexibility,<br> |
25 | 27 | the complete initialization is done using a dict()<br> |
26 | | -time: beginning of the simulation in seconds (for statistical and logging purposes)<br> |
27 | 28 | <br> |
28 | 29 | Options format:<br> |
29 | 30 | {<br> |
| 31 | + 'seed': Integer. Initialization seed for numpy.random.RandomState.<br> |
30 | 32 | 'addStepListener': Boolean. Ff True, pypml is added as step listener in SUMO.<br> |
31 | 33 | In case it's False the function <a href="#pypml.ParkingMonitor-step">step</a>() must be called by hand every<br> |
32 | 34 | simulation step.<br> |
|
0 commit comments