public class PatternSeasonalGenerator extends Object implements Generator
mean = 10
sigma = 1
wavelength = 4
amplitude = 10
scaling factors = [ 0.5, 1.0, 1.0, 1.0, 1.0, 0.5 ] // e.g. high weekdays, low week ends
returns [ 5, 10, 12, 7, 11, 18, 21, 6, 2, 7, 12, 20, 21, 13, ... ]
Configuration examples:
| Constructor and Description |
|---|
PatternSeasonalGenerator(double mean,
double sigma,
double trend,
double wavelength,
double amplitude,
double offset,
int seed,
double[] scalingFactors) |
PatternSeasonalGenerator(Map<String,Object> templateConfig) |
Copyright © 2018–2020 Apache Software Foundation. All rights reserved.