Skip to content
Rui Zhao edited this page Mar 13, 2020 · 5 revisions

Usage

These are the parameters to be passed to the software to run

usage: java -jar soo.jar
 -s,--src <arg>      input folder path
 -t,--target <arg>   output folder path
 -c,--conf <arg>     folder with the configuration files
 -cc,--can <arg>     Indicates the candidate count
 -gc,--gen <arg>     Indicates the generation count
 -d,--dim <arg>      Number of dimensions required for simulation
 -m,--max <arg>      Maximum number of agents required for simulation
 -g,--gui            GUI to be used or not for the simulation
 -i,--id <arg>       Task ID
 -M,--mode <arg>     Running mode for the SOO [g, d, s, ds]
 -o,--opt            Indicates if the optimization is required or not
 -p,--params <arg>   Parameters to be passed to the simulator
 -se,--seed <arg>    Indicates the evaluation seed to be used in the OT
 -st,--sim <arg>     Indicates the simulation timeout for the OT

And this is an example of the command to deploy the Kubernetes Deployment file deployment.json and start an optimization task

java -jar -M ds /home/cpswarm/SimulationOrchestrator/target/it.ismb.pert.cpswarm.simulation.orchestrator-1.0.0-jar-with-dependencies.jar --id emergency_exit --dim any --max 3 --src /home/cpswarm/launcher_project/Models --target /home/cpswarm/launcher_project/Optimized --conf /home/cpswarm/launcher_project/SimulationConf --opt --gui

Getting Started

Clone this wiki locally