diff --git a/Assignment-2/DCR_graph.py b/Assignment-2/DCR_graph.py index f58ee27..fa26b10 100644 --- a/Assignment-2/DCR_graph.py +++ b/Assignment-2/DCR_graph.py @@ -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 diff --git a/Assignment-2/README b/Assignment-2/README index cea6abc..2d1ba4d 100644 --- a/Assignment-2/README +++ b/Assignment-2/README @@ -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. \ No newline at end of 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