public class MaxExtensionBulkSplit extends AbstractBulkSplit
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
private static final Logging logger
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