|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.rit.clu.fractal.MSHistogramSeq
public class MSHistogramSeq
Class MSHistogramSeq is a sequential program that calculates a histogram of the Mandelbrot Set.
Usage: java edu.rit.clu.fractal.MSHistogramSeq width height
xcenter ycenter resolution maxiter outfile
width = Image width (pixels)
height = Image height (pixels)
xcenter = X coordinate of center point
ycenter = Y coordinate of center point
resolution = Pixels per unit
maxiter = Maximum number of iterations
outfile = Output file name
The program calculates an iteration count i for each pixel in the same way as the MandelbrotSetSeq program, with 0 <= i <= maxiter. The program prints into the output file a histogram of the i values; that is, for each value of i, how many times that value occurred in the image.
The computation is performed sequentially in a single processor. The program measures the computation's running time, including the time to print the output. This establishes a benchmark for measuring the computation's running time on a parallel processor.
| Method Summary | |
|---|---|
static void |
main(String[] args)
Mandelbrot Set main program. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static void main(String[] args)
throws Exception
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||