Comments (4)
Or even an "infinite" number of dimensions, where all the dimensions beyond the dynamically set dimension of a given Point assumes a default (zero?) value.
from rstar.
I am unsure of the theoretical feasibility of such a data-structure, but r-star knn algorithm gets very slow (slower than linear search) for high-dimensional data (ref), Could you explain your use-case further?
Our current impl. requires the dimension to be known apriori, and also to be a const. (because our trait Point
requires Copy
which also implies const. size). I'm also unsure if any other library supports this.
from rstar.
I have a set of monomials (e.g: { x²y, xz, yz², x³yz⁴}) and I want to quickly find the subset of monomials that divides some other given monomial (e.g: given monomial xyz, from that set, only xz divides it). Using this particular example, the problem is equivalent to having the set of points {(2,1,0), (1,0,1), (0,1,2), (3,1,4)} (each variable is a dimension, the exponents are the coordinates values), and finding what point has all coordinates less than or equal the given point (1,1,1).
The problem here is that the number of variables is unknown beforehand. And yes, it can get very big, so maybe r*-tree is not for me.
from rstar.
I agree with @rmanoka on this one - the rtree is probably going to be too slow for this use case if the number of dimensions is too high.
Also, dropping Copy
for point types would really hurt our maintenance for little gain.
Closing as this isn't likely to be implemented.
from rstar.
Related Issues (20)
- Question: Why there is parameters verification that point dimension must be at least 2? HOT 4
- Panic after inserting `Rectangle` with NaN to `RTree`
- Implement `IntoIterator` for `RTree` HOT 2
- Implement nearest_neighbour_mut HOT 1
- Envelope on Point<f32> fails since v0.10 HOT 9
- Why must point scalars be signed? HOT 9
- Discussion: Flat representation of R-tree HOT 1
- Clarify nearest_neighbors() method HOT 2
- Can I use rstar for geographic points & use a great circle distance? HOT 7
- `attempt to multiply with overflow` when using `i32` HOT 22
- attempt to add with overflow HOT 6
- Enable merge queues and CI runs for PR
- Need to use different types for Point::Scalar and square HOT 1
- rstar with u32, u64, ... HOT 2
- Hash not implemented
- Rectangle does not implement Hash
- New release? HOT 2
- Move PointExt::new to Point HOT 4
- Documentation about bulk load HOT 5
- rstar not listed on https://georust.org/ HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rstar.