Package elki.index.tree.spatial.kd
Class MemoryKDTree.Factory.Par<O extends NumberVector>
- java.lang.Object
-
- elki.index.tree.spatial.kd.MemoryKDTree.Factory.Par<O>
-
- All Implemented Interfaces:
Parameterizer
- Enclosing class:
- MemoryKDTree.Factory<O extends NumberVector>
public static class MemoryKDTree.Factory.Par<O extends NumberVector> extends java.lang.Object implements Parameterizer
Parameterization class.- Author:
- Erich Schubert
-
-
Field Summary
Fields Modifier and Type Field Description (package private) int
leafsize
Maximum size of leaf nodes.static OptionID
LEAFSIZE_P
Option for setting the maximum leaf size.(package private) SplitStrategy
split
Split stragegystatic OptionID
SPLIT_P
Option for setting the maximum leaf size.
-
Constructor Summary
Constructors Constructor Description Par()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
configure(Parameterization config)
Configure the class.MemoryKDTree.Factory<O>
make()
Make an instance after successful configuration.
-
-
-
Field Detail
-
SPLIT_P
public static final OptionID SPLIT_P
Option for setting the maximum leaf size.
-
LEAFSIZE_P
public static final OptionID LEAFSIZE_P
Option for setting the maximum leaf size.
-
split
SplitStrategy split
Split stragegy
-
leafsize
int leafsize
Maximum size of leaf nodes.
-
-
Method Detail
-
configure
public void configure(Parameterization config)
Description copied from interface:Parameterizer
Configure the class.Note: the status is collected by the parameterization object, so that multiple errors may arise and be reported in one run.
- Specified by:
configure
in interfaceParameterizer
- Parameters:
config
- Parameterization
-
make
public MemoryKDTree.Factory<O> make()
Description copied from interface:Parameterizer
Make an instance after successful configuration.Note: your class should return the exact type, only this very broad interface should use
Object
as return type.- Specified by:
make
in interfaceParameterizer
- Returns:
- a new instance
-
-