|
|
|||||||||||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||||||||||
java.lang.Objectde.lmu.ifi.dbs.elki.index.tree.spatial.BulkSplit<N>
N - object typepublic class BulkSplit<N extends SpatialObject>
Encapsulates the required parameters for a bulk split of a spatial index.
| Nested Class Summary | |
|---|---|
static class |
BulkSplit.Strategy
Available strategies for bulk loading. |
| Field Summary | |
|---|---|
private static Logging |
logger
|
| Constructor Summary | |
|---|---|
BulkSplit()
Constructor |
|
| Method Summary | |
|---|---|
private int |
chooseBulkSplitPoint(int numEntries,
int minEntries,
int maxEntries)
Computes and returns the best split point. |
private int |
chooseMaximalExtendedSplitAxis(List<N> objects)
Computes and returns the best split axis. |
private List<List<N>> |
maximalExtensionPartition(List<N> spatialObjects,
int minEntries,
int maxEntries)
Partitions the specified feature vectors where the split axes are the dimensions with maximum extension |
List<List<N>> |
partition(List<N> spatialObjects,
int minEntries,
int maxEntries,
BulkSplit.Strategy strategy)
Partitions the specified feature vectors according to the chosen strategy. |
private List<List<N>> |
zValuePartition(List<N> spatialObjects,
int minEntries,
int maxEntries)
Partitions the spatial objects according to their z-values. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private static Logging logger
| Constructor Detail |
|---|
public BulkSplit()
| Method Detail |
|---|
public List<List<N>> partition(List<N> spatialObjects,
int minEntries,
int maxEntries,
BulkSplit.Strategy strategy)
spatialObjects - the spatial objects to be partitionedminEntries - the minimum number of entries in a partitionmaxEntries - the maximum number of entries in a partitionstrategy - the bulk load strategy
private List<List<N>> maximalExtensionPartition(List<N> spatialObjects,
int minEntries,
int maxEntries)
spatialObjects - the spatial objects to be partitionedminEntries - the minimum number of entries in a partitionmaxEntries - the maximum number of entries in a partition
private List<List<N>> zValuePartition(List<N> spatialObjects,
int minEntries,
int maxEntries)
spatialObjects - the spatial objects to be partitionedminEntries - the minimum number of entries in a partitionmaxEntries - the maximum number of entries in a partition
private int chooseMaximalExtendedSplitAxis(List<N> objects)
objects - the spatial objects to be split
private int chooseBulkSplitPoint(int numEntries,
int minEntries,
int maxEntries)
numEntries - the number of entries to be splitminEntries - the number of minimum entries in the node to be splitmaxEntries - number of maximum entries in the node to be split
|
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||