|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.lmu.ifi.dbs.elki.index.tree.metrical.mtreevariants.mktrees.mkcop.ConvexHull
public class ConvexHull
Holds the lower and upper hull for some values.
Field Summary | |
---|---|
private int |
l
Number of points in lower hull. |
private int[] |
lowerHull
The lower hull. |
private int |
u
Number of points in upper hull. |
private int[] |
upperHull
The upper hull. |
Constructor Summary | |
---|---|
ConvexHull(double[] x,
double[] y)
Creates a new convex hull for the specified distances. |
Method Summary | |
---|---|
private void |
determineLowerAndUpperHull(double[] x,
double[] y)
Computes the lower and upper hull of the specified distances. |
int[] |
getLowerHull()
Returns the lower hull. |
int |
getNumberOfPointsInLowerHull()
Returns the number of points in lower hull |
int |
getNumberOfPointsInUpperHull()
Returns the number of points in upper hull |
int[] |
getUpperHull()
Returns the upper hull. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private int[] lowerHull
private int[] upperHull
private int l
private int u
Constructor Detail |
---|
public ConvexHull(double[] x, double[] y)
x
- the x-values of the points for which the lower and upper hull
should be computedy
- the y-values of the points for which the lower and upper hull
should be computedMethod Detail |
---|
public int[] getLowerHull()
public int[] getUpperHull()
public int getNumberOfPointsInLowerHull()
public int getNumberOfPointsInUpperHull()
private void determineLowerAndUpperHull(double[] x, double[] y)
x
- the x-values of the points for which the lower and upper hull
should be computedy
- the y-values of the points for which the lower and upper hull
should be computed
|
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |