|Constructor and Description|
The generator will create a cloud of points whose x-coordinates will be randomly sampled between
public RandomStraightLinePointGenerator(double a, double b, double sigma, double lo, double hi, long seed)
xHi, and the corresponding y-coordinates will be computed as
y = a x + b + N(0, error)
N(mean, sigma)is a Gaussian distribution with the given mean and standard deviation.
sigma- Standard deviation on the y-coordinate of the point.
lo- Lowest value of the x-coordinate.
hi- Highest value of the x-coordinate.
seed- RNG seed.
Copyright © 2003–2013 The Apache Software Foundation. All rights reserved.