Package | Description |
---|---|
org.openimaj.util.pair | |
org.openimaj.util.tree |
Modifier and Type | Field and Description |
---|---|
static Comparator<IntShortPair> |
IntShortPair.FIRST_ITEM_ASCENDING_COMPARATOR
Comparator for comparing the first element of a
IntShortPair in ascending order. |
static Comparator<IntShortPair> |
IntShortPair.FIRST_ITEM_DESCENDING_COMPARATOR
Comparator for comparing the first element of a
IntShortPair in descending order. |
static Comparator<IntShortPair> |
IntShortPair.SECOND_ITEM_ASCENDING_COMPARATOR
Comparator for comparing the second element of a
IntShortPair in ascending order. |
static Comparator<IntShortPair> |
IntShortPair.SECOND_ITEM_DESCENDING_COMPARATOR
Comparator for comparing the second element of a
IntShortPair in descending order. |
Modifier and Type | Method and Description |
---|---|
static IntShortPair |
IntShortPair.pair(int a,
short b)
Create a pair from the given values.
|
Modifier and Type | Method and Description |
---|---|
static gnu.trove.list.array.TIntArrayList |
IntShortPair.getFirst(Iterable<IntShortPair> data)
Extract the first values from a list of pairs.
|
static gnu.trove.list.array.TShortArrayList |
IntShortPair.getSecond(Iterable<IntShortPair> data)
Extract the second values from a list of pairs.
|
Modifier and Type | Method and Description |
---|---|
IntShortPair |
ShortKDTree.SplitChooser.chooseSplit(short[][] pnts,
IntArrayView inds,
int depth,
short[] minBounds,
short[] maxBounds)
Choose the dimension and discriminant on which to split the data.
|
IntShortPair |
ShortKDTree.BasicMedianSplit.chooseSplit(short[][] pnts,
IntArrayView inds,
int depth,
short[] minBounds,
short[] maxBounds) |
IntShortPair |
ShortKDTree.BBFMedianSplit.chooseSplit(short[][] pnts,
IntArrayView inds,
int depth,
short[] minBounds,
short[] maxBounds) |
IntShortPair |
ShortKDTree.ApproximateBBFMedianSplit.chooseSplit(short[][] pnts,
IntArrayView inds,
int depth,
short[] minBounds,
short[] maxBounds) |
IntShortPair |
ShortKDTree.RandomisedBBFMeanSplit.chooseSplit(short[][] pnts,
IntArrayView inds,
int depth,
short[] minBounds,
short[] maxBounds) |