summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnson Bridges <bridges.anson@gmail.com>2024-11-16 08:48:54 -0500
committerAnson Bridges <bridges.anson@gmail.com>2024-11-16 08:48:54 -0500
commit077c5ce0f1bcd55fb2d30e33b33b59bddb0c3dd5 (patch)
tree098b38df71c6cda8139cac8fd9fb66ea2f4bfc00
parent12bc130fc15f539d8e953a1acf1542c24f7522b4 (diff)
less sensitive, no loop
-rw-r--r--dashboard_website/router.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/dashboard_website/router.py b/dashboard_website/router.py
index 122f767..731362a 100644
--- a/dashboard_website/router.py
+++ b/dashboard_website/router.py
@@ -72,7 +72,7 @@ def getClusters(bikes, clues, endpoint, minimal=True):
# utility functions (internal)
def cluster_and_optimize(
- clues: [Clue], bikes: [Bike], end: Point, minimal : bool, time_diff=0.25
+ clues: [Clue], bikes: [Bike], end: Point, minimal : bool, time_diff=0.75
):
"""
Takes a dataframe of gps coordinates, a list of centroids, and an end point and returns a dataframe with a cluster