You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Rainer Hihn 033295bf9c q 4 years ago
src python 4 years ago
.gitignore added run support 4 years ago
README.txt fixed NPE 4 years ago
jar.sh added jar.sh 4 years ago
pom.xml fixed CD bug 4 years ago
punicastart.sh added py scripts 4 years ago
q.sh q 4 years ago

README.txt

Generate metrics (javadoc, findbugs, cobertura) with maven3:

$ mvn clean javadoc:aggregate findbugs:findbugs cobertura:cobertura site -Ddependency.locations.enabled=false -Pmetrics -q

To create a runnable jar-file:

$ mvn clean compile assembly:single
$ java -jar target/mi-scenarios-1.0-SNAPSHOT.jar

Default parameters are set via the properties-files under src/main/resources.
Each scenario has its own file which inhertis from the file common.properties.

Examples:
=========

Start the lumberjack-scenario with two estimators and 1000 rounds:
$ java -jar target/mi-scenarios-1.0-SNAPSHOT.jar -pconsiderOwnConfiguration=true -for=1000 lumberjack

Start the crates-scenario with one estimator1 and 500 rounds and prevent mason-specific output:
$ java -jar target/mi-scenarios-1.0-SNAPSHOT.jar -pconsiderOwnConfiguration=false -for=500 -quiet lumberjack

Start the crates GUI:
$ java -jar target/mi-scenarios-1.0-SNAPSHOT.jar cratesUi

Start the lumberjack GUI:
$ java -jar target/mi-scenarios-1.0-SNAPSHOT.jar lumberjackUi

Start the gold GUI:
$ java -jar target/mi-scenarios-1.0-SNAPSHOT.jar goldUi

Start the industry4.0-scenario:
$ java -jar target/mi-scenarios-1.0-SNAPSHOT.jar industry40

Start the industry4.0-scenario in quiet mode, with 5 timeSteps, without
generating PDFs, writing data to file each step, going to 10 steps, using
scenario xml file "industry40_6stations.xml" doing 4 independent rounds
with 4 threads, logging only errors:
$ java -jar target/mi-scenarios-1.0-SNAPSHOT.jar \
-quiet \
-ptimeSteps=5 \
-pgeneratePDFs=false \
-pwriteDataAllSteps=1 \
-pamountOfSteps=10 \
-pscenarioXml=industry40_6stations.xml \
--overall-round-count=4 \
--log-level=ERROR \
--threads=4 \
industry40

Start the industry4.0-scenario GUI:
$ java -jar target/mi-scenarios-1.0-SNAPSHOT.jar industry40Ui