Code Monkey home page Code Monkey logo

mandelbrot-concurrent's Introduction

Mandelbrot - CS361
Brian Jopling, brj33

Description:
    Exports an image of a Mandelbrot.

Input:
    Args:
        -SIZE       (positive integer)[REQUIRED]
        -NUMTHREADS (positive integer)
        -THRESHOLD  (integer)
        -XLO        (double)
        -XHI        (double)
        -YLO        (double)
        -YHI        (double)
        -ITERS      (positive integer)
        -SUFFIX     (String)
    Note: SIZE is the only required arg for this program.
          ITERS corresponds to the # of iterations this
          program will run, defaulting to 1 if unspecified.
          NUMTHREADS will default to 1 if unspecified.
          SUFFIX corresponds to the suffix of the outputted
          filename; it defaults to empty string if unspecified.
          Any other flags left out will assume the value of
          zero, though that may not be optimal.

Output:
    Creates a file named brj33.png after execution.
    If SUFFIX is provided, the filename will be named
    brj33-SUFFIX.png, where SUFFIX corresponds to the
    specified argument.

Usage:
    1. Compile the code using the makefile by running the command:
       $ make
    2. Run the suite of benchmark tests by running the script:
       $ ./benchmark.sh
    3. Be amazed!
    4. [Optional] Run manually:
       $ java -classpath src/main/java/ com.brianjopling.mandelbrot.Main \
         -SIZE 300 -THRESHOLD 300 -XLO -1.5 -XHI 1.5 -YLO -1.5 -YHI 1.5 \
         -ITERS 10 -NUMTHREADS 4 -SUFFIX testing
    5. [Optional] Clean up class files:
       $ make clean



mandelbrot-concurrent's People

Contributors

polyatomicbrian avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.