Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
E
EMAM2Middleware
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
4
Issues
4
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Test Cases
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
monticore
EmbeddedMontiArc
generators
EMAM2Middleware
Commits
6def08a0
Commit
6def08a0
authored
Mar 12, 2019
by
Alexander David Hellwig
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add Silhouette to evaluation
parent
86e853d9
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
95 additions
and
0 deletions
+95
-0
src/test/java/de/monticore/lang/monticar/generator/middleware/EvaluationTest.java
...re/lang/monticar/generator/middleware/EvaluationTest.java
+16
-0
src/test/resources/config/evaluation/autopilotSilhouette.json
...test/resources/config/evaluation/autopilotSilhouette.json
+27
-0
src/test/resources/config/evaluation/pacmanSilhouette.json
src/test/resources/config/evaluation/pacmanSilhouette.json
+26
-0
src/test/resources/config/evaluation/supermarioSilhouette.json
...est/resources/config/evaluation/supermarioSilhouette.json
+26
-0
No files found.
src/test/java/de/monticore/lang/monticar/generator/middleware/EvaluationTest.java
View file @
6def08a0
...
...
@@ -4,6 +4,7 @@ import de.monticore.lang.monticar.generator.middleware.cli.DistributedTargetGene
import
org.junit.Ignore
;
import
org.junit.Test
;
@Ignore
(
"Used for evaluation, nothing gets asserted"
)
public
class
EvaluationTest
{
@Test
...
...
@@ -11,16 +12,31 @@ public class EvaluationTest {
DistributedTargetGeneratorCli
.
main
(
new
String
[]{
"./src/test/resources/config/evaluation/pacman.json"
});
}
@Test
public
void
testPacmanSilhouette
()
{
DistributedTargetGeneratorCli
.
main
(
new
String
[]{
"./src/test/resources/config/evaluation/pacmanSilhouette.json"
});
}
@Test
public
void
testAutopilot
()
{
DistributedTargetGeneratorCli
.
main
(
new
String
[]{
"./src/test/resources/config/evaluation/autopilot.json"
});
}
@Test
public
void
testAutopilotSilhouette
()
{
DistributedTargetGeneratorCli
.
main
(
new
String
[]{
"./src/test/resources/config/evaluation/autopilotSilhouette.json"
});
}
@Test
public
void
testSupermario
()
{
DistributedTargetGeneratorCli
.
main
(
new
String
[]{
"./src/test/resources/config/evaluation/supermario.json"
});
}
@Test
public
void
testSupermarioSilhouette
()
{
DistributedTargetGeneratorCli
.
main
(
new
String
[]{
"./src/test/resources/config/evaluation/supermarioSilhouette.json"
});
}
@Ignore
(
"Very long runtime(30min+)"
)
@Test
public
void
testDaimlerModel
()
{
...
...
src/test/resources/config/evaluation/autopilotSilhouette.json
0 → 100644
View file @
6def08a0
{
"modelsDir"
:
"src/test/resources/autopilot/"
,
"outputDir"
:
"target/evaluation/autopilotSilhouette/"
,
"rootModel"
:
"de.rwth.armin.modeling.autopilot.autopilot"
,
"generators"
:
[
"cpp"
],
"writeTagFile"
:
true
,
"clusteringParameters"
:{
"flatten"
:
true
,
"metric"
:
"Silhouette"
,
"algorithmParameters"
:[
{
"name"
:
"SpectralClustering"
,
"numberOfClusters"
:{
"min"
:
3
,
"max"
:
19
,
"step"
:
1
}
},
{
"name"
:
"Markov"
},
{
"name"
:
"AffinityPropagation"
}
]
}
}
\ No newline at end of file
src/test/resources/config/evaluation/pacmanSilhouette.json
0 → 100644
View file @
6def08a0
{
"modelsDir"
:
"src/test/resources/pacman/"
,
"outputDir"
:
"target/evaluation/pacmanSilhouette/"
,
"rootModel"
:
"de.rwth.pacman.heithoff2.controller"
,
"generators"
:
[
"cpp"
],
"writeTagFile"
:
true
,
"clusteringParameters"
:{
"flatten"
:
true
,
"metric"
:
"Silhouette"
,
"algorithmParameters"
:[
{
"name"
:
"SpectralClustering"
,
"numberOfClusters"
:{
"min"
:
3
,
"max"
:
72
,
"step"
:
1
}
},{
"name"
:
"Markov"
},
{
"name"
:
"AffinityPropagation"
}
]
}
}
\ No newline at end of file
src/test/resources/config/evaluation/supermarioSilhouette.json
0 → 100644
View file @
6def08a0
{
"modelsDir"
:
"src/test/resources/supermario/"
,
"outputDir"
:
"target/evaluation/supermarioSilhouette/"
,
"rootModel"
:
"de.rwth.supermario.haller.controller"
,
"generators"
:
[
"cpp"
],
"writeTagFile"
:
true
,
"clusteringParameters"
:{
"flatten"
:
true
,
"metric"
:
"Silhouette"
,
"algorithmParameters"
:[
{
"name"
:
"SpectralClustering"
,
"numberOfClusters"
:{
"min"
:
3
,
"max"
:
39
,
"step"
:
1
}
},{
"name"
:
"Markov"
},
{
"name"
:
"AffinityPropagation"
}
]
}
}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment