|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Thread
client.mandelbrot.MandelbrotSolver
public class MandelbrotSolver
RMI simulator that calculates a Mandelbrot Set for a complex plane
Nested Class Summary |
---|
Nested classes/interfaces inherited from class java.lang.Thread |
---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
Field Summary |
---|
Fields inherited from class java.lang.Thread |
---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
---|---|
MandelbrotSolver()
Creates a new instance of MandelbrotSetTask |
|
MandelbrotSolver(double rmin,
double imin,
double sideLen,
int resolution,
int itrLimit,
int rowStart,
int colStart)
|
|
MandelbrotSolver(double rmin,
double imin,
double sideLen,
int resolution,
int itrLimit,
int rowStart,
int colStart,
java.util.concurrent.LinkedBlockingQueue<MbrotEvent> eventQueue)
Creates a new instance of MandelbrotSetTask |
Method Summary | |
---|---|
MbrotEvent |
execute(java.lang.Object input)
Overridden execute function that calculates the Mandelbrot Set with the given parameters |
void |
run()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Thread |
---|
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, yield |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MandelbrotSolver()
public MandelbrotSolver(double rmin, double imin, double sideLen, int resolution, int itrLimit, int rowStart, int colStart, java.util.concurrent.LinkedBlockingQueue<MbrotEvent> eventQueue)
rmin
- Minimum real value for complex planeimin
- Minimum imaginary value for complex planesideLen
- The length of the sides in the complex planeresolution
- The number of subdivsions examined along a sideitrLimit
- The iteration limit that defines when the representative point of a region is considered to be in the Mandelbrot setpublic MandelbrotSolver(double rmin, double imin, double sideLen, int resolution, int itrLimit, int rowStart, int colStart)
Method Detail |
---|
public void run()
run
in interface java.lang.Runnable
run
in class java.lang.Thread
public MbrotEvent execute(java.lang.Object input)
public java.lang.String toString()
toString
in class java.lang.Thread
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |