|
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.kdtree.TwoDFactory
public class TwoDFactory
Produces a TwoD-tree from a given input set using recursive median approach.
Constructor Summary | |
---|---|
TwoDFactory()
|
Method Summary | |
---|---|
static TwoDTree |
generate(IPoint[] points)
Generate a TwoDTree from the given array of points. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TwoDFactory()
Method Detail |
---|
public static TwoDTree generate(IPoint[] points)
If points is null, then return null since the dimensionality is unknown.
All points must have the same dimensionality, otherwise strange behavior may occur. Also, this method is not re-entrant, since the comparators array is regenerated upon each invocation, thus we mark the method as 'synchronized'.
points
-
|
Algorithm Development Kit 1.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |