public class SinusoidalSeries extends StatefulTimeseriesDistribution
noiseDistribution, onlyPositive
cachedMean, cachedVariance
Constructor and Description |
---|
SinusoidalSeries(double amplitude) |
SinusoidalSeries(double amplitude,
double period) |
SinusoidalSeries(double amplitude,
double period,
double origin) |
SinusoidalSeries(double amplitude,
double period,
double origin,
double noise)
A sinusoidal sequence that obviously has seasonal behavior
|
Modifier and Type | Method and Description |
---|---|
protected double |
getCurrentSeriesValue(long currentTime)
Sub-classes need to implement this.
|
cumulativeProbability, density, getSupportLowerBound, getSupportUpperBound, isSupportConnected, isSupportLowerBoundInclusive, isSupportUpperBoundInclusive, sample, sample, setCurrentTime
getNumericalMean, getNumericalVariance, value
public SinusoidalSeries(double amplitude)
public SinusoidalSeries(double amplitude, double period)
public SinusoidalSeries(double amplitude, double period, double origin)
public SinusoidalSeries(double amplitude, double period, double origin, double noise)
amplitude
- the amplitude of the sinus waveperiod
- the period of the season in daysorigin
- protected double getCurrentSeriesValue(long currentTime)
StatefulTimeseriesDistribution
getCurrentSeriesValue
in class StatefulTimeseriesDistribution
currentTime
- the current time as a POSIX timestamp (millis since 01-01-1970)