|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object djfractal.FractalResult
Defines the result of a computation on a fractal data.
A fractal result may be the returned object of:
FractalComputer.calculateAll(FractalData fd)
: in this case, the
values
arrays must contain the colors given to pixels of the
specified fractal data fd
;
FractalComputer.discrepancy(FractalData fd)
: in this case, the
values
arrays must contain the four colors given to the corner
pixels of the specified fractal data fd
, averageColor
must contain the average color, and discrepancy
the discrepancy
computed.
In both case, computedTime
and statsData
must contain
statistics for the computation.
FractalComputer
,
FractalData
,
StatsData
,
Serialized FormField Summary | |
int |
averageColor
|
long |
computedTime
|
int |
discrepancy
|
StatsData |
statsData
|
int[] |
values
|
Constructor Summary | |
FractalResult()
|
Method Summary | |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public int[] values
public int averageColor
public int discrepancy
public long computedTime
public StatsData statsData
Constructor Detail |
public FractalResult()
Method Detail |
public java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |