Write a combination of high-level design document and pseudocode to pinpoint the offending water pump given the following data:
class Location:
double getDistanceTo(Location
other)
class WaterPump:
Location getLocation()
class CholeraDeath:
Location getLocation()
WaterPump[] waterPumps = {...}
CholeraDeath[] deaths = {...}
|
 |