Examples of VPTree


Examples of edu.mit.simile.vicino.vptree.VPTree

        List<String> strings = getStrings(args[1]);
        log("Obtained " + strings.size() + " from " + args[1]);

        log("Building VPTree...");
        VPTreeBuilder builder = new VPTreeBuilder(d);
        VPTree tree = builder.buildVPTree(strings);
        log("..done");

        VPTreeSeeker seeker = new VPTreeSeeker(d, tree);

        log("type a string|range then hit return:");
View Full Code Here

Examples of edu.mit.simile.vicino.vptree.VPTree

    public void populate(String s) {
        _treeBuilder.populate(s);
    }
   
    public List<Set<Serializable>> getClusters(double radius) {
        VPTree tree = _treeBuilder.buildVPTree();
        System.out.println("distances after the tree: " + _distance.getCount());
        Set<Node> nodes = _treeBuilder.getNodes();
       
        VPTreeSeeker seeker = new VPTreeSeeker(_distance,tree);
        Map<Serializable,Boolean> flags = new HashMap<Serializable,Boolean>();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.