public class MaxExtensionBulkSplit extends AbstractBulkSplit
Modifier and Type | Class and Description |
---|---|
static class |
MaxExtensionBulkSplit.Parameterizer
Parameterization class.
|
Modifier and Type | Field and Description |
---|---|
private static Logging |
logger
Logger.
|
static MaxExtensionBulkSplit |
STATIC
Static instance
|
Constructor and Description |
---|
MaxExtensionBulkSplit()
Constructor
|
Modifier and Type | Method and Description |
---|---|
private int |
chooseMaximalExtendedSplitAxis(List<? extends SpatialComparable> objects)
Computes and returns the best split axis.
|
<N extends SpatialComparable> |
partition(List<N> spatialObjects,
int minEntries,
int maxEntries)
Partitions the specified feature vectors where the split axes are the
dimensions with maximum extension.
|
chooseBulkSplitPoint, trivialPartition
private static final Logging logger
public static final MaxExtensionBulkSplit STATIC
public <N extends SpatialComparable> List<List<N>> partition(List<N> spatialObjects, int minEntries, int maxEntries)
N
- actual type we splitspatialObjects
- the spatial objects to be partitionedminEntries
- the minimum number of entries in a partitionmaxEntries
- the maximum number of entries in a partitionprivate int chooseMaximalExtendedSplitAxis(List<? extends SpatialComparable> objects)
objects
- the spatial objects to be split