Skip to content

Conversation

JerryVincent
Copy link
Collaborator

Included time constraints for cluster formation. The code now checks the timestamp of the points to define the maximum time difference for the points to be considered part of the same cluster.

@@ -67,19 +80,99 @@ function clusterTripPoints(points: LocationPoint[], distanceThreshold: number, m
return clusters
}

// Calculate cluster center and metadata
function dbscanClusterTripPoints(
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Where is this coming from? Seems to be unused and could be deleted?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants