How to use:
1-Create a class that inherits vptree.Point
2-Create vptree.VPTree
3-Add points to VPTree by using VPTree.addPoint
4-Call VPTree.mount
5-Search points near to a point of interest by using VPTree.searchNodes, this method returns nodes that contains points.
6-For each node, get the points by calling vptree.Node.getPoints.
Restrictions:
1-You can add point to the tree, but can not remove them
2-After you mount the tree, the statistics will not be calculated again. If the tree becomes unbalanced, you must recreate it.
Use vptree.VPTree.calculateStats.toString() to check the statistics.
Follow VPTree
Other Useful Business Software
$300 Free Credits for Your Google Cloud Projects
Launch your next project with $300 in free Google Cloud credits—no strings attached. Test, build, and deploy without risk. Use your credits across the entire Google Cloud platform to find what works best for your needs. After your credits are used, continue with always-free tier services. Only pay when you're ready to scale. Sign up in minutes and start exploring.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of VPTree!