Difference between revisions of "Cholera MapReduce Application"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
+ | [[File:John_Snow_memorial_and_pub.jpg|thumb]] | ||
+ | |||
=Motivation= | =Motivation= | ||
[https://en.wikipedia.org/wiki/Epidemiology Epidemiology is the important study of "why certain people are getting ill."] | [https://en.wikipedia.org/wiki/Epidemiology Epidemiology is the important study of "why certain people are getting ill."] | ||
=Background= | =Background= | ||
− | |||
− | |||
Imagine you are [https://en.wikipedia.org/wiki/John_Snow a physician] in [https://en.wikipedia.org/wiki/1854_Broad_Street_cholera_outbreak 1854 London in the midst of a cholera outbreak]. Your theory that contaminated water is the cause meets resistance from the medical establishment which holds that it is spread via the air. | Imagine you are [https://en.wikipedia.org/wiki/John_Snow a physician] in [https://en.wikipedia.org/wiki/1854_Broad_Street_cholera_outbreak 1854 London in the midst of a cholera outbreak]. Your theory that contaminated water is the cause meets resistance from the medical establishment which holds that it is spread via the air. | ||
Revision as of 20:38, 26 February 2018
Contents
Motivation
Epidemiology is the important study of "why certain people are getting ill."
Background
Imagine you are a physician in 1854 London in the midst of a cholera outbreak. Your theory that contaminated water is the cause meets resistance from the medical establishment which holds that it is spread via the air.
Imagine further that your friend Ada has left you access to computing.
Code To Use
class Location
- double getDistanceTo( Location other )
class CholeraDeath
- Location getLocation()
enum WaterPump
- Location getLocation()
class SohoCholeraOutbreak1854
- static CholeraDeath[] getDeaths()
Code To Implement
class: | CholeraApp.java | |
methods: | getValueRepresentation createMapper createCollector |
|
package: | mapreduce.apps.cholera.studio | |
source folder: | student/src/main/java |
Testing Your Solution
Visualization
class: | CholeraOutbreakVisualizationApp.java | VIZ |
package: | mapreduce.apps.cholera.viz | |
source folder: | student/src//java |
Correctness
class: | CholeraStudioTestSuite.java | |
package: | mapreduce | |
source folder: | testing/src/test/java |