- Inherits From:
- SwarmObject
- Declared In:
- Dividend.h
double baseline;
double amplitude;
int period;
double mindividend;
double maxdividend;
double deviation;
double rho;
double gauss;
double dvdnd;
id normal;
baseline The centerline around which deviations are computed. This is equal to the mean for a symmetric process (i.e., if asymmetry = 0). "baseline" is set only from the parameter file, and should NOT normally be changed from the default value (10.0). amplitude The amplitude of the deviations from the baseline. Measured in units of "baseline". The standard deviation of the process is proportional to this. period The period or auto-correlation time of the process. mindividend floor under dividend values maxdividend ceiling for dividend values deviation No description. rho No description. gauss No description. dvdnd No description. normal A Swarm Normal Generator object
- - initNormal
- - setBaseline:
- - setmindividend:
- - setmaxdividend:
- - setAmplitude:
- - setPeriod:
- - setDerivedParams
- - dividend
- (double)dividend
Returns the next value of the dividend. This is the core method of the Dividend object, for which all else exists. It does NOT use the global time, but simply assumes that one period passes between each call. Note that "time" may not be the same as the global variable "t" because shifts are introduced to maintain phase when certain parameters are changed.
- initNormal
Creates a Swarm Normal Distribution object
- (double)setAmplitude:(double)theAmplitude
Sets the "amplitude" parameter. Returns the value actually set, which may be clipped or rounded compared to the supplied argument. See "-setDivType:".
- setBaseline:(double)theBaseline
No method description.
- setDerivedParams
No method description.
- (int)setPeriod:(int)thePeriod
Sets the "period" parameter. Returns the value actually set, which may be clipped compared to the supplied argument. See "-setDivType:".
- setmaxdividend:(double)maximumDividend
No method description.
- setmindividend:(double)minimumDividend
No method description.