public final class IterationResult
extends java.lang.Object
IterationResult
class provides a container for the results of the iteration of a single point's orbit.
Note that this class cannot be subclassed!
Modifier and Type | Field and Description |
---|---|
double |
fAngle |
double |
fAverageDistance |
double |
fAverageGaussianIntegersDistance |
org.sm.smtools.math.complex.ComplexNumber[] |
fComplexOrbit |
double |
fCurvature |
double |
fExponentialIterationCount |
double |
fExteriorDistance |
double |
fImaginaryComponent |
double |
fLyapunovExponent |
double |
fMinimumGaussianIntegersDistance |
double |
fModulus |
double |
fNormalisedIterationCount |
double |
fNrOfIterations |
double |
fOrbitTrapCrossStalksDistance |
double |
fOrbitTrapDiskDistance |
double |
fOrbitTrapSineDistance |
double |
fOrbitTrapTangensDistance |
double |
fRealComponent |
double |
fRootIndex |
ScreenLocation[] |
fScreenOrbit |
double |
fStriping |
static double |
kInfinity
A constant representing positive infinity.
|
static long |
kMemorySize
The memory size (in bytes) of the object's data.
|
Constructor and Description |
---|
IterationResult()
Constructs an
IterationResult object that represents convergence/divergence of an orbit. |
Modifier and Type | Method and Description |
---|---|
int |
getSector(int nrOfSectors)
Returns the sector of the final value.
|
boolean |
liesInInterior()
Returns whether or not the final point of this iteration sequence lies in the fractal's interior.
|
void |
streamLoad(java.io.DataInputStream dataInputStream)
Loads the iteration data from a file as a stream.
|
void |
streamSave(java.io.DataOutputStream dataOutputStream)
Saves the iteration data to a file as a stream.
|
public double fAngle
public double fAverageDistance
public double fAverageGaussianIntegersDistance
public org.sm.smtools.math.complex.ComplexNumber[] fComplexOrbit
public double fCurvature
public double fExponentialIterationCount
public double fExteriorDistance
public double fImaginaryComponent
public double fLyapunovExponent
public double fMinimumGaussianIntegersDistance
public double fModulus
public double fNormalisedIterationCount
public double fNrOfIterations
public double fOrbitTrapCrossStalksDistance
public double fOrbitTrapDiskDistance
public double fOrbitTrapSineDistance
public double fOrbitTrapTangensDistance
public double fRealComponent
public double fRootIndex
public ScreenLocation[] fScreenOrbit
public double fStriping
public static final double kInfinity
public static final long kMemorySize
Calculated as (object shell) + (#fields) * (size of double)
public IterationResult()
IterationResult
object that represents convergence/divergence of an orbit.public int getSector(int nrOfSectors)
Note that sectors start counting at 1.
nrOfSectors
- the number of sectors that are possiblepublic boolean liesInInterior()
boolean
indicating whether or not the final point of this iteration sequence lies in the fractal's interiorpublic void streamLoad(java.io.DataInputStream dataInputStream) throws java.io.IOException
dataInputStream
- a data inputstreamjava.io.IOException
- in case a parse error occurspublic void streamSave(java.io.DataOutputStream dataOutputStream) throws java.io.IOException
dataOutputStream
- a data outputstreamjava.io.IOException
- in case a write error occurs