This commit is contained in:
NikolajDanger
2023-01-11 13:23:49 +01:00
2 changed files with 10 additions and 4 deletions

View File

@ -138,7 +138,7 @@ class Relationship():
elif self.type == RelationsshipType.update:
pass # Don't know what this one does
elif self.type == RelationsshipType.spawn:
pass # Don't know what this one does
pass # We figured it was outside the assignments scope to implement this
elif self.type == RelationsshipType.templateSpawn:
pass # Don't know what this one does

View File

@ -1,4 +1,10 @@
The program is written in python and it is run like this:
python main.py DCR LOG
In order to run the code, use a terminal to navigate into the src-directory
and type the following command
$ python main.py [dcr-graph] [log]
Where DCR is the path to the DCR graph xml file, and LOG is the path to the log file.
replace [dcr-graph] with the location of the dcr-graph in .xml-format, and
[log] with the location of the log in .csv
For example if one wanted to run the test with the Dreyers-log and our full
DCR-graph use the command
$ python main.py data/DCR-full.xml data/log.csv