public class SimulationStarter
extends java.lang.Object
simulateWithCurrentParams
One Simulation run with the currently defined parameters.
Example: simulateWithCurrentParams
simulateBySingleParam
One Simulation run with a parameter set to the defined value. The example below will do one run with paramter a set to 0.8
Example: simulateBySingleParam a:0.8
simulateByMultiParam
One Simulation run with multiple parameters set to defined values. The example below will do one run with paramter a set to 0.8 and b set to 12.0
Example: simulateByMultiParam a:0.8,b:12.0
optimizeSingleParamLinear
Multiple Simulation runs by incrementing the value of one parameter within a defined interval. The example below will increment the value of parameter a starting at 0.1 to 0.9,incrementing by 0.1 for each run
Example: optimizeSingleParamLinear a:0.1:0.9:0.1
optimizeSingleParamByValues
Multiple Simulation runs by iterating the value of one parameter according to defined list. The example below will iterate the value of parameter a through the following list: 0.2, 0.8, 0.9 and 1.2
Example: optimizeSingleParamByValues a:0.2:0.8:0.9:1.2
optimizeSingleParam
Multiple Simulation runs by setting the value of one parameter within the defined range and trying to find the maximum ShareRatio. The optimizer being used is UnivariateRealOptimizer
. The example below will set the value of parameter a between 0.1 and 1.0 (accuracy 0.01).
Example: optimizeSingleParam a:0.1:1.0:0.01
optimizeMultiParamLinear
Multiple Simulation runs by doing a matrix Optimization of 2 or 3 parameters by incrementing their values within a defined intervals. The example below will iterate through all possible combinations by incrementing the value of parameter a starting at 0.1 to 0.9 (increment: 0.1), and incrementing the value of parameter b starting at 10.0 to 100.0 (increment: 5.0)
Example: optimizeMultiParamLinear a:0.1:0.9:0.1 b:10.0:100.0:5.0
optimizeMultiParam
Multiple Simulation runs by adjusting the value of multiple parameters around their start values and trying to find the maximum ShareRatio. The example below will start the optimiziation by settting the value of parameter a to 85.0 and parameter b to 150.0
Example: optimizeMultiParam SMI a:85.0 b:150.0
Modifier and Type | Field and Description |
---|---|
static Logger |
LOGGER |
Constructor and Description |
---|
SimulationStarter() |
Modifier and Type | Method and Description |
---|---|
static void |
main(java.lang.String[] args) |