Add Silhouette to evaluation

parent 86e853d9
......@@ -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() {
......
{
"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
{
"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
{
"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
Markdown is supported
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