portfolio / threads
README.md

NOTE: This program was developed as part of a graduate-level project while earning my M.S. in Computer Science at the University of West Florida.

Main Driver class for Collatz Sequence Project:

This program utilizes Threads to generate a Collatz sequence for numbers 2 to N and calculates the frequency of Collatz Stopping Times.

Within the directory /threads/src/main/java, enter "java driver/CollatzSeq" along with the command-line arguments described below.

This program requires two command-line arguments:

  1. The range (N) to generate the sequence for and
  2. the number of threads to use.

EXAMPLE

To run the program for N=10 using 4 threads, enter the following: java driver/CollatzSeq 10 4