Function ADS::towers

Function Documentation

inline std::vector<double> ADS::towers(std::vector<double> k, double d)

torri(): the fewest towers such that each house is within d of one

Pre:

d >= 0

Post:

each house within d of a tower