diff --git a/code/lib/lmdk_lib.py b/code/lib/lmdk_lib.py index 356f69a..d34ed17 100644 --- a/code/lib/lmdk_lib.py +++ b/code/lib/lmdk_lib.py @@ -31,12 +31,10 @@ def add_polar_noise(loc, epsilon): [https://github.com/chatziko/location-guard/blob/master/src/js/common/laplace.js] Parameters: - loc - The original location - loc - The original location - loc - The original location - epsilon - The privacy budget + loc - The original location. + epsilon - The privacy budget. Returns: - The perturbed location (lat, lng) + The perturbed location (lat, lng). ''' # The bearing in radians. # Random number in [0, 2*pi),