|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdjfractal.AbstractScheduler
Field Summary | |
protected EngineStatsFrames |
engineStatsFrames
|
protected java.util.Collection |
fcs
|
Constructor Summary | |
AbstractScheduler(EngineStatsFrames engineStatsFrames)
|
Method Summary | |
protected abstract jaya.djfractal.FractalComputer |
_nextFC(FractalData fd)
|
void |
initFCS(int iterations,
java.math.BigDecimal bailout,
int scale,
Bounds bounds,
int[] colors,
boolean verbose)
Initialize any FractalComputer . |
jaya.djfractal.FractalComputer |
nextFC(FractalData fd)
Returns the next FractalComputer for the given
FractalData . |
void |
prepareComputation(java.util.Collection fcs)
Prepare the computation. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected final EngineStatsFrames engineStatsFrames
protected java.util.Collection fcs
Constructor Detail |
public AbstractScheduler(EngineStatsFrames engineStatsFrames)
Method Detail |
public void prepareComputation(java.util.Collection fcs)
Scheduler
Prepare the computation.
Sets the FractalComputer
collection.
prepareComputation
in interface Scheduler
fcs
- a java.util.Collection
valuepublic void initFCS(int iterations, java.math.BigDecimal bailout, int scale, Bounds bounds, int[] colors, boolean verbose)
Scheduler
Initialize any FractalComputer
.
initFCS
in interface Scheduler
iterations
- an int
valuebailout
- a java.math.BigDecimal
valuescale
- an int
valuebounds
- a Bounds
valuecolors
- an int[]
valueverbose
- a boolean
valuepublic final jaya.djfractal.FractalComputer nextFC(FractalData fd)
Scheduler
Returns the next FractalComputer
for the given
FractalData
.
The EngineStatsFrames
sets with the constructor any
Scheduler instance may provide may be contacted through its EngineStatsFrames.updateStats(FractalData fd,
jaya.djfractal.FractalComputer fc)
method.
nextFC
in interface Scheduler
fd
- a FractalData
value
jaya.djfractal.FractalComputer
valueprotected abstract jaya.djfractal.FractalComputer _nextFC(FractalData fd)
public java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |