Class MandelbrotModel
java.lang.Object
java.util.concurrent.ForkJoinTask<java.lang.Void>
org.woehlke.computer.kurzweil.tabs.mandelbrot2julia.MandelbrotModel
- All Implemented Interfaces:
java.io.Serializable,java.util.concurrent.Future<java.lang.Void>,Startable,TabModel
public class MandelbrotModel extends java.util.concurrent.ForkJoinTask<java.lang.Void> implements TabModel
Mandelbrot Set drawn by a Turing Machine.
(C) 2006 - 2015 Thomas Woehlke.
https://thomas-woehlke.blogspot.com/2016/01/mandelbrot-set-drawn-by-turing-machine.html
- Author:
- Thomas Woehlke Created by tw on 16.12.2019.
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description MandelbrotModel(ComputerKurzweilProperties properties, MandelbrotTab tab) -
Method Summary
Modifier and Type Method Description booleanclick(Point c)protected booleanexec()intgetCellStatusFor(int x, int y)GaussianNumberPlanegetGaussianNumberPlane()java.lang.VoidgetRawResult()MandelbrotTabgetTab()PointgetWorldDimensions()voidsetModeSwitch()voidsetModeZoom()protected voidsetRawResult(java.lang.Void value)voidstart()booleanstep()voidstop()voidzoomOut()Methods inherited from class java.util.concurrent.ForkJoinTask
adapt, adapt, adapt, cancel, compareAndSetForkJoinTaskTag, complete, completeExceptionally, fork, get, get, getException, getForkJoinTaskTag, getPool, getQueuedTaskCount, getSurplusQueuedTaskCount, helpQuiesce, inForkJoinPool, invoke, invokeAll, invokeAll, invokeAll, isCancelled, isCompletedAbnormally, isCompletedNormally, isDone, join, peekNextLocalTask, pollNextLocalTask, pollSubmission, pollTask, quietlyComplete, quietlyInvoke, quietlyJoin, reinitialize, setForkJoinTaskTag, tryUnforkMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.concurrent.Future
cancel, get, get, isCancelled, isDone
-
Constructor Details
-
MandelbrotModel
-
-
Method Details
-
click
-
step
public boolean step() -
getCellStatusFor
public int getCellStatusFor(int x, int y) -
getWorldDimensions
-
setModeSwitch
public void setModeSwitch() -
setModeZoom
public void setModeZoom() -
getGaussianNumberPlane
-
getTab
-
zoomOut
public void zoomOut() -
getRawResult
public java.lang.Void getRawResult()- Specified by:
getRawResultin classjava.util.concurrent.ForkJoinTask<java.lang.Void>
-
setRawResult
protected void setRawResult(java.lang.Void value)- Specified by:
setRawResultin classjava.util.concurrent.ForkJoinTask<java.lang.Void>
-
exec
protected boolean exec()- Specified by:
execin classjava.util.concurrent.ForkJoinTask<java.lang.Void>
-
start
public void start() -
stop
public void stop()
-