|
DSIMA
|
Functions | |
| def | addResults |
| Add the results given by the xml file. More... | |
| def | outputXML |
| Create an xml file with the global results. More... | |
| def | getGlobalResults |
| Get the global results for the simulated days. More... | |
Variables | |
| dictionary | attributes |
| List of attributes to display in the global results. More... | |
| dictionary | dayData |
| List of data to get for each day. More... | |
| tuple | tic = time.time() |
Scripts that create an xml file with the global results
| def globalResults.addResults | ( | results, | |
| dayResults, | |||
| actorCosts, | |||
| xmlFile, | |||
| day | |||
| ) |
Add the results given by the xml file.
| results | Dictionnary with the results of the previous days. |
| dayResults | Dictionnary with the individual results of the previous days. |
| actorCosts | Costs for each actors. |
| xmlFile | File like object containing the results. |
| day | Day index |
| def globalResults.getGlobalResults | ( | hash, | |
path = "instances" |
|||
| ) |
Get the global results for the simulated days.
| hash | Hash of the instance. |
| path | Path to the instance simulation results. |
| def globalResults.outputXML | ( | path, | |
| results, | |||
| dayResults, | |||
| actorCosts | |||
| ) |
Create an xml file with the global results.
| path | Target path. |
| results | Results dictionary. |
| dayResults | Dictionnary with the individual results of the previous days. |
| actorCosts | Costs for each actors. |
| dictionary attributes |
List of attributes to display in the global results.
| dictionary dayData |
List of data to get for each day.
| tuple tic = time.time() |