lmdk_lib: OCD

This commit is contained in:
Manos Katsomallos 2021-09-29 00:54:08 +02:00
parent 7d4865d5d1
commit b408b55d56

View File

@ -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),