Class FileOrderBulkSplit
- java.lang.Object
-
- elki.index.tree.spatial.rstarvariants.strategies.bulk.AbstractBulkSplit
-
- elki.index.tree.spatial.rstarvariants.strategies.bulk.FileOrderBulkSplit
-
- All Implemented Interfaces:
BulkSplit
public class FileOrderBulkSplit extends AbstractBulkSplit
Trivial bulk loading - assumes that the file has been appropriately sorted before.- Since:
- 0.5.0
- Author:
- Erich Schubert
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FileOrderBulkSplit.Par
Parameterization class.
-
Field Summary
Fields Modifier and Type Field Description static FileOrderBulkSplit
STATIC
Static instance
-
Constructor Summary
Constructors Modifier Constructor Description protected
FileOrderBulkSplit()
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T extends SpatialComparable>
java.util.List<java.util.List<T>>partition(java.util.List<T> spatialObjects, int minEntries, int maxEntries)
Partitions the specified feature vectors-
Methods inherited from class elki.index.tree.spatial.rstarvariants.strategies.bulk.AbstractBulkSplit
chooseBulkSplitPoint, trivialPartition
-
-
-
-
Field Detail
-
STATIC
public static final FileOrderBulkSplit STATIC
Static instance
-
-
Method Detail
-
partition
public <T extends SpatialComparable> java.util.List<java.util.List<T>> partition(java.util.List<T> spatialObjects, int minEntries, int maxEntries)
Description copied from interface:BulkSplit
Partitions the specified feature vectors- Type Parameters:
T
- actual type we split- Parameters:
spatialObjects
- the spatial objects to be partitionedminEntries
- the minimum number of entries in a partitionmaxEntries
- the maximum number of entries in a partition- Returns:
- the partition of the specified spatial objects
-
-