Commit f0a5d2df authored by Sören Henning's avatar Sören Henning

added further exponential scenarios

parent e70c331c
......@@ -28,6 +28,21 @@ public enum Scenario {
new FunctionSum(x -> 100, new Noise(50, 9321708)),
Duration.ofSeconds(41), // 40 + 1
true)),
EXPONENTIAL_STRONG(new CallConfiguration(new FooMethod(),
new FunctionSum(x -> (long) ((Math.exp((double) x / (40_000.0/12)) - 1) / (160_000.0 / 400)) + 100, new Noise(10, 9311708)),
new FunctionSum(x -> 100, new Noise(50, 15002808)),
Duration.ofSeconds(41), // 40 + 1
true)),
EXPONENTIAL_STRONGER(new CallConfiguration(new FooMethod(),
new FunctionSum(x -> (long) ((Math.exp((double) x / (40_000.0/30)) - 1) / (3_200_000.0 / 400)) + 100, new Noise(10, 9311708)),
new FunctionSum(x -> 100, new Noise(50, 15102808)),
Duration.ofSeconds(41), // 40 + 1
true)),
EXPONENTIAL_HEAVY(new CallConfiguration(new FooMethod(),
new FunctionSum(x -> (long) ((Math.exp((double) x / (40_000.0/30)) - 1) / (Math.exp(30) / 400)) + 100, new Noise(10, 9311708)),
new FunctionSum(x -> 100, new Noise(50, 15272808)),
Duration.ofSeconds(41), // 40 + 1
true)),
CONSTANT_EVERY_MS_100(new CallConfiguration(new FooMethod(),
x -> 1,
x -> 100,
......
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