Interface INearestOperation
Assembly: Mars.Core.dll
Syntax
public interface INearestOperation : IOperation, IPlatform, IDisposable
Methods
Nearest(Interfaces.Environments.Position, Int32)
Performs a constrained k-nearest neighbour query from the given source
.
Declaration
IEnumerable<int> Nearest(Interfaces.Environments.Position source, int k)
Parameters
Returns
Type |
Description |
IEnumerable<System.Int32> |
Returns an ordered collection of the k-nearest neighbour data object from the given source .
The first element is the nearest data object.
|