diff options
author | 2019-08-08 16:45:45 -0400 | |
---|---|---|
committer | 2019-08-08 16:45:45 -0400 | |
commit | c33f0b9c4e112ee573d1b26d205a253cc0e487f8 (patch) | |
tree | 1ec2c4ab56b5bc0d0d56fa111bab0520c05604b4 /Metrics/Metrics-Calculation/metrics_plot/utils/GraphType.py | |
parent | Further development of realistic solver, create generation config for ecore m... (diff) | |
download | VIATRA-Generator-c33f0b9c4e112ee573d1b26d205a253cc0e487f8.tar.gz VIATRA-Generator-c33f0b9c4e112ee573d1b26d205a253cc0e487f8.tar.zst VIATRA-Generator-c33f0b9c4e112ee573d1b26d205a253cc0e487f8.zip |
Configurations for generation and new domain for generation ecore model
Diffstat (limited to 'Metrics/Metrics-Calculation/metrics_plot/utils/GraphType.py')
-rw-r--r-- | Metrics/Metrics-Calculation/metrics_plot/utils/GraphType.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Metrics/Metrics-Calculation/metrics_plot/utils/GraphType.py b/Metrics/Metrics-Calculation/metrics_plot/utils/GraphType.py index feb9a0a9..0a9a95c5 100644 --- a/Metrics/Metrics-Calculation/metrics_plot/utils/GraphType.py +++ b/Metrics/Metrics-Calculation/metrics_plot/utils/GraphType.py | |||
@@ -30,3 +30,6 @@ class GraphStat: | |||
30 | self.id = (contents[constants.STATE_ID])[0] | 30 | self.id = (contents[constants.STATE_ID])[0] |
31 | if constants.Node_TYPE_KEY in contents: | 31 | if constants.Node_TYPE_KEY in contents: |
32 | self.nodeTypeStat = contents[constants.Node_TYPE_KEY] | 32 | self.nodeTypeStat = contents[constants.Node_TYPE_KEY] |
33 | if constants.VIOLATION in contents: | ||
34 | self.violations = int(contents[constants.VIOLATION][0]) | ||
35 | |||