KdTree
Namespace: FSharpAux
Module for k -dimension trees
Nested types and modules
Functions and values
Function or value | Description |
ofArrayBy(...)
Signature: converter:('dataRecord -> 'coordinates) -> getCoordinateByPos:('coordinates -> int -> 'coordinate) -> k:int -> arr:'dataRecord [] -> KdTree<'dataRecord,'coordinates>
Type parameters: 'dataRecord, 'coordinates, 'coordinate
|
Create KD Tree from list
|
print(kdTree)
Signature: kdTree:KdTree<'a,'b> -> seq<string>
Type parameters: 'a, 'b
|
Prints kd tree
|
rangeSearch(...)
Signature: distance:Distance<'coordinates> -> getCoordinateByPos:('coordinates -> int -> float) -> tree:KdTree<'dataRecord,'coordinates> -> radius:float -> queryCoordinates:'coordinates -> 'dataRecord list
Type parameters: 'coordinates, 'dataRecord
|
Searches query coordinates within a given radius
|
toList(tree)
Signature: tree:KdTree<'a,'b> -> 'a list
Type parameters: 'a, 'b
|
Flattens KdTree
|