Fuzzy Iterative Averaging Assignment

From CSE231 Wiki
Revision as of 03:44, 20 April 2020 by Cosgroved (talk | contribs) (Created page with "===FuzzyPhasedParallel=== {{CodeToImplement|FuzzyPhasedParallelIterativeAverager|iterativelyAverage|iterativeaveraging.studio}} {{Parallel|public double[] iterativelyAverage(...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

FuzzyPhasedParallel

class: FuzzyPhasedParallelIterativeAverager.java Java.png
methods: iterativelyAverage
package: iterativeaveraging.studio
source folder: student/src/main/java

method: public double[] iterativelyAverage(double[] originalArray, int iterationCount) Parallel.svg (parallel implementation required)

Which indices must be complete before neighboring tasks can proceed? Which indices have more flexibility?

create phaser
register phaser for each task
parallel loop
    sequential loop
        shared work
        arrive on phaser
        local work
        await advance (must specify the phase) on phaser

Performance

class: IterativeAveragingTiming.java Noun Project stopwatch icon 386232 cc.svg
package: iterativeaveraging.studio
source folder: src/main/java