Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
monticore
EmbeddedMontiArc
generators
EMAM2Middleware
Commits
6def08a0
Commit
6def08a0
authored
Mar 12, 2019
by
Alexander David Hellwig
Browse files
Add Silhouette to evaluation
parent
86e853d9
Changes
4
Hide whitespace changes
Inline
Side-by-side
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
Supports
Markdown
0%
Try again
or
attach a new 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