|
Algorithm Development Kit 1.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectalgs.model.problems.nearestNeighbor.BruteForceNearestNeighbor
public class BruteForceNearestNeighbor
Brute Force implementation of Nearest Neighbor Query.
Constructor Summary | |
---|---|
BruteForceNearestNeighbor(IMultiPoint[] points)
Store all points to compute nearest neighbor queries. |
Method Summary | |
---|---|
IMultiPoint |
nearest(IMultiPoint x)
Return the closest point to x within the input set P. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BruteForceNearestNeighbor(IMultiPoint[] points)
points
- points forming the input set P.Method Detail |
---|
public IMultiPoint nearest(IMultiPoint x)
x
- search point.
|
Algorithm Development Kit 1.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |