aboutsummaryrefslogtreecommitdiffstats
path: root/Metrics/Metrics-Calculation/metrics_plot/model comparison
diff options
context:
space:
mode:
Diffstat (limited to 'Metrics/Metrics-Calculation/metrics_plot/model comparison')
-rw-r--r--Metrics/Metrics-Calculation/metrics_plot/model comparison/output/ecore/Hum-All-Rand-GS-Real-Med-/MPC.pngbin0 -> 260244 bytes
-rw-r--r--Metrics/Metrics-Calculation/metrics_plot/model comparison/output/ecore/Hum-All-Rand-GS-Real-Med-/MPC_lengend.pngbin0 -> 284435 bytes
-rw-r--r--Metrics/Metrics-Calculation/metrics_plot/model comparison/output/ecore/Hum-All-Rand-GS-Real-Med-/Node_Activity.pngbin0 -> 240919 bytes
-rw-r--r--Metrics/Metrics-Calculation/metrics_plot/model comparison/output/ecore/Hum-All-Rand-GS-Real-Med-/Node_Activity_lengend.pngbin0 -> 267128 bytes
-rw-r--r--Metrics/Metrics-Calculation/metrics_plot/model comparison/output/ecore/Hum-All-Rand-GS-Real-Med-/Node_Types.pngbin0 -> 259504 bytes
-rw-r--r--Metrics/Metrics-Calculation/metrics_plot/model comparison/output/ecore/Hum-All-Rand-GS-Real-Med-/Node_Types_lengend.pngbin0 -> 283224 bytes
-rw-r--r--Metrics/Metrics-Calculation/metrics_plot/model comparison/output/ecore/Hum-All-Rand-GS-Real-Med-/Out_Degree.pngbin0 -> 249861 bytes
-rw-r--r--Metrics/Metrics-Calculation/metrics_plot/model comparison/output/ecore/Hum-All-Rand-GS-Real-Med-/Out_Degree_lengend.pngbin0 -> 276261 bytes
-rw-r--r--Metrics/Metrics-Calculation/metrics_plot/model comparison/output/github/Hum-All-Rand-GS-Real-Med-/MPC.pngbin0 -> 250477 bytes
-rw-r--r--Metrics/Metrics-Calculation/metrics_plot/model comparison/output/github/Hum-All-Rand-GS-Real-Med-/MPC_lengend.pngbin0 -> 275605 bytes
-rw-r--r--Metrics/Metrics-Calculation/metrics_plot/model comparison/output/github/Hum-All-Rand-GS-Real-Med-/Node_Activity.pngbin0 -> 213651 bytes
-rw-r--r--Metrics/Metrics-Calculation/metrics_plot/model comparison/output/github/Hum-All-Rand-GS-Real-Med-/Node_Activity_lengend.pngbin0 -> 220028 bytes
-rw-r--r--Metrics/Metrics-Calculation/metrics_plot/model comparison/output/github/Hum-All-Rand-GS-Real-Med-/Node_Types.pngbin0 -> 259490 bytes
-rw-r--r--Metrics/Metrics-Calculation/metrics_plot/model comparison/output/github/Hum-All-Rand-GS-Real-Med-/Node_Types_lengend.pngbin0 -> 279286 bytes
-rw-r--r--Metrics/Metrics-Calculation/metrics_plot/model comparison/output/github/Hum-All-Rand-GS-Real-Med-/Out_Degree.pngbin0 -> 245269 bytes
-rw-r--r--Metrics/Metrics-Calculation/metrics_plot/model comparison/output/github/Hum-All-Rand-GS-Real-Med-/Out_Degree_lengend.pngbin0 -> 264147 bytes
-rw-r--r--Metrics/Metrics-Calculation/metrics_plot/model comparison/output/test/Hum-/TCC.pngbin0 -> 212431 bytes
-rw-r--r--Metrics/Metrics-Calculation/metrics_plot/model comparison/output/test/Hum-/TCC_lengend.pngbin0 -> 218167 bytes
-rw-r--r--Metrics/Metrics-Calculation/metrics_plot/model comparison/output/test/Hum-Rand-GS-Real-/TCC.pngbin0 -> 167662 bytes
-rw-r--r--Metrics/Metrics-Calculation/metrics_plot/model comparison/output/test/Hum-Rand-GS-Real-/TCC_lengend.pngbin0 -> 187842 bytes
-rw-r--r--Metrics/Metrics-Calculation/metrics_plot/model comparison/output/test/Hum-Real-/TCC.pngbin0 -> 132637 bytes
-rw-r--r--Metrics/Metrics-Calculation/metrics_plot/model comparison/output/test/Hum-Real-/TCC_lengend.pngbin0 -> 141912 bytes
-rw-r--r--Metrics/Metrics-Calculation/metrics_plot/model comparison/output/yakindu/Hum-All-Rand-GS-Real-Med-/MPC.pngbin0 -> 255461 bytes
-rw-r--r--Metrics/Metrics-Calculation/metrics_plot/model comparison/output/yakindu/Hum-All-Rand-GS-Real-Med-/MPC_lengend.pngbin0 -> 269454 bytes
-rw-r--r--Metrics/Metrics-Calculation/metrics_plot/model comparison/output/yakindu/Hum-All-Rand-GS-Real-Med-/Node_Activity.pngbin0 -> 206259 bytes
-rw-r--r--Metrics/Metrics-Calculation/metrics_plot/model comparison/output/yakindu/Hum-All-Rand-GS-Real-Med-/Node_Activity_lengend.pngbin0 -> 235800 bytes
-rw-r--r--Metrics/Metrics-Calculation/metrics_plot/model comparison/output/yakindu/Hum-All-Rand-GS-Real-Med-/Node_Types.pngbin0 -> 225675 bytes
-rw-r--r--Metrics/Metrics-Calculation/metrics_plot/model comparison/output/yakindu/Hum-All-Rand-GS-Real-Med-/Node_Types_lengend.pngbin0 -> 230053 bytes
-rw-r--r--Metrics/Metrics-Calculation/metrics_plot/model comparison/output/yakindu/Hum-All-Rand-GS-Real-Med-/Out_Degree.pngbin0 -> 198476 bytes
-rw-r--r--Metrics/Metrics-Calculation/metrics_plot/model comparison/output/yakindu/Hum-All-Rand-GS-Real-Med-/Out_Degree_lengend.pngbin0 -> 226169 bytes
-rw-r--r--Metrics/Metrics-Calculation/metrics_plot/model comparison/output/yakindu/Human-Alloy-BaseViatra-RealViatra-Random-rep-/MPC.pngbin230048 -> 0 bytes
-rw-r--r--Metrics/Metrics-Calculation/metrics_plot/model comparison/output/yakindu/Human-Alloy-BaseViatra-RealViatra-Random-rep-/MPC_lengend.pngbin277011 -> 0 bytes
-rw-r--r--Metrics/Metrics-Calculation/metrics_plot/model comparison/output/yakindu/Human-Alloy-BaseViatra-RealViatra-Random-rep-/Node Types.pngbin238149 -> 0 bytes
-rw-r--r--Metrics/Metrics-Calculation/metrics_plot/model comparison/output/yakindu/Human-Alloy-BaseViatra-RealViatra-Random-rep-/Node Types_lengend.pngbin259399 -> 0 bytes
-rw-r--r--Metrics/Metrics-Calculation/metrics_plot/model comparison/output/yakindu/Human-Alloy-BaseViatra-RealViatra-Random-rep-/Node_Activity.pngbin195069 -> 0 bytes
-rw-r--r--Metrics/Metrics-Calculation/metrics_plot/model comparison/output/yakindu/Human-Alloy-BaseViatra-RealViatra-Random-rep-/Node_Activity_lengend.pngbin238599 -> 0 bytes
-rw-r--r--Metrics/Metrics-Calculation/metrics_plot/model comparison/output/yakindu/Human-Alloy-BaseViatra-RealViatra-Random-rep-/Out_Degree.pngbin212885 -> 0 bytes
-rw-r--r--Metrics/Metrics-Calculation/metrics_plot/model comparison/output/yakindu/Human-Alloy-BaseViatra-RealViatra-Random-rep-/Out_Degree_lengend.pngbin237793 -> 0 bytes
-rw-r--r--Metrics/Metrics-Calculation/metrics_plot/model comparison/src/plot_ks_stats.py59
39 files changed, 38 insertions, 21 deletions
diff --git a/Metrics/Metrics-Calculation/metrics_plot/model comparison/output/ecore/Hum-All-Rand-GS-Real-Med-/MPC.png b/Metrics/Metrics-Calculation/metrics_plot/model comparison/output/ecore/Hum-All-Rand-GS-Real-Med-/MPC.png
new file mode 100644
index 00000000..d184e5bf
--- /dev/null
+++ b/Metrics/Metrics-Calculation/metrics_plot/model comparison/output/ecore/Hum-All-Rand-GS-Real-Med-/MPC.png
Binary files differ
diff --git a/Metrics/Metrics-Calculation/metrics_plot/model comparison/output/ecore/Hum-All-Rand-GS-Real-Med-/MPC_lengend.png b/Metrics/Metrics-Calculation/metrics_plot/model comparison/output/ecore/Hum-All-Rand-GS-Real-Med-/MPC_lengend.png
new file mode 100644
index 00000000..0dea77f2
--- /dev/null
+++ b/Metrics/Metrics-Calculation/metrics_plot/model comparison/output/ecore/Hum-All-Rand-GS-Real-Med-/MPC_lengend.png
Binary files differ
diff --git a/Metrics/Metrics-Calculation/metrics_plot/model comparison/output/ecore/Hum-All-Rand-GS-Real-Med-/Node_Activity.png b/Metrics/Metrics-Calculation/metrics_plot/model comparison/output/ecore/Hum-All-Rand-GS-Real-Med-/Node_Activity.png
new file mode 100644
index 00000000..192fe6f0
--- /dev/null
+++ b/Metrics/Metrics-Calculation/metrics_plot/model comparison/output/ecore/Hum-All-Rand-GS-Real-Med-/Node_Activity.png
Binary files differ
diff --git a/Metrics/Metrics-Calculation/metrics_plot/model comparison/output/ecore/Hum-All-Rand-GS-Real-Med-/Node_Activity_lengend.png b/Metrics/Metrics-Calculation/metrics_plot/model comparison/output/ecore/Hum-All-Rand-GS-Real-Med-/Node_Activity_lengend.png
new file mode 100644
index 00000000..4db337ef
--- /dev/null
+++ b/Metrics/Metrics-Calculation/metrics_plot/model comparison/output/ecore/Hum-All-Rand-GS-Real-Med-/Node_Activity_lengend.png
Binary files differ
diff --git a/Metrics/Metrics-Calculation/metrics_plot/model comparison/output/ecore/Hum-All-Rand-GS-Real-Med-/Node_Types.png b/Metrics/Metrics-Calculation/metrics_plot/model comparison/output/ecore/Hum-All-Rand-GS-Real-Med-/Node_Types.png
new file mode 100644
index 00000000..2f24cda9
--- /dev/null
+++ b/Metrics/Metrics-Calculation/metrics_plot/model comparison/output/ecore/Hum-All-Rand-GS-Real-Med-/Node_Types.png
Binary files differ
diff --git a/Metrics/Metrics-Calculation/metrics_plot/model comparison/output/ecore/Hum-All-Rand-GS-Real-Med-/Node_Types_lengend.png b/Metrics/Metrics-Calculation/metrics_plot/model comparison/output/ecore/Hum-All-Rand-GS-Real-Med-/Node_Types_lengend.png
new file mode 100644
index 00000000..14dcc501
--- /dev/null
+++ b/Metrics/Metrics-Calculation/metrics_plot/model comparison/output/ecore/Hum-All-Rand-GS-Real-Med-/Node_Types_lengend.png
Binary files differ
diff --git a/Metrics/Metrics-Calculation/metrics_plot/model comparison/output/ecore/Hum-All-Rand-GS-Real-Med-/Out_Degree.png b/Metrics/Metrics-Calculation/metrics_plot/model comparison/output/ecore/Hum-All-Rand-GS-Real-Med-/Out_Degree.png
new file mode 100644
index 00000000..6f40ea4d
--- /dev/null
+++ b/Metrics/Metrics-Calculation/metrics_plot/model comparison/output/ecore/Hum-All-Rand-GS-Real-Med-/Out_Degree.png
Binary files differ
diff --git a/Metrics/Metrics-Calculation/metrics_plot/model comparison/output/ecore/Hum-All-Rand-GS-Real-Med-/Out_Degree_lengend.png b/Metrics/Metrics-Calculation/metrics_plot/model comparison/output/ecore/Hum-All-Rand-GS-Real-Med-/Out_Degree_lengend.png
new file mode 100644
index 00000000..f2e3230b
--- /dev/null
+++ b/Metrics/Metrics-Calculation/metrics_plot/model comparison/output/ecore/Hum-All-Rand-GS-Real-Med-/Out_Degree_lengend.png
Binary files differ
diff --git a/Metrics/Metrics-Calculation/metrics_plot/model comparison/output/github/Hum-All-Rand-GS-Real-Med-/MPC.png b/Metrics/Metrics-Calculation/metrics_plot/model comparison/output/github/Hum-All-Rand-GS-Real-Med-/MPC.png
new file mode 100644
index 00000000..834a91aa
--- /dev/null
+++ b/Metrics/Metrics-Calculation/metrics_plot/model comparison/output/github/Hum-All-Rand-GS-Real-Med-/MPC.png
Binary files differ
diff --git a/Metrics/Metrics-Calculation/metrics_plot/model comparison/output/github/Hum-All-Rand-GS-Real-Med-/MPC_lengend.png b/Metrics/Metrics-Calculation/metrics_plot/model comparison/output/github/Hum-All-Rand-GS-Real-Med-/MPC_lengend.png
new file mode 100644
index 00000000..b3783c77
--- /dev/null
+++ b/Metrics/Metrics-Calculation/metrics_plot/model comparison/output/github/Hum-All-Rand-GS-Real-Med-/MPC_lengend.png
Binary files differ
diff --git a/Metrics/Metrics-Calculation/metrics_plot/model comparison/output/github/Hum-All-Rand-GS-Real-Med-/Node_Activity.png b/Metrics/Metrics-Calculation/metrics_plot/model comparison/output/github/Hum-All-Rand-GS-Real-Med-/Node_Activity.png
new file mode 100644
index 00000000..2828f1fd
--- /dev/null
+++ b/Metrics/Metrics-Calculation/metrics_plot/model comparison/output/github/Hum-All-Rand-GS-Real-Med-/Node_Activity.png
Binary files differ
diff --git a/Metrics/Metrics-Calculation/metrics_plot/model comparison/output/github/Hum-All-Rand-GS-Real-Med-/Node_Activity_lengend.png b/Metrics/Metrics-Calculation/metrics_plot/model comparison/output/github/Hum-All-Rand-GS-Real-Med-/Node_Activity_lengend.png
new file mode 100644
index 00000000..4a50e619
--- /dev/null
+++ b/Metrics/Metrics-Calculation/metrics_plot/model comparison/output/github/Hum-All-Rand-GS-Real-Med-/Node_Activity_lengend.png
Binary files differ
diff --git a/Metrics/Metrics-Calculation/metrics_plot/model comparison/output/github/Hum-All-Rand-GS-Real-Med-/Node_Types.png b/Metrics/Metrics-Calculation/metrics_plot/model comparison/output/github/Hum-All-Rand-GS-Real-Med-/Node_Types.png
new file mode 100644
index 00000000..991ff1ff
--- /dev/null
+++ b/Metrics/Metrics-Calculation/metrics_plot/model comparison/output/github/Hum-All-Rand-GS-Real-Med-/Node_Types.png
Binary files differ
diff --git a/Metrics/Metrics-Calculation/metrics_plot/model comparison/output/github/Hum-All-Rand-GS-Real-Med-/Node_Types_lengend.png b/Metrics/Metrics-Calculation/metrics_plot/model comparison/output/github/Hum-All-Rand-GS-Real-Med-/Node_Types_lengend.png
new file mode 100644
index 00000000..d13686c8
--- /dev/null
+++ b/Metrics/Metrics-Calculation/metrics_plot/model comparison/output/github/Hum-All-Rand-GS-Real-Med-/Node_Types_lengend.png
Binary files differ
diff --git a/Metrics/Metrics-Calculation/metrics_plot/model comparison/output/github/Hum-All-Rand-GS-Real-Med-/Out_Degree.png b/Metrics/Metrics-Calculation/metrics_plot/model comparison/output/github/Hum-All-Rand-GS-Real-Med-/Out_Degree.png
new file mode 100644
index 00000000..12b4ce33
--- /dev/null
+++ b/Metrics/Metrics-Calculation/metrics_plot/model comparison/output/github/Hum-All-Rand-GS-Real-Med-/Out_Degree.png
Binary files differ
diff --git a/Metrics/Metrics-Calculation/metrics_plot/model comparison/output/github/Hum-All-Rand-GS-Real-Med-/Out_Degree_lengend.png b/Metrics/Metrics-Calculation/metrics_plot/model comparison/output/github/Hum-All-Rand-GS-Real-Med-/Out_Degree_lengend.png
new file mode 100644
index 00000000..03fe9740
--- /dev/null
+++ b/Metrics/Metrics-Calculation/metrics_plot/model comparison/output/github/Hum-All-Rand-GS-Real-Med-/Out_Degree_lengend.png
Binary files differ
diff --git a/Metrics/Metrics-Calculation/metrics_plot/model comparison/output/test/Hum-/TCC.png b/Metrics/Metrics-Calculation/metrics_plot/model comparison/output/test/Hum-/TCC.png
new file mode 100644
index 00000000..31a83155
--- /dev/null
+++ b/Metrics/Metrics-Calculation/metrics_plot/model comparison/output/test/Hum-/TCC.png
Binary files differ
diff --git a/Metrics/Metrics-Calculation/metrics_plot/model comparison/output/test/Hum-/TCC_lengend.png b/Metrics/Metrics-Calculation/metrics_plot/model comparison/output/test/Hum-/TCC_lengend.png
new file mode 100644
index 00000000..e29f59cb
--- /dev/null
+++ b/Metrics/Metrics-Calculation/metrics_plot/model comparison/output/test/Hum-/TCC_lengend.png
Binary files differ
diff --git a/Metrics/Metrics-Calculation/metrics_plot/model comparison/output/test/Hum-Rand-GS-Real-/TCC.png b/Metrics/Metrics-Calculation/metrics_plot/model comparison/output/test/Hum-Rand-GS-Real-/TCC.png
new file mode 100644
index 00000000..a3d56a23
--- /dev/null
+++ b/Metrics/Metrics-Calculation/metrics_plot/model comparison/output/test/Hum-Rand-GS-Real-/TCC.png
Binary files differ
diff --git a/Metrics/Metrics-Calculation/metrics_plot/model comparison/output/test/Hum-Rand-GS-Real-/TCC_lengend.png b/Metrics/Metrics-Calculation/metrics_plot/model comparison/output/test/Hum-Rand-GS-Real-/TCC_lengend.png
new file mode 100644
index 00000000..58cefaff
--- /dev/null
+++ b/Metrics/Metrics-Calculation/metrics_plot/model comparison/output/test/Hum-Rand-GS-Real-/TCC_lengend.png
Binary files differ
diff --git a/Metrics/Metrics-Calculation/metrics_plot/model comparison/output/test/Hum-Real-/TCC.png b/Metrics/Metrics-Calculation/metrics_plot/model comparison/output/test/Hum-Real-/TCC.png
new file mode 100644
index 00000000..e9614b89
--- /dev/null
+++ b/Metrics/Metrics-Calculation/metrics_plot/model comparison/output/test/Hum-Real-/TCC.png
Binary files differ
diff --git a/Metrics/Metrics-Calculation/metrics_plot/model comparison/output/test/Hum-Real-/TCC_lengend.png b/Metrics/Metrics-Calculation/metrics_plot/model comparison/output/test/Hum-Real-/TCC_lengend.png
new file mode 100644
index 00000000..f0cee20a
--- /dev/null
+++ b/Metrics/Metrics-Calculation/metrics_plot/model comparison/output/test/Hum-Real-/TCC_lengend.png
Binary files differ
diff --git a/Metrics/Metrics-Calculation/metrics_plot/model comparison/output/yakindu/Hum-All-Rand-GS-Real-Med-/MPC.png b/Metrics/Metrics-Calculation/metrics_plot/model comparison/output/yakindu/Hum-All-Rand-GS-Real-Med-/MPC.png
new file mode 100644
index 00000000..a53bda79
--- /dev/null
+++ b/Metrics/Metrics-Calculation/metrics_plot/model comparison/output/yakindu/Hum-All-Rand-GS-Real-Med-/MPC.png
Binary files differ
diff --git a/Metrics/Metrics-Calculation/metrics_plot/model comparison/output/yakindu/Hum-All-Rand-GS-Real-Med-/MPC_lengend.png b/Metrics/Metrics-Calculation/metrics_plot/model comparison/output/yakindu/Hum-All-Rand-GS-Real-Med-/MPC_lengend.png
new file mode 100644
index 00000000..7a49fb91
--- /dev/null
+++ b/Metrics/Metrics-Calculation/metrics_plot/model comparison/output/yakindu/Hum-All-Rand-GS-Real-Med-/MPC_lengend.png
Binary files differ
diff --git a/Metrics/Metrics-Calculation/metrics_plot/model comparison/output/yakindu/Hum-All-Rand-GS-Real-Med-/Node_Activity.png b/Metrics/Metrics-Calculation/metrics_plot/model comparison/output/yakindu/Hum-All-Rand-GS-Real-Med-/Node_Activity.png
new file mode 100644
index 00000000..bf6ca9ba
--- /dev/null
+++ b/Metrics/Metrics-Calculation/metrics_plot/model comparison/output/yakindu/Hum-All-Rand-GS-Real-Med-/Node_Activity.png
Binary files differ
diff --git a/Metrics/Metrics-Calculation/metrics_plot/model comparison/output/yakindu/Hum-All-Rand-GS-Real-Med-/Node_Activity_lengend.png b/Metrics/Metrics-Calculation/metrics_plot/model comparison/output/yakindu/Hum-All-Rand-GS-Real-Med-/Node_Activity_lengend.png
new file mode 100644
index 00000000..d82a124e
--- /dev/null
+++ b/Metrics/Metrics-Calculation/metrics_plot/model comparison/output/yakindu/Hum-All-Rand-GS-Real-Med-/Node_Activity_lengend.png
Binary files differ
diff --git a/Metrics/Metrics-Calculation/metrics_plot/model comparison/output/yakindu/Hum-All-Rand-GS-Real-Med-/Node_Types.png b/Metrics/Metrics-Calculation/metrics_plot/model comparison/output/yakindu/Hum-All-Rand-GS-Real-Med-/Node_Types.png
new file mode 100644
index 00000000..0e7b1e46
--- /dev/null
+++ b/Metrics/Metrics-Calculation/metrics_plot/model comparison/output/yakindu/Hum-All-Rand-GS-Real-Med-/Node_Types.png
Binary files differ
diff --git a/Metrics/Metrics-Calculation/metrics_plot/model comparison/output/yakindu/Hum-All-Rand-GS-Real-Med-/Node_Types_lengend.png b/Metrics/Metrics-Calculation/metrics_plot/model comparison/output/yakindu/Hum-All-Rand-GS-Real-Med-/Node_Types_lengend.png
new file mode 100644
index 00000000..7f9e560e
--- /dev/null
+++ b/Metrics/Metrics-Calculation/metrics_plot/model comparison/output/yakindu/Hum-All-Rand-GS-Real-Med-/Node_Types_lengend.png
Binary files differ
diff --git a/Metrics/Metrics-Calculation/metrics_plot/model comparison/output/yakindu/Hum-All-Rand-GS-Real-Med-/Out_Degree.png b/Metrics/Metrics-Calculation/metrics_plot/model comparison/output/yakindu/Hum-All-Rand-GS-Real-Med-/Out_Degree.png
new file mode 100644
index 00000000..928a0704
--- /dev/null
+++ b/Metrics/Metrics-Calculation/metrics_plot/model comparison/output/yakindu/Hum-All-Rand-GS-Real-Med-/Out_Degree.png
Binary files differ
diff --git a/Metrics/Metrics-Calculation/metrics_plot/model comparison/output/yakindu/Hum-All-Rand-GS-Real-Med-/Out_Degree_lengend.png b/Metrics/Metrics-Calculation/metrics_plot/model comparison/output/yakindu/Hum-All-Rand-GS-Real-Med-/Out_Degree_lengend.png
new file mode 100644
index 00000000..0059a925
--- /dev/null
+++ b/Metrics/Metrics-Calculation/metrics_plot/model comparison/output/yakindu/Hum-All-Rand-GS-Real-Med-/Out_Degree_lengend.png
Binary files differ
diff --git a/Metrics/Metrics-Calculation/metrics_plot/model comparison/output/yakindu/Human-Alloy-BaseViatra-RealViatra-Random-rep-/MPC.png b/Metrics/Metrics-Calculation/metrics_plot/model comparison/output/yakindu/Human-Alloy-BaseViatra-RealViatra-Random-rep-/MPC.png
deleted file mode 100644
index b4895790..00000000
--- a/Metrics/Metrics-Calculation/metrics_plot/model comparison/output/yakindu/Human-Alloy-BaseViatra-RealViatra-Random-rep-/MPC.png
+++ /dev/null
Binary files differ
diff --git a/Metrics/Metrics-Calculation/metrics_plot/model comparison/output/yakindu/Human-Alloy-BaseViatra-RealViatra-Random-rep-/MPC_lengend.png b/Metrics/Metrics-Calculation/metrics_plot/model comparison/output/yakindu/Human-Alloy-BaseViatra-RealViatra-Random-rep-/MPC_lengend.png
deleted file mode 100644
index 31cd1fa1..00000000
--- a/Metrics/Metrics-Calculation/metrics_plot/model comparison/output/yakindu/Human-Alloy-BaseViatra-RealViatra-Random-rep-/MPC_lengend.png
+++ /dev/null
Binary files differ
diff --git a/Metrics/Metrics-Calculation/metrics_plot/model comparison/output/yakindu/Human-Alloy-BaseViatra-RealViatra-Random-rep-/Node Types.png b/Metrics/Metrics-Calculation/metrics_plot/model comparison/output/yakindu/Human-Alloy-BaseViatra-RealViatra-Random-rep-/Node Types.png
deleted file mode 100644
index ad522d86..00000000
--- a/Metrics/Metrics-Calculation/metrics_plot/model comparison/output/yakindu/Human-Alloy-BaseViatra-RealViatra-Random-rep-/Node Types.png
+++ /dev/null
Binary files differ
diff --git a/Metrics/Metrics-Calculation/metrics_plot/model comparison/output/yakindu/Human-Alloy-BaseViatra-RealViatra-Random-rep-/Node Types_lengend.png b/Metrics/Metrics-Calculation/metrics_plot/model comparison/output/yakindu/Human-Alloy-BaseViatra-RealViatra-Random-rep-/Node Types_lengend.png
deleted file mode 100644
index 5507adde..00000000
--- a/Metrics/Metrics-Calculation/metrics_plot/model comparison/output/yakindu/Human-Alloy-BaseViatra-RealViatra-Random-rep-/Node Types_lengend.png
+++ /dev/null
Binary files differ
diff --git a/Metrics/Metrics-Calculation/metrics_plot/model comparison/output/yakindu/Human-Alloy-BaseViatra-RealViatra-Random-rep-/Node_Activity.png b/Metrics/Metrics-Calculation/metrics_plot/model comparison/output/yakindu/Human-Alloy-BaseViatra-RealViatra-Random-rep-/Node_Activity.png
deleted file mode 100644
index b080c54d..00000000
--- a/Metrics/Metrics-Calculation/metrics_plot/model comparison/output/yakindu/Human-Alloy-BaseViatra-RealViatra-Random-rep-/Node_Activity.png
+++ /dev/null
Binary files differ
diff --git a/Metrics/Metrics-Calculation/metrics_plot/model comparison/output/yakindu/Human-Alloy-BaseViatra-RealViatra-Random-rep-/Node_Activity_lengend.png b/Metrics/Metrics-Calculation/metrics_plot/model comparison/output/yakindu/Human-Alloy-BaseViatra-RealViatra-Random-rep-/Node_Activity_lengend.png
deleted file mode 100644
index 8d45735a..00000000
--- a/Metrics/Metrics-Calculation/metrics_plot/model comparison/output/yakindu/Human-Alloy-BaseViatra-RealViatra-Random-rep-/Node_Activity_lengend.png
+++ /dev/null
Binary files differ
diff --git a/Metrics/Metrics-Calculation/metrics_plot/model comparison/output/yakindu/Human-Alloy-BaseViatra-RealViatra-Random-rep-/Out_Degree.png b/Metrics/Metrics-Calculation/metrics_plot/model comparison/output/yakindu/Human-Alloy-BaseViatra-RealViatra-Random-rep-/Out_Degree.png
deleted file mode 100644
index 9dbcd05f..00000000
--- a/Metrics/Metrics-Calculation/metrics_plot/model comparison/output/yakindu/Human-Alloy-BaseViatra-RealViatra-Random-rep-/Out_Degree.png
+++ /dev/null
Binary files differ
diff --git a/Metrics/Metrics-Calculation/metrics_plot/model comparison/output/yakindu/Human-Alloy-BaseViatra-RealViatra-Random-rep-/Out_Degree_lengend.png b/Metrics/Metrics-Calculation/metrics_plot/model comparison/output/yakindu/Human-Alloy-BaseViatra-RealViatra-Random-rep-/Out_Degree_lengend.png
deleted file mode 100644
index 1fee8654..00000000
--- a/Metrics/Metrics-Calculation/metrics_plot/model comparison/output/yakindu/Human-Alloy-BaseViatra-RealViatra-Random-rep-/Out_Degree_lengend.png
+++ /dev/null
Binary files differ
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 af231a98..75fe78eb 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
@@ -11,27 +11,40 @@ from GraphType import GraphCollection
11import DistributionMetrics as metrics 11import DistributionMetrics as metrics
12 12
13def main(): 13def main():
14 domain = 'github'
14 # read models 15 # read models
15 alloy = GraphCollection('../input/measurement2/yakindu/Alloy/', 100, 'Alloy') 16 alloy = GraphCollection('../input/measurement2/{}/Alloy/'.format(domain), 100, 'All')
16 human = GraphCollection('../input/measurement2/yakindu/Human/', 304, 'Human') 17 human = GraphCollection('../input/measurement2/{}/Human/'.format(domain), 304, 'Hum')
17 base = GraphCollection('../input/measurement2/yakindu/BaseViatra/', 100, 'BaseViatra') 18 base = GraphCollection('../input/measurement2/{}/BaseViatra/'.format(domain), 100, 'GS')
18 real = GraphCollection('../input/measurement2/yakindu/RealViatra/', 100, 'RealViatra') 19 real = GraphCollection('../input/measurement2/{}/RealViatra/'.format(domain), 100, 'Real')
19 random = GraphCollection('../input/measurement2/yakindu/Random/', 100, 'Random') 20 random = GraphCollection('../input/measurement2/{}/Random/'.format(domain), 100, 'Rand')
20 na_rep = GraphCollection('../input/measurement2/yakindu/Human/na_rep/', 1, 'rep') 21 na_rep = GraphCollection('../input/measurement2/{}/Human/na_rep/'.format(domain), 1, 'Med')
21 mpc_rep = GraphCollection('../input/measurement2/yakindu/Human/mpc_rep/', 1, 'rep') 22 mpc_rep = GraphCollection('../input/measurement2/{}/Human/mpc_rep/'.format(domain), 1, 'Med')
22 od_rep = GraphCollection('../input/measurement2/yakindu/Human/od_rep/', 1, 'rep') 23 od_rep = GraphCollection('../input/measurement2/{}/Human/od_rep/'.format(domain), 1, 'Med')
23 24
24 # a hack to make the node type as the same as an exiting model 25 # a hack to make the node type as the same as an exiting model
25 type_rep = GraphCollection('../input/measurement2/yakindu/Human/od_rep/', 1, 'rep') 26 type_rep = GraphCollection('../input/measurement2/{}/Human/od_rep/'.format(domain), 1, 'Med')
26 type_rep.nts = [{'Entry': 0.04257802080554814, 'Choice': 0.1267671379034409, 'State': 0.1596092291277674, 'Transition': 0.6138636969858629, 'Statechart': 0.010136036276340358, 'Region': 0.04467858095492131, 'Exit': 0.0018338223526273673, 'FinalState': 0.0005334755934915977}] 27 if(domain == 'yakindu'):
27 # type_rep.nts = [{'EAttribute': 0.23539778449144008, 'EClass': 0.30996978851963747, 'EReference': 0.33081570996978854, 'EPackage': 0.012789526686807653, 'EAnnotation': 0.002517623363544813, 'EEnumLiteral': 0.07275931520644502, 'EEnum': 0.013645518630412891, 'EDataType': 0.004028197381671702, 'EParameter': 0.005941591137965764, 'EGenericType': 0.002014098690835851, 'EOperation': 0.009415911379657605, 'ETypeParameter': 0.0007049345417925478}] 28 type_rep.nts = [{'Entry': 0.04257802080554814, 'Choice': 0.1267671379034409, 'State': 0.1596092291277674, 'Transition': 0.6138636969858629, 'Statechart': 0.010136036276340358, 'Region': 0.04467858095492131, 'Exit': 0.0018338223526273673, 'FinalState': 0.0005334755934915977}]
29 elif (domain == 'ecore'):
30 type_rep.nts = [{'EAttribute': 0.23539778449144008, 'EClass': 0.30996978851963747, 'EReference': 0.33081570996978854, 'EPackage': 0.012789526686807653, 'EAnnotation': 0.002517623363544813, 'EEnumLiteral': 0.07275931520644502, 'EEnum': 0.013645518630412891, 'EDataType': 0.004028197381671702, 'EParameter': 0.005941591137965764, 'EGenericType': 0.002014098690835851, 'EOperation': 0.009415911379657605, 'ETypeParameter': 0.0007049345417925478}]
31 elif (domain == 'github'):
32 type_rep.nts = [{'Project': 0.012636538873420432, 'Commit': 0.5525808524309276, 'User': 0.05847076461769116, 'Issue': 0.12743628185907047, 'PullRequest': 0.07560505461554937, 'IssueEvent': 0.17327050760334123}]
33
28 types = sorted(type_rep.nts[0].keys()) 34 types = sorted(type_rep.nts[0].keys())
29 35
30 models_to_compare_na = [human, alloy, base, real, random, na_rep] 36 model_collections = [human, alloy, random, base, real]
31 models_to_compare_mpc = [human, alloy, base, real, random, mpc_rep] 37 for model_collection in model_collections:
32 models_to_compare_od = [human, alloy, base, real, random, od_rep] 38 print(model_collection.name)
33 models_to_compare_nt = [human, alloy, base, real, random, type_rep] 39 length = len(model_collection.violations)
40 percentage = sum(map(lambda v: int(v==0), model_collection.violations)) / length
41 print(percentage)
42
34 43
44 models_to_compare_na = [human, alloy, random, base, real, na_rep]
45 models_to_compare_mpc = [human, alloy, random, base, real, mpc_rep]
46 models_to_compare_od = [human, alloy, random, base, real, od_rep]
47 models_to_compare_nt = [human, alloy, random, base, real, type_rep]
35 for modelCollection in models_to_compare_nt: 48 for modelCollection in models_to_compare_nt:
36 type_dists = [] 49 type_dists = []
37 for nt in modelCollection.nts: 50 for nt in modelCollection.nts:
@@ -43,13 +56,13 @@ def main():
43 56
44 57
45 # define output folder 58 # define output folder
46 outputFolder = '../output/yakindu/' 59 outputFolder = '../output/{}/'.format(domain)
47 60
48 #calculate metrics 61 #calculate metrics
49 metricStat(models_to_compare_na, 'Node_Activity', nodeActivity, 0, outputFolder, calculateKSMatrix) 62 metricStat(models_to_compare_na, 'Node_Activity', nodeActivity, 0, outputFolder, calculateKSMatrix)
50 metricStat(models_to_compare_od, 'Out_Degree', outDegree, 1, outputFolder, calculateKSMatrix) 63 metricStat(models_to_compare_od, 'Out_Degree', outDegree, 1, outputFolder, calculateKSMatrix)
51 metricStat(models_to_compare_mpc, 'MPC', mpc, 2, outputFolder, calculateKSMatrix) 64 metricStat(models_to_compare_mpc, 'MPC', mpc, 2, outputFolder, calculateKSMatrix)
52 metricStat(models_to_compare_nt, 'Node_Types', nodeType, 3, outputFolder, calculateManualKSMatrix) 65 metricStat(models_to_compare_nt, 'Node_Types', nodeType, 3, outputFolder, calculateManualKSMatrix)
53 66
54def calculateKSMatrix(dists): 67def calculateKSMatrix(dists):
55 dist = [] 68 dist = []
@@ -88,16 +101,17 @@ def calculateMDS(dissimilarities):
88 return trans 101 return trans
89 102
90def plot(graphTypes, coords, title='',index = 0, savePath = ''): 103def plot(graphTypes, coords, title='',index = 0, savePath = ''):
91 color = ['blue' , 'm', 'gold', 'green', 'k', 'red'] 104 color = ['#377eb8' , '#e41a1c', '#4daf4a', '#984ea3', '#ff7f00', '#ffff33']
92 markers = ['o', 'v','+', 'x', '^', '*'] 105 markers = ['o', '+', 'x', '^', 'v', '*']
93 plt.figure(index, figsize=(5, 4)) 106 fill_styles = ['full', 'full', 'full', 'none', 'none', 'full']
107 plt.figure(index, figsize=(5, 2))
94 # plt.title(title) 108 # plt.title(title)
95 index = 0 109 index = 0
96 for i in range(len(graphTypes)): 110 for i in range(len(graphTypes)):
97 x = (coords[index:index+graphTypes[i].size, 0].tolist()) 111 x = (coords[index:index+graphTypes[i].size, 0].tolist())
98 y = (coords[index:index+graphTypes[i].size, 1].tolist()) 112 y = (coords[index:index+graphTypes[i].size, 1].tolist())
99 index += graphTypes[i].size 113 index += graphTypes[i].size
100 plt.plot(x, y, color=color[i], marker=markers[i], label = graphTypes[i].name, linestyle='', alpha=0.7) 114 plt.plot(x, y, color=color[i], marker=markers[i], label = graphTypes[i].name, linestyle='', alpha=0.7, fillstyle = fill_styles[i])
101 plt.savefig(fname = savePath+'.png', dpi=500) 115 plt.savefig(fname = savePath+'.png', dpi=500)
102 plt.legend(loc='upper right') 116 plt.legend(loc='upper right')
103 plt.savefig(fname = savePath+'_lengend.png', dpi=500) 117 plt.savefig(fname = savePath+'_lengend.png', dpi=500)
@@ -137,5 +151,8 @@ def mpc(graphType):
137def nodeType(graphType): 151def nodeType(graphType):
138 return graphType.nts 152 return graphType.nts
139 153
154def tcc(graphType):
155 return graphType.tccs
156
140if __name__ == '__main__': 157if __name__ == '__main__':
141 main() \ No newline at end of file 158 main() \ No newline at end of file