tasks
Class MbrotEvent

java.lang.Object
  extended by tasks.MbrotEvent
All Implemented Interfaces:
java.io.Serializable

public class MbrotEvent
extends java.lang.Object
implements java.io.Serializable

Solution object for a MandelbrotSetTask

Author:
Mark Wiley
See Also:
Serialized Form

Constructor Summary
MbrotEvent()
          Creates a new instance of MandelbrotSolution
MbrotEvent(int rowStart, int colStart, double[][] mbSet)
          Creates a new instance of MandelbrotSolution
 
Method Summary
 int getColStart()
           
 double[][] getMBSet()
           
 int getResolution()
           
 int getRowStart()
           
 void integrate(MbrotEvent subSolution)
          Integrates the passed subSolution with this solution.
 void setMBSet(double[][] m)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MbrotEvent

public MbrotEvent()
Creates a new instance of MandelbrotSolution


MbrotEvent

public MbrotEvent(int rowStart,
                  int colStart,
                  double[][] mbSet)
Creates a new instance of MandelbrotSolution

Parameters:
rowStart - The row index of this solution in the over-all solution
colStart - The column index of this solution in the over-all solution
mbSet - The calculated Mandelbrot set.
Method Detail

getResolution

public int getResolution()

getRowStart

public int getRowStart()

getColStart

public int getColStart()

getMBSet

public double[][] getMBSet()

setMBSet

public void setMBSet(double[][] m)

integrate

public void integrate(MbrotEvent subSolution)
Integrates the passed subSolution with this solution.

Parameters:
subSolution - MandelbrotSolution to integrate with this MandelbrotSolution

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object