diff options
author | 2020-11-15 21:56:45 -0500 | |
---|---|---|
committer | 2020-11-15 21:56:45 -0500 | |
commit | 1cfc2e98ffbba1dc2a489ad415c81264b76d8c14 (patch) | |
tree | b342c3541a5728b775564d8a0f5c6e6d93784694 /Metrics/Metrics-Calculation/metrics_plot/Measurements/Measurement1/src/DistancePlot.ipynb | |
parent | fix node type distance measure (diff) | |
download | VIATRA-Generator-Realistic-Generation-SURE.tar.gz VIATRA-Generator-Realistic-Generation-SURE.tar.zst VIATRA-Generator-Realistic-Generation-SURE.zip |
code for paperRealistic-Generation-SURE
Diffstat (limited to 'Metrics/Metrics-Calculation/metrics_plot/Measurements/Measurement1/src/DistancePlot.ipynb')
-rw-r--r-- | Metrics/Metrics-Calculation/metrics_plot/Measurements/Measurement1/src/DistancePlot.ipynb | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/Metrics/Metrics-Calculation/metrics_plot/Measurements/Measurement1/src/DistancePlot.ipynb b/Metrics/Metrics-Calculation/metrics_plot/Measurements/Measurement1/src/DistancePlot.ipynb index 44842cf4..3f578283 100644 --- a/Metrics/Metrics-Calculation/metrics_plot/Measurements/Measurement1/src/DistancePlot.ipynb +++ b/Metrics/Metrics-Calculation/metrics_plot/Measurements/Measurement1/src/DistancePlot.ipynb | |||
@@ -2,7 +2,7 @@ | |||
2 | "cells": [ | 2 | "cells": [ |
3 | { | 3 | { |
4 | "cell_type": "code", | 4 | "cell_type": "code", |
5 | "execution_count": 6, | 5 | "execution_count": 2, |
6 | "metadata": {}, | 6 | "metadata": {}, |
7 | "outputs": [], | 7 | "outputs": [], |
8 | "source": [ | 8 | "source": [ |
@@ -13,6 +13,7 @@ | |||
13 | "import matplotlib.pyplot as plt\n", | 13 | "import matplotlib.pyplot as plt\n", |
14 | "from GraphType import GraphCollection\n", | 14 | "from GraphType import GraphCollection\n", |
15 | "import DistributionMetrics as metrics\n", | 15 | "import DistributionMetrics as metrics\n", |
16 | "from GraphType import GraphCollection\n", | ||
16 | "from GraphType import GraphStat\n", | 17 | "from GraphType import GraphStat\n", |
17 | "import readCSV as reader\n" | 18 | "import readCSV as reader\n" |
18 | ] | 19 | ] |
@@ -31,9 +32,21 @@ | |||
31 | }, | 32 | }, |
32 | { | 33 | { |
33 | "cell_type": "code", | 34 | "cell_type": "code", |
34 | "execution_count": 109, | 35 | "execution_count": 6, |
35 | "metadata": {}, | 36 | "metadata": {}, |
36 | "outputs": [], | 37 | "outputs": [ |
38 | { | ||
39 | "name": "stdout", | ||
40 | "output_type": "stream", | ||
41 | "text": [ | ||
42 | "0\n", | ||
43 | "198\n", | ||
44 | "0\n", | ||
45 | "0\n", | ||
46 | "0\n" | ||
47 | ] | ||
48 | } | ||
49 | ], | ||
37 | "source": [ | 50 | "source": [ |
38 | "# read models\n", | 51 | "# read models\n", |
39 | "domain = 'ecore'\n", | 52 | "domain = 'ecore'\n", |