|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectinfpp.fractal.DoublePrecisionFractalGenerator
infpp.fractal.ThreadedDoublePrecisionFractalGenerator
infpp.fractal.ThreadedDoublePrecisionMandelbrotGenerator
public class ThreadedDoublePrecisionMandelbrotGenerator
The ThreadedDoublePrecisionMandelbrotGenerator provides an implementation for calculating the number of required iterations to determine the divergence of the sequence of points obtained by the recursion z1 := 1, zn + 1 = (zn)2 + c where c is a point determined by screen coordinates. This implementation operates with standard double precision arithmetic and uses multiple threads to speed up the calculation.
Constructor Summary | |
---|---|
ThreadedDoublePrecisionMandelbrotGenerator(int maxIterations)
Constructs a new ThreadedDoublePrecisionMandelbrotGenerator. |
Method Summary | |
---|---|
protected int |
calculateNumberOfIterationsAtComplex(Complex c)
Calculates the number of required iterations to determine the divergence of the sequence of points obtained by the recursion z1 := 1, zn + 1 = (zn)2 + c where c is the specified complex number. |
Methods inherited from class infpp.fractal.ThreadedDoublePrecisionFractalGenerator |
---|
getNumberOfIterationsAtPixel, setComplexOrigin, setRealDimension, setScreenDimension, startWorking |
Methods inherited from class infpp.fractal.DoublePrecisionFractalGenerator |
---|
calculateComplexFromScreenCoordinates, getComplexOrigin, getRealDimension, getScreenHeight, getScreenWidth |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ThreadedDoublePrecisionMandelbrotGenerator(int maxIterations)
maxIterations
- the maximum number of iterations to useMethod Detail |
---|
protected int calculateNumberOfIterationsAtComplex(Complex c)
calculateNumberOfIterationsAtComplex
in class ThreadedDoublePrecisionFractalGenerator
c
- the specified complex number
FractalGenerator.getNumberOfIterationsAtPixel(int, int)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |