Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mikolalysenko/static-range-query

Static range trees in JavaScript
https://github.com/mikolalysenko/static-range-query

Last synced: about 2 months ago
JSON representation

Static range trees in JavaScript

Awesome Lists containing this project

README

        

static-range-query
==================
Given a collection of points in n-dimensional space, preprocesses these points so that orthogonal range queries can be computed efficiently. Internally, this library is built using range trees.

# Example

```javascript
var preprocess = require("static-range-query")

//Generate 10000 3D points
var D = 3, N = 10000
var points = new Array(N)
for(var i=0; i