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/model comparison/src | |
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/model comparison/src')
-rw-r--r-- | Metrics/Metrics-Calculation/metrics_plot/model comparison/src/plot_ks_stats.py | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/Metrics/Metrics-Calculation/metrics_plot/model comparison/src/plot_ks_stats.py b/Metrics/Metrics-Calculation/metrics_plot/model comparison/src/plot_ks_stats.py index d761ef82..eb9d4ae2 100644 --- a/Metrics/Metrics-Calculation/metrics_plot/model comparison/src/plot_ks_stats.py +++ b/Metrics/Metrics-Calculation/metrics_plot/model comparison/src/plot_ks_stats.py | |||
@@ -12,31 +12,31 @@ import DistributionMetrics as metrics | |||
12 | 12 | ||
13 | def main(): | 13 | def main(): |
14 | # read models | 14 | # read models |
15 | human = GraphCollection('../input/yakindumm/human_output_100/', 500, 'Human') | 15 | human = GraphCollection('../input/human_30_500_no_xml/', 500, 'human_no_xml') |
16 | human_na = GraphCollection('../input/yakindumm/human_output_100/na_rep/', 1, 'Human rep') | 16 | human2 = GraphCollection('../input/human_30_500_xml/', 500, 'human_xml') |
17 | human_mpc = GraphCollection('../input/yakindumm/human_output_100/mpc_rep/', 1, 'Human rep') | 17 | # human_na = GraphCollection('../input/human_models_50_500/na_rep/', 1, 'Human rep') |
18 | human_od = GraphCollection('../input/yakindumm/human_output_100/od_rep/', 1, 'Human rep') | 18 | # human_mpc = GraphCollection('../input/human_models_50_500/mpc_rep/', 1, 'Human rep') |
19 | # human_od = GraphCollection('../input/human_models_50_500/od_rep/', 1, 'Human rep') | ||
19 | 20 | ||
20 | #viatra75 = GraphCollection('../input/viatra_75/', 500, 'Viatra (75 nodes)') | 21 | # viatra75 = GraphCollection('../input/viatra_75/', 500, 'Viatra (75 nodes)') |
21 | # viatra30 = GraphCollection('../input/viatraOutput30/', 500,'Viatra (30 nodes)') | 22 | # viatra30 = GraphCollection('../input/viatraOutput30/', 500,'Viatra (30 nodes)') |
22 | # viatra60 = GraphCollection('../input/viatraOutput60/', 500, 'Viatra (60 nodes)') | 23 | # viatra60 = GraphCollection('../input/viatraOutput60/', 500, 'Viatra (60 nodes)') |
23 | # viatra100 = GraphCollection('../input/viatraOutput100/', 500, 'Viatra (100 nodes)') | 24 | # viatra100 = GraphCollection('../input/viatraOutput100/', 500, 'Viatra (100 nodes)') |
24 | # viatra100R = GraphCollection('../input/realisticViatraOutput_newMetric/', 500, 'Realistic Viatra (100 nodes)') | 25 | # viatra100R = GraphCollection('../input/realisticViatraOutput_newMetric/', 500, 'Realistic Viatra (100 nodes)') |
25 | viatra100C = GraphCollection('../input/yakindumm/viatraOutput100C/', 500, 'Viatra consistent (100 nodes)') | 26 | # viatra100C = GraphCollection('../input/yakindumm/viatraOutput100C/', 500, 'Viatra consistent (100 nodes)') |
26 | # viatra100EE = GraphCollection('../input/realisticViatra_excludeExit/', 500, 'Realistic Viatra no Exit (100 nodes)') | 27 | # viatra100EE = GraphCollection('../input/realisticViatra_excludeExit/', 500, 'Realistic Viatra no Exit (100 nodes)') |
27 | # viatra100EEF = GraphCollection('../input/realisticViatra_excludeExitFinal/', 500, 'Realistic Viatra no Exit Final (100 nodes)') | 28 | # viatra100EEF = GraphCollection('../input/realisticViatra_excludeExitFinal/', 500, 'Realistic Viatra no Exit Final (100 nodes)') |
28 | viatra100NT = GraphCollection('../input/yakindumm/realisticVIatraOutput_nodeTypeKS/', 500, 'Realistic Viatra with Node Type KS (100 nodes)') | 29 | # viatra100NT = GraphCollection('../input/yakindumm/realisticVIatraOutput_nodeTypeKS/', 500, 'Realistic Viatra with Node Type KS (100 nodes)') |
29 | 30 | ||
30 | # random = GraphCollection('../input/randomOutput/', 500, 'Random') | 31 | # random = GraphCollection('../input/randomOutput/', 500, 'Random') |
31 | # alloy = GraphCollection('../input/alloy/', 500, 'Alloy (30 nodes)') | 32 | # alloy = GraphCollection('../input/alloy/', 500, 'Alloy (30 nodes)') |
32 | # realistic_viatra = GraphCollection('../input/viatra_output_consistent_100/', 50, 'Realistic Viatra With Some Constraints (100 nodes)') | 33 | # realistic_viatra = GraphCollection('../input/viatra_output_consistent_100/', 50, 'Realistic Viatra With Some Constraints (100 nodes)') |
33 | # human100 = GraphCollection('../input/human_output_100/', 304, 'Human') | 34 | models_to_compare_na = [human, human2] |
34 | models_to_compare_na = [human, human_na, viatra100C,viatra100NT] | 35 | models_to_compare_mpc = [human, human2] |
35 | models_to_compare_mpc = [human, human_mpc ,viatra100C,viatra100NT] | 36 | models_to_compare_od = [human, human2] |
36 | models_to_compare_od = [human, human_od, viatra100C,viatra100NT] | ||
37 | 37 | ||
38 | # define output folder | 38 | # define output folder |
39 | outputFolder = '../output/Yakindumm/' | 39 | outputFolder = '../output/' |
40 | 40 | ||
41 | #calculate metrics | 41 | #calculate metrics |
42 | metricStat(models_to_compare_na, 'Node Activity', nodeActivity, 0, outputFolder) | 42 | metricStat(models_to_compare_na, 'Node Activity', nodeActivity, 0, outputFolder) |