djfractal
Class SingleScheduler

java.lang.Object
  extended bydjfractal.SingleScheduler
All Implemented Interfaces:
Scheduler

public class SingleScheduler
extends java.lang.Object
implements Scheduler


Field Summary
protected  jaya.djfractal.FractalComputer fc
           
 
Constructor Summary
SingleScheduler(EngineStatsFrames engineStatsFrames)
           
 
Method Summary
 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

fc

protected jaya.djfractal.FractalComputer fc
Constructor Detail

SingleScheduler

public SingleScheduler(EngineStatsFrames engineStatsFrames)
Method Detail

initFCS

public void initFCS(int iterations,
                    java.math.BigDecimal bailout,
                    int scale,
                    Bounds bounds,
                    int[] colors,
                    boolean verbose)
Description copied from interface: Scheduler

Initialize any FractalComputer.

Specified by:
initFCS in interface Scheduler
Parameters:
iterations - an int value
bailout - a java.math.BigDecimal value
scale - an int value
bounds - a Bounds value
colors - an int[] value
verbose - a boolean value

prepareComputation

public void prepareComputation(java.util.Collection fcs)
Description copied from interface: Scheduler

Prepare the computation.

Sets the FractalComputer collection.

Specified by:
prepareComputation in interface Scheduler
Parameters:
fcs - a java.util.Collection value

nextFC

public jaya.djfractal.FractalComputer nextFC(FractalData fd)
Description copied from interface: 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.

Specified by:
nextFC in interface Scheduler
Parameters:
fd - a FractalData value
Returns:
a jaya.djfractal.FractalComputer value

toString

public java.lang.String toString()


DJFractal help mailing list