public class PatternMixtureGenerator extends Object implements Generator
generator bins = [
[ { type = "SEASONAL", mean = 10, ... } ],
[ { type = "SEASONAL", mean = 30, ... }, { type = "SPIKE", arrivalMean = 2, ... } ],
[ { type = "SEASONAL", mean = 50, ... } ],
]
returns [ 10, 30, 50, 11, 29, 52, 10, 114, 51, 9, 64, 50, 10, 35, 49, ... ]
Configuration examples:
| Constructor and Description |
|---|
PatternMixtureGenerator(List<List<Generator>> generatorBins) |
PatternMixtureGenerator(Map<String,Object> templateConfig) |
Copyright © 2018–2020 Apache Software Foundation. All rights reserved.