public static class ExtendedNeighborhood.Factory<O> extends AbstractPrecomputedNeighborhood.Factory<O>
Modifier and Type | Class and Description |
---|---|
static class |
ExtendedNeighborhood.Factory.Parameterizer<O>
Parameterization class.
|
Modifier and Type | Field and Description |
---|---|
private NeighborSetPredicate.Factory<O> |
inner
Inner neighbor set predicate
|
private int |
steps
Number of steps to do
|
Constructor and Description |
---|
Factory(NeighborSetPredicate.Factory<O> inner,
int steps)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
private DataStore<DBIDs> |
extendNeighborhood(Database database,
Relation<? extends O> relation)
Method to load the external neighbors.
|
TypeInformation |
getInputTypeRestriction()
Get the input type information
|
NeighborSetPredicate |
instantiate(Database database,
Relation<? extends O> relation)
Instantiation method.
|
private NeighborSetPredicate.Factory<O> inner
private int steps
public Factory(NeighborSetPredicate.Factory<O> inner, int steps)
inner
- Inner neighbor set predicatesteps
- Number of steps to dopublic NeighborSetPredicate instantiate(Database database, Relation<? extends O> relation)
NeighborSetPredicate.Factory
database
- Databaserelation
- Relation to instantiate for.public TypeInformation getInputTypeRestriction()
NeighborSetPredicate.Factory
Copyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.