Skip to content

Conversation

@ilyabo
Copy link

@ilyabo ilyabo commented Mar 26, 2019

Supercluster assumes that all the input points are of the same weight 1. There are cases though in which it is desirable to assign varying initial weights to them. E.g. in this case the points have masses calculated as the sums of the magnitudes of their incoming/outgoing flows. Larger locations (e.g. Sydney) should have more inertia so that they are not moved too far when clustered with smaller ones. The PR addresses this by adding support for the optional weight property in the input points.

@asheemmamoowala asheemmamoowala changed the base branch from master to main June 19, 2020 17:53
jonkan added a commit to jonkan/supercluster that referenced this pull request Aug 18, 2023
jonkan added a commit to jonkan/supercluster that referenced this pull request Aug 18, 2023
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.

1 participant