Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Geocluster does not return same object for same initial parameters #4
I was hoping to use this library in order to create the clusters that I wanted on my map. But the problem is that with the same elements and bias the geocluster does not return the same set of clusters, I ran it many times and each time there were some differences. Then I noticed the you are using Math.random() to initialize the initial cluster map. Maybe this is the problem? Is there any way to solve this and get the same exact results for the same initial parameters?