vp-tree-0.1.0.1: Vantage Point Trees
Safe HaskellNone
LanguageHaskell2010

Data.VPTree.Query

Contents

Synopsis

Documentation

range Source #

Arguments

:: (Num p, Ord p) 
=> VPTree p a 
-> p

proximity threshold

-> a

query point

-> [(p, a)] 

Range query : find all points in the tree closer to the query point than a given threshold

Utilities

distances Source #

Arguments

:: VPTree b a 
-> a

query

-> [b] 

All distances to a query point