Commit 667b9e48 authored by Alexander David Hellwig's avatar Alexander David Hellwig
Browse files


parent a1a1de51
Pipeline #111618 canceled with stages
......@@ -160,9 +160,23 @@ Affinity Propagation:
| name | String | ✔️ | must equal "AffinityPropagation" |
### Defining the connection between a component and the middleware
### Visulization of clustering results
There are 3 scripts available to visualise the results of the clustering process. They all create graphs for each of the 4 evaluation models:
1. [](src/test/resources/ bar graphs that compare the size of clusters, distance score, and time taken in ms
2. [](src/test/resources/ line graph visualising the average distance cost for random clustering(with Monte Carlo)
3. [](src/test/resources/ point graph visualising the silhouette score of different clusterings sorted by cluster size
Execute them by running from the root of the project after executing all test in `EvaluationTest` or `MonteCarloIntegrationTest`:
python3 src/test/resources/ target/evaluation/autopilot/emam/clusteringResults.json target/evaluation/pacman/emam/clusteringResults.json target/evaluation/supermario/emam/clusteringResults.json target/evaluation/daimler/emam/clusteringResults.json
python3 src/test/resources/ target/evaluation/autopilotSilhouette/emam/clusteringResults.json target/evaluation/pacmanSilhouette/emam/clusteringResults.json target/evaluation/supermarioSilhouette/emam/clusteringResults.json target/evaluation/daimlerSilhouette/emam/clusteringResults.json
## Defining the connection between a component and the middleware
The connection between middleware and the component is defined as tags on Ports in .tag files.
### Example with ROS Middleware:
Tags of the type RosConnection can either be simple tags(see Example 3) or define a topic( with name, type and optional msgField( , 2.)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment