Commit 403e81fc authored by Sören Henning's avatar Sören Henning

minor fixes

parent f0a5d2df
...@@ -2,6 +2,7 @@ package watchme; ...@@ -2,6 +2,7 @@ package watchme;
import watchme.function.FunctionSum; import watchme.function.FunctionSum;
import watchme.function.Noise; import watchme.function.Noise;
import watchme.function.RandomAnomaly;
import watchme.function.StaticAnomaly; import watchme.function.StaticAnomaly;
import java.time.Duration; import java.time.Duration;
...@@ -43,6 +44,11 @@ public enum Scenario { ...@@ -43,6 +44,11 @@ public enum Scenario {
new FunctionSum(x -> 100, new Noise(50, 15272808)), new FunctionSum(x -> 100, new Noise(50, 15272808)),
Duration.ofSeconds(41), // 40 + 1 Duration.ofSeconds(41), // 40 + 1
true)), true)),
LIVE_DEMO(new CallConfiguration(new FooMethod(),
new FunctionSum(x -> (long) ((50 * Math.sin(((2*Math.PI) / 40_000) * x)) + 200), new Noise(10, 14502908), new RandomAnomaly(100, 0.05, 14522908)),
new FunctionSum(x -> 500),
Duration.ofHours(4),
true)),
CONSTANT_EVERY_MS_100(new CallConfiguration(new FooMethod(), CONSTANT_EVERY_MS_100(new CallConfiguration(new FooMethod(),
x -> 1, x -> 1,
x -> 100, 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