|
KDTreeBaseTNodeNearest Method (Double, Double)
|
Retrieves the nearest points to a given point within a given radius.
Namespace:
Accord.Collections
Assembly:
Accord.MachineLearning (in Accord.MachineLearning.dll) Version: 3.8.0
Syntax public List<NodeDistance<TNode>> Nearest(
double[] position,
double radius
)
Public Function Nearest (
position As Double(),
radius As Double
) As List(Of NodeDistance(Of TNode))
Request Example
View SourceParameters
- position
- Type: SystemDouble
The queried point. - radius
- Type: SystemDouble
The search radius.
Return Value
Type:
ListNodeDistanceTNodeA list of neighbor points, ordered by distance.
See Also