Added testDynamicParameterList

parent df097e2b
Pipeline #105011 failed with stages
in 15 minutes and 48 seconds
...@@ -38,5 +38,10 @@ public class JsonCliTest { ...@@ -38,5 +38,10 @@ public class JsonCliTest {
DistributedTargetGeneratorCli.main(new String[]{"./src/test/resources/config/parameterTest/clusterParamsAllAlgosMinParams.json"}); DistributedTargetGeneratorCli.main(new String[]{"./src/test/resources/config/parameterTest/clusterParamsAllAlgosMinParams.json"});
} }
@Test
public void testDynamicParameterList() {
DistributedTargetGeneratorCli.main(new String[]{"./src/test/resources/config/parameterTest/clusterDynamicList.json"});
}
} }
{ {
"modelsDir": "src/test/resources/pacman/", "modelsDir": "src/test/resources/pacman/",
"outputDir": "target/cliTest/allAlgos/", "outputDir": "target/cliTest/dynamicList/",
"rootModel": "de.rwth.pacman.heithoff2.controller", "rootModel": "de.rwth.pacman.heithoff2.controller",
"generators": ["cpp","roscpp"], "generators": ["cpp","roscpp"],
"clusteringParameters":{ "clusteringParameters":{
...@@ -8,9 +8,7 @@ ...@@ -8,9 +8,7 @@
"algorithmParameters": [ "algorithmParameters": [
{ {
"name":"SpectralClustering", "name":"SpectralClustering",
"numberOfClusters":[2,3,4], "numberOfClusters":[2,3,4,6,7]
"l": [1,2,3,4],
"sigma": [0.1]
} }
] ]
} }
......
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