Giter Site home page Giter Site logo

pderkowski / vptree Goto Github PK

View Code? Open in Web Editor NEW
16.0 4.0 4.0 29 KB

C++ Vantage Point Tree implementation with Python bindings

License: MIT License

CMake 6.22% C++ 70.31% Python 23.47%
nearest-neighbor-search nearest-neighbors nearest-neighbours c-plus-plus vantage-point-tree vp-tree

vptree's People

Contributors

pderkowski avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

vptree's Issues

vptree default constructor/vptree reinitialization

Hello! I am working on an application requiring a vptree. I only want to initialize the vptree once within a particular method and then use the tree repeatedly within another method. This requires that I declare the vptree within the class's definition. This in turn requires that the vptree have a default constructor. I was wondering if it would be possible to implement this.

If not, is there any way you can include a method within the vptree class definition which allows the tree to be reinitialized using a different array?

Thank you!

function in namespace std does not name a template type

If I try to compile the python bindings using the recommended instructions on a stock Ubuntu 18.04 install [after installing necessary dependencies], I get the error mentioned in the title. Luckily, there seems to be an easy fix -- throw in an #include<functional> to the top of vptree.hpp.

How about an AVX version ?

Any chance you would be interested in a AVX extension ? Maybe not because one can't really linearize the VP tree.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.