All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object | +----edu.cornell.lassp.mck10.Hysteresis.RandField
RandField is an abstract class for generating random
fields. The getField method is left abstract. In
subclasses, this method should be defined to produce random fields in
different distributions, such as Gaussian or Lorenzian. This abstract
class allows us to change distributions by just allocating our
random number generator to be a different subclass, instead of having
to use different function calls for different distributions.
Source Code is available.
getField(sd) returns a random field from some distribution
of random numbers which has a width sd.
public abstract double getField(double sd)
getField(sd) returns a random field from some distribution
of random numbers which has a width sd. It is left
abstract, so that RandField can be subclassed for different
distributions of random numbers.
All Packages Class Hierarchy This Package Previous Next Index