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.

Project Activity

See All Activity >

Follow VPTree

VPTree Web Site

Other Useful Business Software
AI-powered service management for IT and enterprise teams Icon
AI-powered service management for IT and enterprise teams

Enterprise-grade ITSM, for every business

Give your IT, operations, and business teams the ability to deliver exceptional services—without the complexity. Maximize operational efficiency with refreshingly simple, AI-powered Freshservice.
Try it Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of VPTree!

Additional Project Details

Registered

2019-12-04